From ca1f5cc7e69462abdec7157e6b7fc3c47b0b3af7 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 2 Dec 2014 22:49:25 +0100 Subject: [PATCH] [docmaker] Always handle `' section elements. Previously, those elements were handled only for sections present in a `' chapter element. * src/tools/docmaker/content.py (ContentProcessor::finish): Implement it. --- ChangeLog | 10 ++++++++++ src/tools/docmaker/content.py | 1 + 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7979bfc64..7cf368026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2014-12-02 Werner Lemberg + + [docmaker] Always handle `' section elements. + + Previously, those elements were handled only for sections present in + a `' chapter element. + + * src/tools/docmaker/content.py (ContentProcessor::finish): + Implement it. + 2014-12-02 Werner Lemberg [docmaker] Properly handle empty rows in Synopsis. diff --git a/src/tools/docmaker/content.py b/src/tools/docmaker/content.py index 32ebd3f8d..adea6f1d7 100644 --- a/src/tools/docmaker/content.py +++ b/src/tools/docmaker/content.py @@ -503,6 +503,7 @@ class ContentProcessor: 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