mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
@@ -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
|
||||
=============================
|
||||
|
||||
Reference in New Issue
Block a user