From d8cdb04dbaee8b2ca637c45df62be9b926e6cf73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Sun, 29 May 2016 10:27:26 +0200 Subject: [PATCH] improves documentation formating MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I70902f6fa8c0381dd4a5eefb050a971ca2c80b12 Signed-off-by: José Bollo --- doc/updt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/updt.sh b/doc/updt.sh index af64e31e..1c9d023e 100755 --- a/doc/updt.sh +++ b/doc/updt.sh @@ -29,7 +29,7 @@ updadate() { mkhtml() { local x=$1 local h=${x%%.md}.html - expand -i $x | sed 's: : :' > $h.pre + expand -i $x | sed 's:^ : :' > $h.pre markdown -f toc,autolink $h.pre > $h.toc.no markdown -Tf toc,autolink $h.pre > $h.toc.yes head --bytes=-$(stat -c %s $h.toc.no) $h.toc.yes > $h.toc -- 2.16.6