mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
refs #1700: fix: toctree caption accepts unicode text.
This commit is contained in:
parent
e2a921ff07
commit
09d3d6b36d
@ -41,7 +41,7 @@ class TocTree(Directive):
|
||||
option_spec = {
|
||||
'maxdepth': int,
|
||||
'name': directives.unchanged,
|
||||
'caption': str,
|
||||
'caption': directives.unchanged_required,
|
||||
'glob': directives.flag,
|
||||
'hidden': directives.flag,
|
||||
'includehidden': directives.flag,
|
||||
|
Loading…
Reference in New Issue
Block a user