Sphinx eager ".. only::" directive and other selective rendition extensions
The implementation of ".. only::" directive in Sphinx documentation generation tool is known to violate principles of least user surprise and user expectations in general. Instead of excluding content early in the pipeline (preprocessor style), Sphinx defers exclusion until output phase, and what's the worst, various stages processing ignore "only" blocks and their exclusion status, so they may leak unexpected information into ToC, indexes, etc. This projects tries to rectify situation on users' side. It actually changes the way Sphinx processes "only" directive, but does this without forking the project, and instead is made as a standard Sphinx extension, which a user may add to their documentation config. Unlike normal extensions, extensions provided in this package monkey-patch Sphinx core to work in a way expected by users.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.0.3-14.fc41 | - |
Fedora 41 | 1.0.3-14.fc41 | - |
Fedora 40 | 1.0.3-12.fc40 | - |
Fedora 39 | 1.0.3-10.fc39 | - |
You can contact the maintainers of this package via email at
python-sphinx_selective_exclude dash maintainers at fedoraproject dot org
.