From a9f320841ec4297b9cbc368c416fa6e53c0991cb Mon Sep 17 00:00:00 2001 From: RoryBarnes Date: Fri, 2 Jan 2026 19:42:48 -0800 Subject: [PATCH] Restore sphinx_rtd_theme import to match BigPlanet/vspace config Reverted the removal of sphinx_rtd_theme import and sys.path configuration. Both BigPlanet and vspace use this exact pattern and build successfully. Changes: - Restored: import sphinx_rtd_theme - Restored: sys.path.insert(0, os.path.abspath('sphinx_rtd_theme')) - Removed the comment about using installed package The import is needed even though it appears unused - Sphinx requires it to locate the theme properly when using local theme directories. This now exactly matches the working configuration in BigPlanet and vspace. --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 7647b08..d6f78a5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,10 +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 sphinx_rtd_theme import os import sys - -sys.path.insert(0, os.path.abspath(".")) +sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('sphinx_rtd_theme')) # -- Project information -----------------------------------------------------