aboutsummaryrefslogtreecommitdiff
path: root/_doc/example/sub
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-23 19:26:29 +0700
committerShulhan <ms@kilabit.info>2026-01-24 07:11:24 +0700
commitbd65f02acbd18532342f18e65e86edd1a2062e1c (patch)
treea14cd70acdb84fd447c1ba3629453a073c200d59 /_doc/example/sub
parent62c2e03409e8f7bc6f3f20df36603344afaf2b3a (diff)
downloadciigo-bd65f02acbd18532342f18e65e86edd1a2062e1c.tar.xz
all: move _example/ directory under _doc/ directory
This allow us to inspect the example using the serve-doc task, along with the content of _doc/.
Diffstat (limited to '_doc/example/sub')
-rw-r--r--_doc/example/sub/custom.css6
-rw-r--r--_doc/example/sub/index.adoc9
2 files changed, 15 insertions, 0 deletions
diff --git a/_doc/example/sub/custom.css b/_doc/example/sub/custom.css
new file mode 100644
index 0000000..c113fea
--- /dev/null
+++ b/_doc/example/sub/custom.css
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+/* SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info> */
+
+h1 {
+ color: sienna;
+}
diff --git a/_doc/example/sub/index.adoc b/_doc/example/sub/index.adoc
new file mode 100644
index 0000000..a28cb80
--- /dev/null
+++ b/_doc/example/sub/index.adoc
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2020 Shulhan <ms@kilabit.info>
+
+= Sub directory
+Second Author <m.shulhan@gmail.com>
+24 November 2020
+:stylesheet: custom.css
+
+This is an example of content in sub directory using custom stylesheet.