summaryrefslogtreecommitdiff
path: root/docs/links-to-html.lua
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2019-09-16 09:23:57 -0700
committerJhon Honce <jhonce@redhat.com>2019-09-19 14:14:38 -0700
commit96bcf8cecc92c70cdb86ee288eb57795ef6395e7 (patch)
tree5dc7417b2e7c583ed7f9ddac3311d8d17c7b9558 /docs/links-to-html.lua
parent408f2780a1dd94f99fe36be4573a9887e6c74cf7 (diff)
downloadpodman-96bcf8cecc92c70cdb86ee288eb57795ef6395e7.tar.gz
podman-96bcf8cecc92c70cdb86ee288eb57795ef6395e7.tar.bz2
podman-96bcf8cecc92c70cdb86ee288eb57795ef6395e7.zip
Support podman-remote help on windows
* Update scipts to produce darwin and windows output * Update batch file to re-direct help requests to browser * Add pandoc filter for markdown to html links Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'docs/links-to-html.lua')
-rw-r--r--docs/links-to-html.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/links-to-html.lua b/docs/links-to-html.lua
new file mode 100644
index 000000000..74072a9e4
--- /dev/null
+++ b/docs/links-to-html.lua
@@ -0,0 +1,5 @@
+# links-to-html.lua
+function Link(el)
+ el.target = string.gsub(el.target, "%.1.md", ".html")
+ return el
+end