diff --git a/docs/source-fabric/conf.py b/docs/source-fabric/conf.py index 16d4e1cb2c..d3998c106b 100644 --- a/docs/source-fabric/conf.py +++ b/docs/source-fabric/conf.py @@ -10,13 +10,11 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -import glob import inspect import os -import shutil import sys -import pt_lightning_sphinx_theme +import lai_sphinx_theme from lightning_utilities.docs import fetch_external_assets import lightning @@ -83,8 +81,7 @@ extensions = [ "sphinx_copybutton", "sphinx_paramlinks", "sphinx_togglebutton", - # "lai_sphinx_theme.extensions.lightning", - "pt_lightning_sphinx_theme.extensions.lightning", + "lai_sphinx_theme.extensions.lightning", ] # Add any paths that contain templates here, relative to this directory. @@ -147,8 +144,8 @@ pygments_style = None # a list of builtin themes. # # 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())] +html_theme = "lai_sphinx_theme" +html_theme_path = [os.environ.get("LIT_SPHINX_PATH", lai_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 052ad93ecb..506eb31a3c 100644 --- a/requirements/fabric/docs.txt +++ b/requirements/fabric/docs.txt @@ -1,4 +1,4 @@ -r ../docs.txt -pt-lightning-sphinx-theme @ https://github.com/Lightning-AI/lightning_sphinx_theme/archive/master.zip +lai-sphinx-theme tensorboard