From e95f9f6875f4cbcae60fe96696eb83a6972bbf26 Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Mon, 15 Oct 2012 14:39:15 -0400 Subject: 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 --- doc/tools/define_document.tmpl | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/tools/define_document.tmpl (limited to 'doc/tools/define_document.tmpl') 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 -- cgit