From 6efe204c1acf87920325b42fcfe284b331b26f28 Mon Sep 17 00:00:00 2001 From: Alper Altuntas Date: Sun, 27 Oct 2024 16:48:46 -0600 Subject: [PATCH] add sphinx_rtd_theme to sphinx workflow --- .github/workflows/sphinx.yml | 2 +- docs/conf.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 5ce76c8..7e97b94 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -12,7 +12,7 @@ jobs: - name: Build HTML uses: ammaraskar/sphinx-action@master with: - requirements: pip install sphinx_rtd_theme + pre-build-command: python -m pip install tox - name: Upload artifacts uses: actions/upload-artifact@v4 with: diff --git a/docs/conf.py b/docs/conf.py index e3e4edc..35d53ea 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,6 +31,7 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + 'sphix_rtd_theme' ] # Add any paths that contain templates here, relative to this directory.