sitemap: make the root a gi index

Thanks to that, gtk-doc links (taken from devhelp), are resolved
correctly when gst-docs is built on its own.
This commit is contained in:
Mathieu Duponchelle 2019-11-04 17:01:57 +01:00 committed by Mathieu Duponchelle
parent a60309a52d
commit b135df3738

View file

@ -47,7 +47,7 @@ else
endif endif
sitemap_gen = find_program('scripts/generate_sitemap.py') sitemap_gen = find_program('scripts/generate_sitemap.py')
sitemap = configure_file(command: [sitemap_gen, '@INPUT@', '@OUTPUT@', sitemap = configure_file(command: [sitemap_gen, '@INPUT@', '@OUTPUT@',
index.split('/')[1], libs, plugins_doc], 'gi-index', libs, plugins_doc],
input: 'sitemap.txt', input: 'sitemap.txt',
output: 'sitemap.txt') output: 'sitemap.txt')
@ -57,6 +57,7 @@ gstreamer_doc = hotdoc.generate_doc('GStreamer',
project_version: apiversion, project_version: apiversion,
sitemap: sitemap, sitemap: sitemap,
index: index, index: index,
gi_index: index,
install: true, install: true,
extra_assets: [join_paths(meson.current_source_dir(), 'images')], extra_assets: [join_paths(meson.current_source_dir(), 'images')],
syntax_highlighting_activate: true, syntax_highlighting_activate: true,