summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-07 09:41:27 -0400
committerGitHub <noreply@github.com>2021-05-07 09:41:27 -0400
commitb533fcb12eecc5206a0cb3e93fed1abc2f3abf3b (patch)
tree76f40cf24ab8c45347cfd7589aac0f19ab05231b /docs
parent0c411278ce89c8db1569da6333001c41c78ca0a2 (diff)
parent800a2e2d35f6799603d71beb38563afb87e7084b (diff)
downloadpodman-b533fcb12eecc5206a0cb3e93fed1abc2f3abf3b.tar.gz
podman-b533fcb12eecc5206a0cb3e93fed1abc2f3abf3b.tar.bz2
podman-b533fcb12eecc5206a0cb3e93fed1abc2f3abf3b.zip
Merge pull request #10255 from rcowsill/no-dash-conv
[CI:DOCS] Stop conversion of `--` into en dash
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/remote-docs.sh2
-rw-r--r--docs/source/conf.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/remote-docs.sh b/docs/remote-docs.sh
index b1682e9cd..8249fc497 100755
--- a/docs/remote-docs.sh
+++ b/docs/remote-docs.sh
@@ -80,7 +80,7 @@ function html_fn() {
local link=$(sed -e 's?.so man1/\(.*\)?\1?' <$dir/links/${file%.md})
markdown=$dir/$link.md
fi
- pandoc --ascii --standalone \
+ pandoc --ascii --standalone --from markdown-smart \
--lua-filter=docs/links-to-html.lua \
--lua-filter=docs/use-pagetitle.lua \
-o $TARGET/${file%%.*}.html $markdown
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 52869baf4..7a180e5ef 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -44,6 +44,10 @@ exclude_patterns = []
master_doc = "index"
+# Configure smartquotes to only transform quotes and ellipses, not dashes
+smartquotes_action = "qe"
+
+
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for