diff options
Diffstat (limited to 'sphinx/environment.py')
-rw-r--r-- | sphinx/environment.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/environment.py b/sphinx/environment.py index 4efea83de..a08d671ad 100644 --- a/sphinx/environment.py +++ b/sphinx/environment.py @@ -1514,6 +1514,8 @@ class BuildEnvironment: maxdepth = maxdepth or toctree.get('maxdepth', -1) if not titles_only and toctree.get('titlesonly', False): titles_only = True + if not includehidden and toctree.get('includehidden', False): + includehidden = True # NOTE: previously, this was separate=True, but that leads to artificial # separation when two or more toctree entries form a logical unit, so |