From 587071422455124e6b6eca058a98091d81a1c3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20W=C3=A4lchli?= Date: Mon, 6 Mar 2023 15:50:46 +0100 Subject: [PATCH] Switch theme for Fabric (#16961) --- docs/source-fabric/conf.py | 10 ++++++---- requirements/fabric/docs.txt | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/source-fabric/conf.py b/docs/source-fabric/conf.py index 96c8c34346..cab10b094a 100644 --- a/docs/source-fabric/conf.py +++ b/docs/source-fabric/conf.py @@ -16,7 +16,7 @@ import os import shutil import sys -import lai_sphinx_theme +import pt_lightning_sphinx_theme import lightning @@ -92,7 +92,8 @@ extensions = [ "sphinx_copybutton", "sphinx_paramlinks", "sphinx_togglebutton", - "lai_sphinx_theme.extensions.lightning", + # "lai_sphinx_theme.extensions.lightning", + "pt_lightning_sphinx_theme.extensions.lightning", ] # Add any paths that contain templates here, relative to this directory. @@ -154,8 +155,9 @@ pygments_style = None # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = "lai_sphinx_theme" -html_theme_path = [os.environ.get("LIT_SPHINX_PATH", lai_sphinx_theme.get_html_theme_path())] +# html_theme = "lai_sphinx_theme" +html_theme = "pt_lightning_sphinx_theme" +html_theme_path = [os.environ.get("LIT_SPHINX_PATH", pt_lightning_sphinx_theme.get_html_theme_path())] # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/requirements/fabric/docs.txt b/requirements/fabric/docs.txt index 506eb31a3c..052ad93ecb 100644 --- a/requirements/fabric/docs.txt +++ b/requirements/fabric/docs.txt @@ -1,4 +1,4 @@ -r ../docs.txt -lai-sphinx-theme +pt-lightning-sphinx-theme @ https://github.com/Lightning-AI/lightning_sphinx_theme/archive/master.zip tensorboard