From 56d5e2a097519eb8d360f48ac96f680f3c33f79d Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 14 Dec 2008 01:00:33 +1100 Subject: [PATCH] add a title tag for each help page --- common/Makefile.common | 2 +- vimperator/locale/en-US/asciidoc.conf | 31 ++++++++++++++------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/common/Makefile.common b/common/Makefile.common index 55fb3a90..110a1163 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -106,5 +106,5 @@ $(JAR): doc ${DOC_FILES}: %.html: %.txt $(BASE)/Makefile.common locale/en-US/asciidoc.conf @echo "DOC $@" - ${ASCIIDOC} --unsafe -a linkcss -a quirks! -o $@ $< + ${ASCIIDOC} --unsafe -a linkcss -a quirks! -a doctitle="$(shell basename $@)" -o $@ $< diff --git a/vimperator/locale/en-US/asciidoc.conf b/vimperator/locale/en-US/asciidoc.conf index 18be3287..632e7d16 100644 --- a/vimperator/locale/en-US/asciidoc.conf +++ b/vimperator/locale/en-US/asciidoc.conf @@ -4,24 +4,25 @@ author=Martin Stubenschrott email=stubenschrott@gmx.net -# [header] -# -# -# -# -# -# -# {doctitle} -# -# -#
-#

{doctitle}

-# +[header] + + + + + + + + {doctitle} + + +

+ {doctitle} +

[replacements] LOGO=
-HEADER=
+HEADER=
\[count\]=[count] \[args\]=[args] \[arg\]=[arg]