mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-14 17:32:12 -05:00
Bump `types-docutils` to 0.21.0.20240711 (#12529)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
1 parent
6cc1177d10
commit
602bfe4255
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -86,7 +86,7 @@ lint = [
|
||||
"ruff==0.5.1",
|
||||
"mypy==1.10.1",
|
||||
"sphinx-lint",
|
||||
"types-docutils==0.21.0.20240708",
|
||||
"types-docutils==0.21.0.20240711",
|
||||
"types-requests",
|
||||
"importlib_metadata", # for mypy (Python<=3.9)
|
||||
"tomli", # for mypy (Python<=3.10)
|
||||
|
||||
@@ -758,7 +758,7 @@ class Sphinx:
|
||||
logger.warning(__('role %r is already registered, it will be overridden'),
|
||||
name, type='app', subtype='add_generic_role')
|
||||
role = roles.GenericRole(name, nodeclass)
|
||||
docutils.register_role(name, role) # type: ignore[arg-type]
|
||||
docutils.register_role(name, role)
|
||||
|
||||
def add_domain(self, domain: type[Domain], override: bool = False) -> None:
|
||||
"""Register a domain.
|
||||
|
||||
Reference in new issue
Block a user