blob: a09bff08d4583ab5ffc31575068f6991b111de9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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')
|