shithub: freetype+ttf2subf

Download patch

ref: ca1f5cc7e69462abdec7157e6b7fc3c47b0b3af7
parent: ef6a352344a67c8e2d1408d8bf76fdf515d4dcd9
author: Werner Lemberg <[email protected]>
date: Tue Dec 2 17:49:25 EST 2014

[docmaker] Always handle `<Order>' section elements.

Previously, those elements were handled only for sections present in
a `<Sections>' chapter element.

* src/tools/docmaker/content.py (ContentProcessor::finish):
Implement it.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2014-12-02  Werner Lemberg  <[email protected]>
 
+	[docmaker] Always handle `<Order>' section elements.
+
+	Previously, those elements were handled only for sections present in
+	a `<Sections>' chapter element.
+
+	* src/tools/docmaker/content.py (ContentProcessor::finish):
+	Implement it.
+
+2014-12-02  Werner Lemberg  <[email protected]>
+
 	[docmaker] Properly handle empty rows in Synopsis.
 
 	* src/tools/docmaker/tohtml.py (HtmlFormatter::section_enter): Emit
--- a/src/tools/docmaker/content.py
+++ b/src/tools/docmaker/content.py
@@ -503,6 +503,7 @@
         others = []
         for sec in self.sections.values():
             if not sec.chapter:
+                sec.reorder()
                 others.append( sec )
 
         # create a new special chapter for all remaining sections