Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit d048fa4

Browse files
authored
Docs: link stable docs versions (#141)
* use stable docs * prune sphinx
1 parent 5473b05 commit d048fa4

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

.actions/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# Open in [![Open In Colab](https://colab.research.google.com/assets/colab-badge.png){{height="20px" width="117px"}}]({COLAB_REPO_LINK}/{REPO_NAME}/blob/{BRANCH_PUBLISHED}/{DIR_NOTEBOOKS}/%(local_ipynb)s)
3939
#
4040
# Give us a ⭐ [on Github](https://www.github.com/PytorchLightning/pytorch-lightning/)
41-
# | Check out [the documentation](https://pytorch-lightning.readthedocs.io/en/latest/)
41+
# | Check out [the documentation](https://pytorch-lightning.readthedocs.io/en/stable/)
4242
# | Join us [on Slack](https://join.slack.com/t/pytorch-lightning/shared_invite/zt-pw5v393p-qRaDgEk24~EjiZNBpSQFgQ)
4343
4444
"""

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ______________________________________________________________________
5858

5959
## Guidelines
6060

61-
For this section, we refer to read the [parent PL guidelines](https://pytorch-lightning.readthedocs.io/en/latest/CONTRIBUTING.html)
61+
For this section, we refer to read the [parent PL guidelines](https://pytorch-lightning.readthedocs.io/en/stable/CONTRIBUTING.html)
6262

6363
**Reminder**
6464

.github/workflows/ci_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
working-directory: ./docs
8080
run: |
8181
# First run the same pipeline as Read-The-Docs
82-
make html --debug --jobs $(nproc) SPHINXOPTS="-W --keep-going" -b linkcheck
82+
make html --debug SPHINXOPTS="-W --keep-going" -b linkcheck
8383
8484
- name: Upload built docs
8585
uses: actions/upload-artifact@v2

course_UvA-DL/09-normalizing-flows/NF_image_modeling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# %% [markdown]
22
# <div class="center-wrapper"><div class="video-wrapper"><iframe src="https://www.youtube.com/embed/U1fwesIusbg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div></div>
3-
# Throughout this notebook, we make use of [PyTorch Lightning](https://pytorch-lightning.readthedocs.io/en/latest/).
3+
# Throughout this notebook, we make use of [PyTorch Lightning](https://pytorch-lightning.readthedocs.io/en/stable/).
44
# The first cell imports our usual libraries.
55

66
# %%

course_UvA-DL/10-autoregressive-image-modeling/Autoregressive_Image_Modeling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
# First of all, we need to import our standard libraries. Similarly as in
2828
# the last couple of tutorials, we will use [PyTorch
29-
# Lightning](https://pytorch-lightning.readthedocs.io/en/latest/) here as
29+
# Lightning](https://pytorch-lightning.readthedocs.io/en/stable/) here as
3030
# well.
3131

3232
# %%

docs/source/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@
219219
# -- Options for intersphinx extension ---------------------------------------
220220

221221
# Example configuration for intersphinx: refer to the Python standard library.
222-
intersphinx_mapping = {
223-
"python": ("https://docs.python.org/3", None),
224-
"torch": ("https://pytorch.org/docs/stable/", None),
225-
"numpy": ("https://docs.scipy.org/doc/numpy/", None),
226-
}
222+
# intersphinx_mapping = {
223+
# "python": ("https://docs.python.org/3", None),
224+
# "torch": ("https://pytorch.org/docs/stable/", None),
225+
# "numpy": ("https://docs.scipy.org/doc/numpy/", None),
226+
# }

lightning_examples/datamodules/.meta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: This notebook will walk you through how to start using Datamodules.
88
the release of `pytorch-lightning` version 0.9.0, we have included a new class called
99
`LightningDataModule` to help you decouple data related hooks from your `LightningModule`.
1010
The most up to date documentation on datamodules can be found
11-
[here](https://pytorch-lightning.readthedocs.io/en/latest/extensions/datamodules.html).
11+
[here](https://pytorch-lightning.readthedocs.io/en/stable/extensions/datamodules.html).
1212
requirements:
1313
- torchvision
1414
accelerator:

lightning_examples/mnist-tpu-training/.meta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88
- Image
99
description: In this notebook, we'll train a model on TPUs. Updating one Trainer flag is all you need for that.
1010
The most up to documentation related to TPU training can be found
11-
[here](https://pytorch-lightning.readthedocs.io/en/latest/advanced/tpu.html).
11+
[here](https://pytorch-lightning.readthedocs.io/en/stable/advanced/tpu.html).
1212
requirements:
1313
- torchvision
1414
accelerator:

lightning_examples/mnist-tpu-training/mnist-tpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# ### Defining The `MNISTDataModule`
2323
#
2424
# Below we define `MNISTDataModule`. You can learn more about datamodules
25-
# in [docs](https://pytorch-lightning.readthedocs.io/en/latest/extensions/datamodules.html).
25+
# in [docs](https://pytorch-lightning.readthedocs.io/en/stable/extensions/datamodules.html).
2626

2727

2828
# %%

0 commit comments

Comments
 (0)