CI: Add python3-furo package for documentation build#5246
CI: Add python3-furo package for documentation build#5246KaganCanSit wants to merge 1 commit intorandombit:masterfrom
Conversation
d208b57 to
fb2251e
Compare
|
Fist I change |
The "docs" CI job runs on Ubuntu 24.04 and there is a "furo" package (without python3 prefix). That should work. |
The Sphinx configuration uses furo theme for mobile responsive support and dark mode. Without this package, the build falls back to agogo theme which has poor mobile support. Fixes randombit#5243
fb2251e to
2c36c6e
Compare
Thanks, I had tried it as |
reneme
left a comment
There was a problem hiding this comment.
I had tried it as python3-furo. Honestly, the presence of the python prefix in sphinx probably led me to think that way. I'll try it now.
... strange naming of packages indeed. Change looks good now, thanks.
Though, I'm not sure that this CI build result is the artifact that @randombit is typically deploying straight to botan.randombit.net, so this may or may not address #5243.
I understand. During development, I considered the possibility that the website was published from this repository on the Thanks for the quick review and guidance. |
Hello,
This PR was created to fix mobile-responsive layout issues on the documentation website by ensuring the
furoSphinx theme is installed during CI documentation builds.(Issue: #5243)Note: I have limited experience in this area and received AI assistance during the investigation. While everything appears to work correctly, I would appreciate your review.
Investigation
First, I checked the issue on
Brave,EdgeandFirefoxbrowsers using the provided link and confirmed that the problem occurs specifically inFirefox. Then I performed local build operations with Sphinx and conducted testing.Initial Local Build
The following warning message during documentation compilation caught my attention:
Local Build After Adding Furo
The warning is gone. The site's dark mode capability has been activate and the mobile responsive problem has been resolved.
Root Cause
The theme fallback occurs due to this logic in
src/configs/sphinx/conf.py:Without
python3-furoinstalled in CI, the build falls back toagogotheme which lacks mobile responsive support.Screenshots
Here are screenshots of the furo theme in Mobile and Desktop mode:
This change might not be the ideal solution, but I believe it aligns with the intended configuration. I also appreciate the furo theme's dark mode support and clean structure.
Sincerely.