meson.build 480 B

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