summaryrefslogtreecommitdiff
path: root/make-doc.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-08-03 23:32:16 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-08-03 23:32:16 +0200
commitd6b08f0cb077a886bcf4969dec3b75a0c965b703 (patch)
tree5f3c32e25b55b48ac29e286fa9873591f49a2674 /make-doc.sh
parent7f3916486d3e6391e69cc20fb05a4eab2c118a46 (diff)
fixes for hyperlinks
Diffstat (limited to 'make-doc.sh')
-rwxr-xr-xmake-doc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/make-doc.sh b/make-doc.sh
index e05fb7c..0cda6fe 100755
--- a/make-doc.sh
+++ b/make-doc.sh
@@ -3,10 +3,10 @@ which markdown &>/dev/null || echo "Need markdown utility!" >&2
# do we need to sed links?
# do we need to add section 'avail languages'? like http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide
# what about summary and related articles?
-# obfuscate email?
+# obfuscate email? wiki supports mailto dingske
for i in doc/official_installation_guide_??
do
echo $i
- cat $i | markdown > $i.html
+ cat $i | markdown | sed 's|<a href="\([^"]*\)"[^>]*>\([^<]*\)</a>|[\1 \2]|g' > $i.html
done