-
-
Notifications
You must be signed in to change notification settings - Fork 15
Support Sphinx :reversed: on .. toctree:: #1148
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
If I get this right it will only order the documents in reverse not the sub headings? |
To be honest: I don't know but good question. But https://docs.typo3.org/p/werkraummedia/events/main/en-us/Changelog.html shows that only the files seem to be reversed. Maybe TYPO3 used an older version of Sphinx. But I guess it will only reverse the top level? Like you wrote, not the sub headings. |
Thanks @linawolf for implementing this feature |
Thanks @linawolf. I highly appreciate we will have this feature available again :) |
Uh oh!
There was an error while loading. Please reload this page.
Feature request
The
.. toctree::
directive of Sphinx has an option:reversed:
which will invert the order of entries: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-option-toctree-reversedThis is useful for situations like:
That way newest versions are at the top.
Would be cool to have that supported. Right now the option seems to be ignored.
We use this here: https://github.com/werkraum-media/events/blob/main/Documentation/Changelog.rst rendered result: https://docs.typo3.org/p/werkraummedia/events/main/en-us/Changelog.html
The text was updated successfully, but these errors were encountered: