As of Tuleap 16.6, it's possible to create a Freetext Section as a child of an Artifact Section:
1. Freetext Section
1.1 Artifact Section
1.1.1 Freetext Section
This should not be available as we don't really know what it would mean. As for other Artidoc feature, it's easier to block by default and open according to feedbacks rather than letting it too open and having trouble to reverse the course of actions.
The rules for section levels are as follows:
- Artifact sections must not have sub-sections of any type. Artifact section cannot have Free-text sub-section, and cannot have other Artifact sub-sections. Artifact sections are the "last" level.
- Free-text sections can be piled on 2 or 3 levels freely. Free-text sections of level 1 or 2 can either have Artifact sub-sections or other Free-text sub-sections. Free-text sections of level 3 are the "last" level, there is never any sub-section under level 3.
Sub-section means a section with a lower level, for example a section of level 1 has sub-sections of level 2.
In the following examples, we should show a warning near the sections because they are not allowed with the rules above:
Artifact
⤷ Free-text ← warning here
Artifact
⤷ Artifact ← warning here