Commit 3d4d848
docs: Switch to shibuya theme with compatibility fixes
Configure documentation to use the shibuya theme (python3-shibuya-sphinx-theme) with proper compatibility fixes.
Changes:
- Switched html_theme from alabaster to shibuya
- Added monkey patch to fix incompatibility between shibuya's hardcoded pygments styles (github-light-default, github-dark-default) and available pygments version
- Override ShibuyaPygmentsBridge class attributes to use available styles:
* light_style_name: default
* dark_style_name: github-dark
- Configured shibuya theme options with GitHub URL and navigation links
- Enabled dark_code option for better code syntax highlighting
Build Status:
- Documentation builds successfully ✅
- 226 warnings (existing legacy content formatting)
- Shibuya theme renders correctly with proper light/dark mode support
This resolves the pygments.util.ClassNotFound error for 'github-dark-default' style and enables the modern shibuya theme for MultiFlexi documentation.
Co-Authored-By: Warp <agent@warp.dev>1 parent fffe737 commit 3d4d848
1 file changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
50 | | - | |
| 56 | + | |
51 | 57 | | |
52 | | - | |
| 58 | + | |
53 | 59 | | |
| 60 | + | |
54 | 61 | | |
55 | 62 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
60 | 71 | | |
61 | 72 | | |
62 | 73 | | |
| |||
0 commit comments