aboutsummaryrefslogtreecommitdiff
path: root/www/publish.sh
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2017-04-05 22:59:43 +0100
committerLeah Rowe <info@minifree.org>2017-04-05 23:04:27 +0100
commitce5a7f516aa794d633cb3cf1b4a369257178883b (patch)
tree4a65e3e2e0207378575880a811969fd3d3d1bdc5 /www/publish.sh
parent1938235eafc29827682da4bb11885f24a204c15a (diff)
downloadlibrebootfr-ce5a7f516aa794d633cb3cf1b4a369257178883b.tar.gz
librebootfr-ce5a7f516aa794d633cb3cf1b4a369257178883b.zip
change .html links to .md links, everywhere
Diffstat (limited to 'www/publish.sh')
-rwxr-xr-xwww/publish.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/publish.sh b/www/publish.sh
index ab9147fc..90d52288 100755
--- a/www/publish.sh
+++ b/www/publish.sh
@@ -40,6 +40,7 @@ echo "[License](/license.md)" >> temp.md
# change out .md -> .html
sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g'
+sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*]/.html\1]/g'
# work around issue #2872
TOC=$(grep -q "^x-toc-enable: true$" temp.md && echo "--toc --toc-depth=2") || TOC=""