summaryrefslogtreecommitdiff
path: root/make-doc.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-08-07 21:18:04 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-08-07 21:18:04 +0200
commit399355e3d9ac4daccd4c3884a883c373eabf7091 (patch)
tree0b80bc83541f0c87e0ce900ad9cb8e9073a722e2 /make-doc.sh
parent95b80509f1376d62957c21559f3c35649b8898e1 (diff)
cleanup
Diffstat (limited to 'make-doc.sh')
-rwxr-xr-xmake-doc.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/make-doc.sh b/make-doc.sh
index c845cd8..e6b21ac 100755
--- a/make-doc.sh
+++ b/make-doc.sh
@@ -1,6 +1,5 @@
#!/bin/sh
which markdown &>/dev/null || echo "Need markdown utility!" >&2
-# do we need to add section 'avail languages'? like http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide
echo "generating html..."
for i in doc/official_installation_guide_??
@@ -16,7 +15,6 @@ i=doc/official_installation_guide_en
echo $i
-
summary_begin='<p><strong>Article summary<\/strong><\/p>'
summary_end_plus_one='<p><strong>Related articles<\/strong><\/p>'
related_begin='<p><strong>Related articles<\/strong><\/p>'
@@ -33,6 +31,7 @@ related=`echo "$related"| sed -e 's#<p>\[\(.*\)\] \(.*\)<\/p>#{{Article summary
# preare $summary for wiiking: replace email address by nice mailto links
summary=`echo "$summary" | sed 's/\([^"|, ]*@[-A-Za-z0-9_.]*\)/[mailto:\1 \1]/'`
+
echo -e "[[Category:Getting and installing Arch (English)]]\n[[Category:HOWTOs (English)]]\n
{{Article summary start}}\n{{Article summary text| 1=$summary}}\n{{Article summary heading|Available Languages}}\n
{{i18n_entry|English|Official Arch Linux Install Guide}}\n