Add `:caption:` option for sphinx.ext.inheritance_diagram

This commit is contained in:
Takeshi KOMIYA
2016-03-11 13:20:05 +09:00
parent e4f213255e
commit d86ea47b52
5 changed files with 39 additions and 1 deletions

View File

@@ -33,10 +33,15 @@ It adds this directive:
It also supports a ``private-bases`` flag option; if given, private base
classes (those whose name starts with ``_``) will be included.
You can use ``caption`` option to give a caption to the diagram.
.. versionchanged:: 1.1
Added ``private-bases`` option; previously, all bases were always
included.
.. versionchanged:: 1.5
Added ``caption`` option
New config values are: