summaryrefslogtreecommitdiff
path: root/make-doc.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-08-07 21:05:06 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-08-07 21:05:06 +0200
commitd31fe17a24119d536ab604f08033f7483c3e1fd0 (patch)
treef3aab40f3f0766d2832039d4ba26cf42d8fb6430 /make-doc.sh
parent34efc504b790834e80158f9b6a384ae947ac1b87 (diff)
some todos implemented and/or not needed
Diffstat (limited to 'make-doc.sh')
-rwxr-xr-xmake-doc.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/make-doc.sh b/make-doc.sh
index c5a3b80..4db85df 100755
--- a/make-doc.sh
+++ b/make-doc.sh
@@ -1,10 +1,7 @@
#!/bin/sh
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? wiki supports mailto dingske
-# TODO: strip article section, related articles from real content
echo "generating html..."
for i in doc/official_installation_guide_??
@@ -26,7 +23,7 @@ summary_end_plus_one='<p><strong>Related articles<\/strong><\/p>'
related_begin='<p><strong>Related articles<\/strong><\/p>'
related_end_plus_one='<h1>Introduction<\/h1>'
-summary=`sed -n "/$summary_begin/, /$summary_end_plus_one/p;" $i.html | sed "/$summary_begin/d; /$summary_end_plus_one/d"` #TODO strip html tags from summary? (maybe parse from markdown instead). this does not render on the wiki!
+summary=`sed -n "/$summary_begin/, /$summary_end_plus_one/p;" $i.html | sed "/$summary_begin/d; /$summary_end_plus_one/d"`
related=`sed -n "/$related_begin/, /$related_end_plus_one/p;" $i.html | sed "/$related_begin/d; /$related_end_plus_one/d"`
# prepare for wikiing.