This website requires JavaScript.
Explore
Help
Sign In
IntenseWebs
/
sphinx
Watch
3
Star
0
Fork
0
You've already forked sphinx
mirror of
https://github.com/sphinx-doc/sphinx.git
synced
2025-02-25 18:55:22 -06:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
114ff77f68
sphinx
/
tests
/
roots
/
test-toctree-empty
/
conf.py
4 lines
85 B
Python
Raw
Normal View
History
Unescape
Escape
Allow empty toctree in singlehtml builder We noticed this issue with the 0.2.x release of snide/sphinx_rtd_theme. Because we are calling toctree unconditionally, we notice a bug in the singlehtml builder when the docs have an empty/nonexistant toctree. In this case, `fix_refuris` as being passed `None`, which failed to traverse, throwing an exception. This conditionally fixes the refuris instead.
2017-03-05 15:16:37 -06:00
html_theme
=
'
classic
'
exclude_patterns
=
[
'
_build
'
]
Add another test for empty toctree
2017-03-29 02:52:35 -05:00
templates_path
=
[
'
_templates
'
]
Reference in New Issue
Copy Permalink