Skip to content

Commit

Permalink
Undo sphinx req changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Aug 31, 2024
1 parent 73320c6 commit a3c2777
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build']

# Sphinx 4.4+ required for autodoc_typehints_format
needs_sphinx = '4.4'
# Sphinx 4.0+ required for autodoc_typehints_description_traget
needs_sphinx = '4.0'

nitpicky = True
nitpick_ignore = [
Expand Down Expand Up @@ -105,7 +105,6 @@
autodoc_member_order = 'bysource'
autodoc_typehints = 'description'
autodoc_typehints_description_target = 'documented'
autodoc_typehints_format = 'short'

# sphinx.ext.intersphinx
intersphinx_mapping = {
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ docs = [
"nbsphinx>=0.8.5",
# release versions missing files, must install from master
"pytorch-sphinx-theme",
# sphinx 4.4+ required for autodoc_typehints_format
# sphinx 4+ required for autodoc_typehints_description_target
# sphinx 6+ is incompatible with pytorch-sphinx-theme
# https://github.com/pytorch/pytorch_sphinx_theme/issues/175
"sphinx>=4.4,<6",
"sphinx>=4,<6",
]
style = [
# mypy 0.900+ required for pyproject.toml support
Expand Down Expand Up @@ -233,6 +233,7 @@ filterwarnings = [
"ignore:ast.* is deprecated and will be removed in Python 3.14:DeprecationWarning:docstring_parser.attrdoc",
# https://github.com/python/cpython/pull/102953
"ignore:Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata:DeprecationWarning:torchgeo.datasets.utils",
"ignore:Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata:DeprecationWarning:torchgeo.datasets.digital_typhoon",
"ignore:Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata:DeprecationWarning:torchvision.datasets.utils",
# https://github.com/kornia/kornia/pull/2967
"ignore:`torch.cuda.amp.custom_fwd\\(args...\\)` is deprecated.:FutureWarning:kornia.feature.lightglue",
Expand Down

0 comments on commit a3c2777

Please sign in to comment.