mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
doc: Add modname separator tip for autodoc (refs: #7841)
This commit is contained in:
parent
275d93b506
commit
42f29b6acf
@ -280,6 +280,12 @@ inserting them into the page source under a suitable :rst:dir:`py:module`,
|
||||
|
||||
.. versionadded:: 1.3
|
||||
|
||||
* As a hint to autodoc extension, you can put a ``::`` separator in between
|
||||
module name and object name to let autodoc know the correct module name if
|
||||
it is ambiguous. ::
|
||||
|
||||
.. autoclass:: module.name::Noodle
|
||||
|
||||
|
||||
.. rst:directive:: autofunction
|
||||
autodecorator
|
||||
|
Loading…
Reference in New Issue
Block a user