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