Skip to content

Commit a3c2777

Browse files
committed
Undo sphinx req changes
1 parent 73320c6 commit a3c2777

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/conf.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
# This pattern also affects html_static_path and html_extra_path.
5151
exclude_patterns = ['_build']
5252

53-
# Sphinx 4.4+ required for autodoc_typehints_format
54-
needs_sphinx = '4.4'
53+
# Sphinx 4.0+ required for autodoc_typehints_description_traget
54+
needs_sphinx = '4.0'
5555

5656
nitpicky = True
5757
nitpick_ignore = [
@@ -105,7 +105,6 @@
105105
autodoc_member_order = 'bysource'
106106
autodoc_typehints = 'description'
107107
autodoc_typehints_description_target = 'documented'
108-
autodoc_typehints_format = 'short'
109108

110109
# sphinx.ext.intersphinx
111110
intersphinx_mapping = {

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ docs = [
103103
"nbsphinx>=0.8.5",
104104
# release versions missing files, must install from master
105105
"pytorch-sphinx-theme",
106-
# sphinx 4.4+ required for autodoc_typehints_format
106+
# sphinx 4+ required for autodoc_typehints_description_target
107107
# sphinx 6+ is incompatible with pytorch-sphinx-theme
108108
# https://github.com/pytorch/pytorch_sphinx_theme/issues/175
109-
"sphinx>=4.4,<6",
109+
"sphinx>=4,<6",
110110
]
111111
style = [
112112
# mypy 0.900+ required for pyproject.toml support
@@ -233,6 +233,7 @@ filterwarnings = [
233233
"ignore:ast.* is deprecated and will be removed in Python 3.14:DeprecationWarning:docstring_parser.attrdoc",
234234
# https://github.com/python/cpython/pull/102953
235235
"ignore:Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata:DeprecationWarning:torchgeo.datasets.utils",
236+
"ignore:Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata:DeprecationWarning:torchgeo.datasets.digital_typhoon",
236237
"ignore:Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata:DeprecationWarning:torchvision.datasets.utils",
237238
# https://github.com/kornia/kornia/pull/2967
238239
"ignore:`torch.cuda.amp.custom_fwd\\(args...\\)` is deprecated.:FutureWarning:kornia.feature.lightglue",

0 commit comments

Comments
 (0)