1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 03:12:27 +01:00

Use a common asciidoc.conf file for all configs.

This commit is contained in:
Doug Kearns
2009-08-07 01:15:23 +10:00
parent a85df170ae
commit eac245fd89
8 changed files with 13 additions and 246 deletions

View File

@@ -58,9 +58,9 @@ heading:Version{nbsp}information[version-information]' \
-e '/^[0-9]/d' \
-e '/^ \+\* version /s/.*version \+\([0-9.]\+\).*/section:Version{nbsp}\1[version-\1]\
/' ../../NEWS | \
${ASCIIDOC} -f asciidoc.conf -a doctitle=version.html -o version.html -
${ASCIIDOC} -f $(BASE)/asciidoc.conf -a doctitle=version.html -o version.html -
$(FILES): %.html: %.txt $(BASE)/Makefile.doc $(DEPS)
@echo "DOC locale/$(LOCALE)/$@"
$(ASCIIDOC) --unsafe -a linkcss -a quirks! -a lang=$(DOCLANG) -a doctitle="$$(basename $@)" -o $@ $<
$(ASCIIDOC) -f $(BASE)/asciidoc.conf -a configname=$(NAME) --unsafe -a linkcss -a quirks! -a lang=$(DOCLANG) -a doctitle="$$(basename $@)" -o $@ $<

View File

@@ -13,7 +13,7 @@ email=stubenschrott@vimperator.org
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset={encoding=UTF-8}" />
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
<link rel="stylesheet" href="xhtml11.css" type="text/css" />
<link rel="icon" href="chrome://vimperator/skin/icon.png" type="image/png" />
<link rel="icon" href="chrome://{configname}/skin/icon.png" type="image/png" />
<script type="application/x-javascript;version=1.8" src="help.js"></script>
<title>{doctitle}</title>
</head>
@@ -23,7 +23,6 @@ email=stubenschrott@vimperator.org
</div>
[replacements]
LOGO=<div style="text-align: center;"><span class="vimperator-logo"></span></div>
\[count\]=<span class="argument">&#91;count&#93;</span>
\[!\]=<span class="argument">&#91;!&#93;</span>
@@ -36,6 +35,8 @@ LOGO=<div style="text-align: center;"><span class="vimperator-logo"></span></div
(?u)^(?P<name>subsection)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=#
# help:helptext[href]
(?su)(?<!\w)[\\]?(?P<name>help):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
# logo:[,] # FIXME: this is a bit silly
(?su)(?<!\w)[\\]?(?P<name>logo):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
# FIXME: this logo/donation banner is really ugly. --djk
[heading-blockmacro]
@@ -79,6 +80,9 @@ LOGO=<div style="text-align: center;"><span class="vimperator-logo"></span></div
[help-inlinemacro]
<a href="chrome://liberator/locale/{outfile@.*all.html:all.html:{1}}#{2={1}}">{target}</a>
[logo-inlinemacro]
<div style="text-align: center;"><span class="{configname}-logo"></span></div>
[quotes]
||=key
|=tag

View File

@@ -1,2 +1,3 @@
NAME = muttator
BASE = ../../../common
include $(BASE)/Makefile.doc

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,3 @@
NAME = vimperator
BASE = ../../../common
include $(BASE)/Makefile.doc

View File

@@ -1,4 +1,4 @@
LOGO
logo:[]
+++<div style="text-align: center;">+++
*First there was a Navigator, then there was an Explorer.
@@ -6,7 +6,7 @@ Later it was time for a Konqueror. Now it's time for an Imperator, the
VIMperator :)*
+++</div>+++
section::Introduction[intro]
heading::Introduction[intro]
http://vimperator.org[Vimperator] is a free browser add-on for Firefox,
which makes it look and behave like the http://www.vim.org[Vim]

View File

@@ -1,2 +1,3 @@
NAME = xulmus
BASE = ../../../common
include $(BASE)/Makefile.doc

File diff suppressed because one or more lines are too long