Fix #8460: autodata directive does not display the detail of TypeVars

The details are only shown when automodule directive is used.  This
allows to document them via other auto* directives.
This commit is contained in:
Takeshi KOMIYA
2020-11-21 19:55:45 +09:00
parent 24a329eebe
commit 9eb96d5c79
7 changed files with 113 additions and 41 deletions

View File

@@ -36,6 +36,11 @@ The following is a list of deprecated interfaces.
- 5.0
- ``sphinx.ext.autodoc.DataDocumenter``
* - ``sphinx.ext.autodoc.TypeVarDocumenter``
- 3.4
- 5.0
- ``sphinx.ext.autodoc.DataDocumenter``
* - ``sphinx.pycode.ModuleAnalyzer.parse()``
- 3.4
- 5.0