Debian Codegraph @

vendored-meson/meson/test cases/frameworks/23 hotdoc/doc/meson.build

raw
1 hotdoc = import('hotdoc')
2
3 target = hotdoc.generate_doc(
4 'foobar',
5 c_smart_index: true,
6 project_version: '0.1',
7 sitemap: 'sitemap.txt',
8 index: 'index.md',
9 c_sources: files('../../10 gtk-doc/include/foo.h'),
10 languages: ['c'],
11 install: true,
12 )
13
14 assert(target.config_path() == target.full_path() + '.json',
15 'Hotdoc config paths do not match.'
16 )
17
18 assert(hotdoc.has_extensions('search') == true,
19 'Extension "search" provided by hotdoc core should always be found')