Remove unnecessary brackets from `meth` roles (#13193)

This commit is contained in:
Rafael Fontenelle 2025-01-02 22:41:14 -03:00 committed by GitHub
parent 00ad109a39
commit 504eecada8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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