mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-08 10:23:57 +00:00
Previously, class members and free functions in sectiondef with kind="user-defined" would be stripped from HTML output, making function grouping effectively non-functional. This commit fixes this by converting such sectiondefs to either method-group or free-function-group in BoostBook output, depending on whether the grouping is within a class or namespace. Additionally, previously constructors, destructors and assignment operators were not allowed to be inside method-groups, which were another reason for these members to be stripped from the output. This commit allows these members in member-groups and modifies DTD accordingly. Also, this fixes duplicate constructors, destructors and assignment operators generated after the sections for public, private and protected member functions. This was due to applying XSL templates twice - once when generating method-group, and then after the method-group.