summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2020-11-13 13:48:49 +0100
committerPaul Holzinger <paul.holzinger@web.de>2020-11-13 16:42:13 +0100
commit80b613d2376dec453e041a4afd5570d710f93b28 (patch)
tree942c3be675a901da625a24acd4ced7f4f5a3e378 /docs/source
parent0b1a60ec27928a40ac827148c1517098612616bd (diff)
downloadpodman-80b613d2376dec453e041a4afd5570d710f93b28.tar.gz
podman-80b613d2376dec453e041a4afd5570d710f93b28.tar.bz2
podman-80b613d2376dec453e041a4afd5570d710f93b28.zip
Fix markdown tables on docs.podman.io
Sphinx with recommonmark cannot render markdown tables at all. There is a python package called `sphinx-markdown-tables` which adds the markdown table support to recommonmark. https://pypi.org/project/sphinx-markdown-tables/ By utilising this package we don't have to change our doc format. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/conf.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index aad458a9b..368d7cc29 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -28,9 +28,14 @@ author = "team"
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- "recommonmark",
+ 'sphinx_markdown_tables',
]
+source_parsers = {
+ '.md': 'recommonmark.parser.CommonMarkParser',
+}
+
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]