Fix #7199: py domain: Add a new confval: python_use_unqualified_type_names

Add a new config variable: python_use_unqualified_type_names.  If enabled,
it goes to suppress the module name of the python reference if it can be
resolved.
This commit is contained in:
Takeshi KOMIYA
2020-11-15 23:15:01 +09:00
parent d99132680d
commit 930a880294
7 changed files with 76 additions and 8 deletions

View File

@@ -2714,6 +2714,17 @@ Options for the C++ domain
.. versionadded:: 1.5
Options for the Python domain
-----------------------------
.. confval:: python_use_unqualified_type_names
If true, suppress the module name of the python reference if it can be
resolved. The default is ``False``.
.. versionadded:: 4.0
.. note:: This configuration is still in experimental
Example of configuration file
=============================