1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-10 20:25:44 +01:00

updated makefile for autogenerating help with asciidoc, thanks a lot bartman!

This commit is contained in:
Martin Stubenschrott
2008-01-06 14:37:04 +00:00
parent b82a57b89c
commit a8dd1597b1
5 changed files with 71 additions and 17 deletions

View File

@@ -1,9 +1,41 @@
[glossary]
author=Martin Stubenschrott
email=stubenschrott@gmx.net
# [header]
# <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html>
# <head>
# <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
# <meta name="generator" content="AsciiDoco DocBook, text to LinuxDoc, text to XML, AsciiDoc, Python installer, Python execution environment" />
# <link rel="stylesheet" href="main.css" type="text/css" />
# <title>{doctitle}</title>
# </head>
# <body>
# <id="content">
# <h1>{doctitle}</h1>
[replacements]
HEADER=image:chrome://vimperator/content/logo_white.png[Vimperator]
[macros]
# Tags
[\\]?&lt;(?P<index>\d+)&gt;=tags
# Tag: |primary,secondary,tertiary| not yet support, only use single tags
(?su)(?<!\S)[\\]?\|(?P<attrlist>.+?)\|(?!\+)=tag
# same as tag, but with anchor
(?su)(?<!\S)[\\]?\|(?P<attrlist>.+?)\|(?!\+)=atag
[tags-inlinemacro]
bla bla
[tag-inlinemacro]
<link rel="stylesheet" href="../content/help.css" type="text/css"/>
<span style="float: right;">
<code class="tag" style="padding-left: 10px;">{target}</code>
</span>
[atag-inlinemacro]
<link rel="stylesheet" href="../content/help.css" type="text/css"/>
<a href="{target}"></a>
<span style="float: right;">
<code class="tag" style="padding-left: 10px;">{target}</code>
</span>

View File

@@ -12,21 +12,21 @@ VIMperator :)*
This is the optional preamble (an untitled section body). Useful for
writing simple sectionless documents consisting only of a preamble.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<link rel="stylesheet" href="../content/help.css" type="text/css"/>
<span style="float: right;">
<code class="tag">asciidoc</code>
<code class="tag">foo</code>
<code class="tag">bar</code>
</span>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// <link rel="stylesheet" href="../content/help.css" type="text/css"/>
// <span style="float: right;">
// <code class="tag">asciidoc</code>
// <code class="tag">foo</code>
// <code class="tag">bar</code>
// </span>
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tags:foo[]
atag:abstract[] tag:beginning[]
anchor:abstract[abstract]
Abstract
--------
The optional abstract (one or more paragraphs) goes here.
You can also jump to xref:section[section].
This document is an AsciiDoc article skeleton containing briefly
annotated element placeholders plus a couple of example index entries
@@ -34,6 +34,8 @@ and footnotes. The preface, appendix, bibliography, glossary and index
section titles are significant ('specialsections').
atag:section[]
The First Section
-----------------
Article sections start at level 1 and can be nested up to four levels