Commit e085b455 authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

Add template files to handle language in tutorials

Part-of: <gstreamer/gst-docs!124>
parent df3a6542
{{ JS.md }}
> ![Warning](images/icons/emoticons/warning.svg) **Please port this tutorial to javascript!**
{{ END_LANG.md }}
{{ PY.md }}
> ![Warning](images/icons/emoticons/warning.svg) **Please port this tutorial to python!**
{{ END_LANG.md }}
<div class="gi-symbol-c gi-symbol-javascript">
<div class="gi-symbol-c gi-symbol-python">
<div class="gi-symbol-c">
</div> <!-- LANGUAGE -->
<div class="gi-symbol-javascript">
<div class="gi-symbol-python">
......@@ -106,7 +106,12 @@ gstreamer_doc = hotdoc.generate_doc('GStreamer',
extra_assets: [join_paths(meson.current_source_dir(), 'images')],
syntax_highlighting_activate: true,
html_theme: html_theme,
include_paths: join_paths(meson.current_source_dir(), 'examples'),
include_paths: [
meson.current_source_dir() / 'examples',
meson.current_source_dir() / 'markdown' / 'tutorials' / 'basic',
meson.current_source_dir() / 'markdown' / 'templates',
meson.current_source_dir() / 'markdown' / 'tutorials' / 'playback',
],
html_extra_theme: join_paths(meson.current_source_dir(), 'theme/extra'),
dependencies: deps,
subprojects: hotdoc_subprojects,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment