diff --git a/subprojects/gstreamer/docs/gst-plugins-doc-cache-generator.py b/subprojects/gstreamer/docs/gst-plugins-doc-cache-generator.py index e2928fa9d9..f1ba9256d8 100755 --- a/subprojects/gstreamer/docs/gst-plugins-doc-cache-generator.py +++ b/subprojects/gstreamer/docs/gst-plugins-doc-cache-generator.py @@ -155,7 +155,6 @@ class GstLibsHotdocConfGen: project_name = PROJECT_NAME_MAP.get(libname, libname) conf_path = self.builddir / f'{project_name}-doc.json' - conf_files.append(str(conf_path)) index_path = os.path.join(self.source_root, 'index.md') if not os.path.exists(index_path): @@ -171,7 +170,6 @@ class GstLibsHotdocConfGen: if not os.path.exists(c_index_path): c_index_path = index_path - try: if libname == 'adaptivedemux': c_flags = get_c_flags(f'gstreamer-base-{self.project_version}', self.buildroot) @@ -216,6 +214,8 @@ class GstLibsHotdocConfGen: with conf_path.open('w') as f: json.dump(conf, f, indent=4) + conf_files.append(str(conf_path)) + if self.output is not None: with self.output.open('w') as f: