Commit 18ef7bb8 authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣
Browse files

generate: Pre-process extra content files

Until we move all content files away from gtk-doc'icisms, we need to
pre-process them too.
parent 12b778f9
......@@ -1012,7 +1012,7 @@ def gen_reference(config, options, repository, templates_dir, theme_config, cont
source += [line]
src_data = "".join(source)
dst_data = markdown.markdown(src_data, extensions=['fenced_code'])
dst_data = preprocess_gtkdoc(src_data)
with open(dst, "w") as outfile:
outfile.write(content_tmpl.render({
"CONFIG": config,
......
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