Skip to content

Commit 5733889

Browse files
authored
Docs/robots (#6658)
1 parent cbca6cd commit 5733889

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ def _transform_changelog(path_in: str, path_out: str) -> None:
178178
# documentation.
179179

180180
html_theme_options = {
181-
'pytorch_project': info.__homepage__,
182-
'canonical_url': info.__homepage__,
181+
'pytorch_project': 'https://pytorchlightning.ai',
182+
'canonical_url': info.__docs_url__,
183183
'collapse_navigation': False,
184184
'display_version': True,
185185
'logo_only': False,

pytorch_lightning/info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
__license__ = 'Apache-2.0'
88
__copyright__ = f'Copyright (c) 2018-{_this_year}, {__author__}.'
99
__homepage__ = 'https://github.com/PyTorchLightning/pytorch-lightning'
10+
__docs_url__ = "https://pytorch-lightning.readthedocs.io/en/stable/"
1011
# this has to be simple string, see: https://github.com/pypa/twine/issues/522
1112
__docs__ = (
1213
"PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers."

0 commit comments

Comments
 (0)