Commit d265b6f
committed
Fix Sphinx theme loading by removing invalid import
The issue was that conf.py was trying to import sphinx_rtd_theme as a module
from the local directory, which doesn't work with modern Sphinx versions.
Changes:
- Removed: sys.path.insert for sphinx_rtd_theme directory
- Removed: import sphinx_rtd_theme (invalid with local theme)
- Added: html_theme_path = ["."] to point to local theme directory
Now Sphinx will find the local sphinx_rtd_theme/ directory without the
problematic import statement that was causing 'no setup() function' error.
Error was: 'extension sphinx_rtd_theme has no setup() function'1 parent 0f9006d commit d265b6f
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
0 commit comments