Switch theme for Fabric (#16961)
This commit is contained in:
parent
98b6e42df7
commit
5870714224
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue