From d31fe17a24119d536ab604f08033f7483c3e1fd0 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Fri, 7 Aug 2009 21:05:06 +0200 Subject: some todos implemented and/or not needed --- make-doc.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'make-doc.sh') 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='

Related articles<\/strong><\/p>' related_begin='

Related articles<\/strong><\/p>' related_end_plus_one='

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. -- cgit v1.2.3-54-g00ecf