[gtk/doc-links: 2/6] docs: Tell pandoc we need Docbook4
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/doc-links: 2/6] docs: Tell pandoc we need Docbook4
- Date: Mon, 3 Aug 2020 23:47:29 +0000 (UTC)
commit 70b0bdd5e362725954d1a19bab027edaacbd9cdd
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 3 16:53:44 2020 -0400
docs: Tell pandoc we need Docbook4
gtk-doc assumes Docbook4, with <ulink> and so on.
Without this, all the links in markdown are converted
to <link xlink:href=...> and then lost in the docbook->html
conversion.
docs/reference/gtk/gtk-markdown-to-docbook | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/reference/gtk/gtk-markdown-to-docbook b/docs/reference/gtk/gtk-markdown-to-docbook
index a278b8b583..d25e6d52ea 100755
--- a/docs/reference/gtk/gtk-markdown-to-docbook
+++ b/docs/reference/gtk/gtk-markdown-to-docbook
@@ -180,7 +180,7 @@ def ConvertToDocbook(infile, outfile):
else:
division='chapter'
input_format = "markdown" + "".join(MarkdownExtensions)
- output_format = "docbook"
+ output_format = "docbook4"
subprocess.check_call(["pandoc", infile, "-o", outfile,
"--from=" + input_format,
"--to=" + output_format,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]