meson.build 742 B

12345678910111213141516171819202122
  1. project('Meson documentation', version: '1.0')
  2. hotdoc = import('hotdoc')
  3. documentation = hotdoc.generate_doc(meson.project_name(),
  4. project_version: meson.project_version(),
  5. sitemap: 'sitemap.txt',
  6. build_by_default: true,
  7. index: 'markdown/index.md',
  8. install: false,
  9. extra_assets: ['images/'],
  10. include_paths: ['markdown'],
  11. default_license: 'CC-BY-SAv4.0',
  12. html_extra_theme: join_paths('theme', 'extra'),
  13. git_upload_repository: 'git@github.com:jpakkane/jpakkane.github.io.git',
  14. edit_on_github_repository: 'https://github.com/mesonbuild/meson/',
  15. syntax_highlighting_activate: true,
  16. )
  17. run_target('upload',
  18. command: [find_program('hotdoc'), 'run', '--conf-file', documentation.config_path()]
  19. )