From b5d073bd6b8d7a1842397109f41b7d678c9c2d55 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Tue, 29 Oct 2024 15:56:33 -0700 Subject: [PATCH] pytorch theme --- docs/source/conf.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 93bac7e05..30794e8d1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -20,13 +20,15 @@ author = "Meta" # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = ["myst_parser", "sphinx_rtd_theme"] -import sphinx_pdj_theme +import pytorch_sphinx_theme -html_theme = "sphinx_pdj_theme" -html_theme_path = [sphinx_pdj_theme.get_html_theme_path()] +# html_theme = "sphinx_pdj_theme" +# html_theme_path = [sphinx_pdj_theme.get_html_theme_path()] # html_theme = "sphinx_rtd_theme" -# html_theme = "pytorch_sphinx_theme" +html_theme = "pytorch_sphinx_theme" +html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()] + # html_theme_path = ["../pytorch_sphinx_theme"]