mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Bump types-docutils to 0.21.0.20240724
This commit is contained in:
parent
6d97be4349
commit
3222415785
@ -86,7 +86,7 @@ lint = [
|
||||
"sphinx-lint>=0.9",
|
||||
"types-colorama==0.4.15.20240311",
|
||||
"types-defusedxml==0.7.0.20240218",
|
||||
"types-docutils==0.21.0.20240711",
|
||||
"types-docutils==0.21.0.20240724",
|
||||
"types-Pillow==10.2.0.20240520",
|
||||
"types-Pygments==2.18.0.20240506",
|
||||
"types-requests>=2.30.0", # align with requests
|
||||
|
@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
from docutils.writers.latex2e import Babel
|
||||
|
||||
|
||||
class ExtBabel(Babel): # type: ignore[misc]
|
||||
class ExtBabel(Babel):
|
||||
cyrillic_languages = ('bulgarian', 'kazakh', 'mongolian', 'russian', 'ukrainian')
|
||||
|
||||
def __init__(self, language_code: str, use_polyglossia: bool = False) -> None:
|
||||
|
@ -1276,8 +1276,8 @@ class LaTeXTranslator(SphinxTranslator):
|
||||
else:
|
||||
return get_nested_level(node.parent)
|
||||
|
||||
enum = "enum%s" % toRoman(get_nested_level(node)).lower() # type: ignore[no-untyped-call]
|
||||
enumnext = "enum%s" % toRoman(get_nested_level(node) + 1).lower() # type: ignore[no-untyped-call]
|
||||
enum = "enum%s" % toRoman(get_nested_level(node)).lower()
|
||||
enumnext = "enum%s" % toRoman(get_nested_level(node) + 1).lower()
|
||||
style = ENUMERATE_LIST_STYLE.get(get_enumtype(node))
|
||||
prefix = node.get('prefix', '')
|
||||
suffix = node.get('suffix', '.')
|
||||
|
Loading…
Reference in New Issue
Block a user