Docs/robots (#6658)

This commit is contained in:
Jirka Borovec 2021-03-24 10:46:56 +01:00 committed by GitHub
parent cbca6cd354
commit 5733889203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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,

View File

@ -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."