summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-16 21:40:10 +0100
committerGitHub <noreply@github.com>2020-11-16 21:40:10 +0100
commite59394973a7559feb42b89ea882f2ce52d0432b8 (patch)
treedb0876f0abb1ca4e21e011a10718414a3aec6863 /docs
parent5843f33a125d3feaacb3d38f410c7d67484a2b37 (diff)
parent80b613d2376dec453e041a4afd5570d710f93b28 (diff)
downloadpodman-e59394973a7559feb42b89ea882f2ce52d0432b8.tar.gz
podman-e59394973a7559feb42b89ea882f2ce52d0432b8.tar.bz2
podman-e59394973a7559feb42b89ea882f2ce52d0432b8.zip
Merge pull request #8335 from Luap99/fix-html-tables
[CI:DOCS] Fix markdown tables on docs.podman.io
Diffstat (limited to 'docs')
-rw-r--r--docs/requirements.txt2
-rw-r--r--docs/source/conf.py7
2 files changed, 8 insertions, 1 deletions
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 44af373ac..84e7ec6a5 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -2,3 +2,5 @@
# use md instead of rst
recommonmark
+# needed for markdown table support
+sphinx-markdown-tables
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"]