openSUSE / docbookrx

(An early version of) a DocBook to AsciiDoc converter written in Ruby.
MIT License
1 stars 2 forks source link

Make <section> optional and make <sect1 - 5> the default for sections. #3

Closed jcayouette closed 6 years ago

jcayouette commented 6 years ago

At SUSE we use sect1 -5 to designate section depth. In docbook there are two choices. You can use section which can be infinitely nested and sect1 -5, the max being 5 sections deeps. We use sect for clarity and to limit nesting.

<sect1>
    <sect2>
        <sect3>
            <sect4>
               <sect5>
               </sect5>
            </sect4>
        </sect3>
    </sect2>
</sect1>
kkaempf commented 6 years ago

Doesn't matter