aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-08-29 21:18:26 +0300
committerGitHub <noreply@github.com>2018-08-29 21:18:26 +0300
commitb86f2fd17f1f0825e16b1df2b1f3f598c0d77b85 (patch)
treee005f958d9a87590fc0a05c88314ed0f160b10a6 /docs/markdown/snippets
parent28c1f31d7e2b46a8473d8ebe8f029fb7602fde09 (diff)
parent1ea743a0bfd5ab3ab74009fdd0fb2db64e8e79d8 (diff)
downloadmeson-b86f2fd17f1f0825e16b1df2b1f3f598c0d77b85.zip
meson-b86f2fd17f1f0825e16b1df2b1f3f598c0d77b85.tar.gz
meson-b86f2fd17f1f0825e16b1df2b1f3f598c0d77b85.tar.bz2
Merge pull request #4016 from thiblahute/hotdoc
modules: Add an 'hotdoc' module
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/hotdoc_module.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/markdown/snippets/hotdoc_module.md b/docs/markdown/snippets/hotdoc_module.md
new file mode 100644
index 0000000..4662ea2
--- /dev/null
+++ b/docs/markdown/snippets/hotdoc_module.md
@@ -0,0 +1,22 @@
+## Hotdoc module
+
+A new module has been written to ease generation of [hotdoc](https://hotdoc.github.io/) based
+documentation. It supports complex use cases such as hotdoc subprojects (to create documentation
+portals) and makes it straight forward to leverage full capabilities of hotdoc.
+
+Simple usage:
+
+``` meson
+hotdoc = import('hotdoc')
+
+hotdoc.generate_doc(
+ 'foobar',
+ c_smart_index: true,
+ project_version: '0.1',
+ sitemap: 'sitemap.txt',
+ index: 'index.md',
+ c_sources: ['path/to/file.c'],
+ languages: ['c'],
+ install: true,
+)
+``` \ No newline at end of file