summaryrefslogtreecommitdiffstats
path: root/doc/tools/define_document.tmpl
diff options
context:
space:
mode:
authorBen Kaduk <kaduk@mit.edu>2012-10-15 14:39:15 -0400
committerBen Kaduk <kaduk@mit.edu>2012-10-15 19:20:44 -0400
commite95f9f6875f4cbcae60fe96696eb83a6972bbf26 (patch)
treea56a1baa43cb89187aaba76ab1eb8836511effed /doc/tools/define_document.tmpl
parentee26c4bbf4fc271ebf76d50a23ca27ef74220404 (diff)
downloadkrb5-e95f9f6875f4cbcae60fe96696eb83a6972bbf26.tar.gz
krb5-e95f9f6875f4cbcae60fe96696eb83a6972bbf26.tar.xz
krb5-e95f9f6875f4cbcae60fe96696eb83a6972bbf26.zip
Massive reST content rename
All of rst_source/ is now just in doc/. The krb_ prefix is stripped from the document sub-directories. rst_tools are now just tools. The section headers of kadmind, krb5kdc, and sserver match as conflict markers. bigredbutton: whitespace ticket: 7409
Diffstat (limited to 'doc/tools/define_document.tmpl')
-rw-r--r--doc/tools/define_document.tmpl27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/tools/define_document.tmpl b/doc/tools/define_document.tmpl
new file mode 100644
index 000000000..8bf2fd393
--- /dev/null
+++ b/doc/tools/define_document.tmpl
@@ -0,0 +1,27 @@
+.. highlightlang:: c
+
+.. $composite.macro_reference($composite.name):
+
+#set $title = $composite.name
+$title
+#echo ''.join(['=']*len($title)) #
+
+..
+.. data:: $composite.name
+..
+
+#if $composite.short_description is not None and len($composite.short_description)
+$composite.short_description
+#end if
+
+$composite.long_description
+
+#if $composite.name_signature is not None and len($composite.name_signature)
+#echo ''.join(['=']*len($composite.name_signature)) + '== ======================' #
+$composite.name_signature $composite.initializer
+#echo ''.join(['=']*len($composite.name_signature)) + '== ======================' #
+#else
+#echo ''.join(['=']*len($composite.name)) + '=== ======================' #
+$composite.name $composite.initializer
+#echo ''.join(['=']*len($composite.name)) + '=== ======================' #
+#end if