summaryrefslogtreecommitdiff
path: root/asciidoc.conf
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2009-09-05 09:50:38 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2009-09-05 09:53:31 -0400
commit170f40c2d1220e66c3084dafc135745357660956 (patch)
treea782111981db39e2cdf9b5c94bad7af8e2cf680f /asciidoc.conf
parent18e6fdc293fe416146512c35c4ce6a77cfc2ee39 (diff)
Split out documentation
Move the documentation from a giant comment at the start of the file into a separate asciidoc document. Among other revisions an 'EXAMPLE SESSION' section is added to give a sense of the normal workflow. Add a Makefile and asciidoc.conf for converting the asciidoc into HTML or a man page.
Diffstat (limited to 'asciidoc.conf')
-rw-r--r--asciidoc.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/asciidoc.conf b/asciidoc.conf
new file mode 100644
index 0000000..258607e
--- /dev/null
+++ b/asciidoc.conf
@@ -0,0 +1,18 @@
+ifdef::doctype-manpage[]
+ifdef::backend-docbook[]
+[header]
+template::[header-declarations]
+<refentry>
+<refmeta>
+<refentrytitle>{mantitle}</refentrytitle>
+<manvolnum>{manvolnum}</manvolnum>
+<refmiscinfo class="source">Git Bz</refmiscinfo>
+<refmiscinfo class="version"></refmiscinfo>
+<refmiscinfo class="manual">Git Bz Manual</refmiscinfo>
+</refmeta>
+<refnamediv>
+ <refname>{manname}</refname>
+ <refpurpose>{manpurpose}</refpurpose>
+</refnamediv>
+endif::backend-docbook[]
+endif::doctype-manpage[]