Skip to content

Commit

Permalink
Fix version selection button in docs (#1144)
Browse files Browse the repository at this point in the history
* Fix version selection button in docs

* Try 6.0.0

* Require sphinx < 6

* Pin conda too
  • Loading branch information
adamjstewart authored Feb 26, 2023
1 parent be9d25c commit 692a45a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ updates:
# setuptools releases new versions almost daily
- dependency-name: "setuptools"
update-types: ["version-update:semver-patch"]
# Sphinx 6 is incompatible with pytorch-sphinx-theme
# https://github.com/pytorch/pytorch_sphinx_theme/issues/175
- dependency-name: "sphinx"
# segmentation-models-pytorch pins timm, must update in unison
- dependency-name: "timm"
# torchvision pins torch, must update in unison
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies:
- scipy>=1.6.2
- segmentation-models-pytorch>=0.2
- setuptools>=42
- sphinx>=4
- sphinx>=4,<6
- timm>=0.4.12
- torchmetrics>=0.10
- zipfile-deflate64>=0.2
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# docs
ipywidgets==8.0.4
nbsphinx==0.8.12
sphinx==6.1.3
sphinx==5.3.0
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ docs =
# release versions missing files, must install from master
pytorch-sphinx-theme
# sphinx 4+ required for autodoc_typehints_description_target = documented
sphinx>=4,<7
# sphinx 6+ is incompatible with pytorch-sphinx-theme
# https://github.com/pytorch/pytorch_sphinx_theme/issues/175
sphinx>=4,<6
style =
# black 21.8+ required for Jupyter support
black[jupyter]>=21.8,<24
Expand Down

0 comments on commit 692a45a

Please sign in to comment.