svn rev #25850: trunk/doc/rst_tools/
tsitkova@MIT.EDU
tsitkova at MIT.EDU
Sat May 5 11:41:00 EDT 2012
http://src.mit.edu/fisheye/changelog/krb5/?cs=25850
Commit By: tsitkova
Log Message:
For typedef documents in Sphinx do not add short description to the titles.
Changed Files:
U trunk/doc/rst_tools/define_document.tmpl
U trunk/doc/rst_tools/type_document.tmpl
Modified: trunk/doc/rst_tools/define_document.tmpl
===================================================================
--- trunk/doc/rst_tools/define_document.tmpl 2012-05-05 15:35:51 UTC (rev 25849)
+++ trunk/doc/rst_tools/define_document.tmpl 2012-05-05 15:41:00 UTC (rev 25850)
@@ -2,31 +2,22 @@
.. $composite.macro_reference($composite.name):
-
-
-#if $composite.short_description is not None and len($composite.short_description)
- #set $title = $composite.name + ' - ' + $composite.short_description
-#else
- #set $title = $composite.name
-#end if
+#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
+
#echo ''.join(['=']*len($composite.name)) + '== ======================' #
$composite.name $composite.initializer
#echo ''.join(['=']*len($composite.name)) + '== ======================' #
-$composite.long_description
-
-
-#if $composite.Id is not None
-
-
-#end if
Modified: trunk/doc/rst_tools/type_document.tmpl
===================================================================
--- trunk/doc/rst_tools/type_document.tmpl 2012-05-05 15:35:51 UTC (rev 25849)
+++ trunk/doc/rst_tools/type_document.tmpl 2012-05-05 15:41:00 UTC (rev 25850)
@@ -2,33 +2,26 @@
.. $composite.struct_reference($composite.name):
-
-
-#if $composite.short_description is not None and len($composite.short_description)
- #set $title = $composite.name + ' - ' + $composite.short_description
-#else
- #set $title = $composite.name
-#end if
+#set $title = $composite.name
$title
#echo ''.join(['=']*len($title)) #
-
-
..
.. c:type:: $composite.name
..
+#if $composite.short_description is not None and len($composite.short_description)
+$composite.short_description
+#end if
+
+$composite.long_description
+
Declaration
------------
$composite.definition
-$composite.long_description
-
-
#if $composite.Id is not None
-
-
#if len($composite.attributes)
Members
More information about the cvs-krb5
mailing list