mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-21 11:31:25 +02:00
updated makefile for autogenerating help with asciidoc, thanks a lot bartman!
This commit is contained in:
@@ -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
|
||||
[\\]?<(?P<index>\d+)>=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>
|
||||
|
||||
Reference in New Issue
Block a user