diff --git a/docs/source/conf.py b/docs/source/conf.py index 6163de976d..5773532a23 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -178,8 +178,8 @@ html_theme_path = [pt_lightning_sphinx_theme.get_html_theme_path()] # documentation. html_theme_options = { - 'pytorch_project': info.__homepage__, - 'canonical_url': info.__homepage__, + 'pytorch_project': 'https://pytorchlightning.ai', + 'canonical_url': info.__docs_url__, 'collapse_navigation': False, 'display_version': True, 'logo_only': False, diff --git a/pytorch_lightning/info.py b/pytorch_lightning/info.py index 0e7a1c25a7..b00d194642 100644 --- a/pytorch_lightning/info.py +++ b/pytorch_lightning/info.py @@ -7,6 +7,7 @@ __author_email__ = 'waf2107@columbia.edu' __license__ = 'Apache-2.0' __copyright__ = f'Copyright (c) 2018-{_this_year}, {__author__}.' __homepage__ = 'https://github.com/PyTorchLightning/pytorch-lightning' +__docs_url__ = "https://pytorch-lightning.readthedocs.io/en/stable/" # this has to be simple string, see: https://github.com/pypa/twine/issues/522 __docs__ = ( "PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers."