I have written this Stackoverflow question which also explain this feature request.
Goal
The goal is to customise the toctree numbering method. So use i., ii, ... for frontmatter, 1, 2, 3.1.2 for the content and A., A1, A1.1, B1.2 for the appendix.
By looking at the code, it seems it is easy to add a kludge on the _walk_toc method located in the TocTreeCollector class. However I don't see how I can easily extend this class.
The goal would be to add .. toctree:: directives the options :numbering-format: letters
Considerations
Before I try to implement this feature, I would like to get some feedback. Perhaps it is already possible to do this in a different manner.
I have written this Stackoverflow question which also explain this feature request.
Goal
The goal is to customise the toctree numbering method. So use
i., ii, ...for frontmatter,1, 2, 3.1.2for the content andA., A1, A1.1, B1.2for the appendix.By looking at the code, it seems it is easy to add a kludge on the
_walk_tocmethod located in theTocTreeCollectorclass. However I don't see how I can easily extend this class.The goal would be to add
.. toctree::directives the options:numbering-format: lettersConsiderations
Before I try to implement this feature, I would like to get some feedback. Perhaps it is already possible to do this in a different manner.