diff --git a/docs/source/conf.py b/docs/source/conf.py index 82d3fc4822..b6e256faf7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -95,8 +95,8 @@ # documentation. html_theme_options = { - "pytorch_project": flash.__homepage__, - "canonical_url": flash.__homepage__, + 'pytorch_project': 'https://pytorchlightning.ai', + 'canonical_url': flash.__docs_url__, "collapse_navigation": False, "display_version": True, "logo_only": False, diff --git a/flash/__init__.py b/flash/__init__.py index 93af2e230d..d39e8b1d14 100644 --- a/flash/__init__.py +++ b/flash/__init__.py @@ -20,6 +20,7 @@ __license__ = 'Apache-2.0' __copyright__ = f"Copyright (c) 2020-2021, f{__author__}." __homepage__ = "https://github.com/PyTorchLightning/lightning-flash" +__docs_url__ = "https://lightning-flash.readthedocs.io/en/stable/" __docs__ = "Flash is a framework for fast prototyping, finetuning, and solving most standard deep learning challenges" __long_doc__ = """ Flash is a task-based deep learning framework for flexible deep learning built on PyTorch Lightning.