mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-26 16:06:52 +00:00
docs: Add a way to specify extra_assets path for plugins doc
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8545>
This commit is contained in:
parent
2e8b542145
commit
ff15682f0a
1 changed files with 2 additions and 0 deletions
|
@ -246,6 +246,7 @@ class GstPluginsHotdocConfGen:
|
||||||
parser.add_argument('--gst_c_source_filters', nargs='*', default=[])
|
parser.add_argument('--gst_c_source_filters', nargs='*', default=[])
|
||||||
parser.add_argument('--gst_c_source_file', type=P)
|
parser.add_argument('--gst_c_source_file', type=P)
|
||||||
parser.add_argument('--gst_plugin_libraries_file', type=P)
|
parser.add_argument('--gst_plugin_libraries_file', type=P)
|
||||||
|
parser.add_argument('--extra_assets', nargs='*', default=[])
|
||||||
parser.add_argument('--output', type=P)
|
parser.add_argument('--output', type=P)
|
||||||
|
|
||||||
parser.parse_args(namespace=self, args=sys.argv[2:])
|
parser.parse_args(namespace=self, args=sys.argv[2:])
|
||||||
|
@ -296,6 +297,7 @@ class GstPluginsHotdocConfGen:
|
||||||
'include_paths': self.include_paths,
|
'include_paths': self.include_paths,
|
||||||
'gst_order_generated_subpages': True,
|
'gst_order_generated_subpages': True,
|
||||||
'gst_plugin_library': gst_plugin_libraries_map.get(plugin_name),
|
'gst_plugin_library': gst_plugin_libraries_map.get(plugin_name),
|
||||||
|
'extra_assets': self.extra_assets
|
||||||
}, f, indent=4)
|
}, f, indent=4)
|
||||||
|
|
||||||
if self.output is not None:
|
if self.output is not None:
|
||||||
|
|
Loading…
Reference in a new issue