refs #1700: fix: toctree caption accepts unicode text.

This commit is contained in:
shimizukawa 2015-03-08 20:08:04 +09:00
parent e2a921ff07
commit 09d3d6b36d

View File

@ -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,