diff --git a/docs/conf.py b/docs/conf.py index 483535f96..8b879d1e4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ import PIL # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = "2.4" +needs_sphinx = "7.3" # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom @@ -121,12 +121,7 @@ nitpicky = True # generating warnings in “nitpicky mode”. Note that type should include the domain name # if present. Example entries would be ('py:func', 'int') or # ('envvar', 'LD_LIBRARY_PATH'). -nitpick_ignore = [ - # Sphinx does not understand typing.Literal[-1] - # Will be fixed in a future version. - # https://github.com/sphinx-doc/sphinx/pull/11904 - ("py:obj", "typing.Literal[-1, 1]"), -] +# nitpick_ignore = [] # -- Options for HTML output ---------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 3ce082fb9..328088e05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ dynamic = [ docs = [ "furo", "olefile", - "sphinx>=2.4", + "sphinx>=7.3", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-removed-in",