diff options
Diffstat (limited to 'meson/test cases/frameworks/23 hotdoc/doc')
-rw-r--r-- | meson/test cases/frameworks/23 hotdoc/doc/index.md | 1 | ||||
-rw-r--r-- | meson/test cases/frameworks/23 hotdoc/doc/meson.build | 19 | ||||
-rw-r--r-- | meson/test cases/frameworks/23 hotdoc/doc/sitemap.txt | 3 |
3 files changed, 23 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/23 hotdoc/doc/index.md b/meson/test cases/frameworks/23 hotdoc/doc/index.md new file mode 100644 index 000000000..ea5eeb106 --- /dev/null +++ b/meson/test cases/frameworks/23 hotdoc/doc/index.md @@ -0,0 +1 @@ +# Hello world! diff --git a/meson/test cases/frameworks/23 hotdoc/doc/meson.build b/meson/test cases/frameworks/23 hotdoc/doc/meson.build new file mode 100644 index 000000000..a09bff08d --- /dev/null +++ b/meson/test cases/frameworks/23 hotdoc/doc/meson.build @@ -0,0 +1,19 @@ +hotdoc = import('hotdoc') + +target = hotdoc.generate_doc( + 'foobar', + c_smart_index: true, + project_version: '0.1', + sitemap: 'sitemap.txt', + index: 'index.md', + c_sources: files('../../10 gtk-doc/include/foo.h'), + languages: ['c'], + install: true, +) + +assert(target.config_path() == target.full_path() + '.json', + 'Hotdoc config paths do not match.' +) + +assert(hotdoc.has_extensions('search') == true, + 'Extension "search" provided by hotdoc core should always be found') diff --git a/meson/test cases/frameworks/23 hotdoc/doc/sitemap.txt b/meson/test cases/frameworks/23 hotdoc/doc/sitemap.txt new file mode 100644 index 000000000..b82354a1d --- /dev/null +++ b/meson/test cases/frameworks/23 hotdoc/doc/sitemap.txt @@ -0,0 +1,3 @@ +index.md + c-index + |