Skip to content

Commit

Permalink
docs: use fixed version of adjust links to 'stable' (#2476)
Browse files Browse the repository at this point in the history
* lightning-utilities ==0.11.2
  • Loading branch information
Borda authored Mar 28, 2024
1 parent 82e6abe commit a74372b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export FREEZE_REQUIREMENTS=1
# assume you have installed need packages
export SPHINX_MOCK_REQUIREMENTS=1
export SPHINX_FETCH_ASSETS=0
export SPHINX_PIN_RELEASE_VERSIONS=1

clean:
# clean all temp runs
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _set_root_image_path(page_path: str) -> None:
version_digits=3,
)
adjust_linked_external_docs(
"https://scikit-learn.org/stable/", "https://scikit-learn.org/{sklearn.__version__}/", _PATH_ROOT
"https://scikit-learn.org/stable/", "https://scikit-learn.org/{scikit-learn}/", _PATH_ROOT
)


Expand Down
5 changes: 1 addition & 4 deletions requirements/_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sphinx-togglebutton ==0.3.2
sphinx-copybutton ==0.5.2

lightning >=1.8.0, <2.3.0
lightning-utilities >=0.11.0, <0.12.0
lightning-utilities ==0.11.2
pydantic > 1.0.0, < 3.0.0

# integrations
Expand All @@ -24,6 +24,3 @@ pydantic > 1.0.0, < 3.0.0
-r multimodal.txt
-r text.txt
-r text_test.txt

# needed for replacing stable keyword with latest version linkd
scikit-learn

0 comments on commit a74372b

Please sign in to comment.