mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unnecessary brackets from `meth
` roles (#13193)
This commit is contained in:
parent
00ad109a39
commit
504eecada8
@ -65,9 +65,9 @@ class Index(ABC):
|
|||||||
* `shortname` is a short name for the index, for use in the relation bar in
|
* `shortname` is a short name for the index, for use in the relation bar in
|
||||||
HTML output. Can be empty to disable entries in the relation bar.
|
HTML output. Can be empty to disable entries in the relation bar.
|
||||||
|
|
||||||
and providing a :meth:`generate()` method. Then, add the index class to
|
and providing a :meth:`generate` method. Then, add the index class to
|
||||||
your domain's `indices` list. Extensions can add indices to existing
|
your domain's `indices` list. Extensions can add indices to existing
|
||||||
domains using :meth:`~sphinx.application.Sphinx.add_index_to_domain()`.
|
domains using :meth:`~sphinx.application.Sphinx.add_index_to_domain`.
|
||||||
|
|
||||||
.. versionchanged:: 3.0
|
.. versionchanged:: 3.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user