GIT v1.5.2-rc2
[gitweb.git] / Documentation / asciidoc.conf
index 7ce71510de52805c2bfff59f4c13d8267b9e3f25..fa7dc94845be148dd85dfc2265dade2093a6c11f 100644 (file)
@@ -9,6 +9,9 @@
 
 [attributes]
 caret=^
+startsb=[
+endsb=]
+tilde=~
 
 ifdef::backend-docbook[]
 [gitlink-inlinemacro]
@@ -28,6 +31,25 @@ ifdef::backend-docbook[]
 {title#}</example>
 endif::backend-docbook[]
 
+ifdef::doctype-manpage[]
+ifdef::backend-docbook[]
+[header]
+template::[header-declarations]
+<refentry>
+<refmeta>
+<refentrytitle>{mantitle}</refentrytitle>
+<manvolnum>{manvolnum}</manvolnum>
+<refmiscinfo class="source">Git</refmiscinfo>
+<refmiscinfo class="version">@@GIT_VERSION@@</refmiscinfo>
+<refmiscinfo class="manual">Git Manual</refmiscinfo>
+</refmeta>
+<refnamediv>
+  <refname>{manname}</refname>
+  <refpurpose>{manpurpose}</refpurpose>
+</refnamediv>
+endif::backend-docbook[]
+endif::doctype-manpage[]
+
 ifdef::backend-xhtml11[]
 [gitlink-inlinemacro]
 <a href="{target}.html">{target}{0?({0})}</a>