docs: unprefix subproject paths

special case for app, renamed to applib to not conflict
with the plugin
This commit is contained in:
Mathieu Duponchelle 2019-06-01 01:00:06 +02:00
parent d98835fdef
commit e3e5ccdb08

View file

@ -111,7 +111,8 @@ foreach lib: libs
if lib.length() >= 4 if lib.length() >= 4
extra_sources = lib[3] extra_sources = lib[3]
endif endif
libs_doc += [hotdoc.generate_doc('gst-plugins-base-' + name, project_name = name == 'app' ? 'applib': name
libs_doc += [hotdoc.generate_doc(project_name,
project_version: api_version, project_version: api_version,
gi_c_sources: [join_paths('../gst-libs/gst', name, '*.[hc]')] + extra_sources, gi_c_sources: [join_paths('../gst-libs/gst', name, '*.[hc]')] + extra_sources,
gi_sources: gir[0].full_path(), gi_sources: gir[0].full_path(),
@ -133,7 +134,7 @@ if not hotdoc.has_extensions('c-extension')
endif endif
message('c-extension not found, not building documentation') message('c-extension not found, not building documentation')
else else
libs_doc += [hotdoc.generate_doc('gst-plugins-base-riff', libs_doc += [hotdoc.generate_doc('riff',
project_version: api_version, project_version: api_version,
c_sources: ['../gst-libs/gst/riff/*.[hc]'], c_sources: ['../gst-libs/gst/riff/*.[hc]'],
c_source_filters: libs_excludes, c_source_filters: libs_excludes,