-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Plone Sphinx Theme #1770
Use Plone Sphinx Theme #1770
Conversation
- Update requirements.txt, removing pins and obsolete packages - Move vale styles into proper location
Remove conflicting templates
The build failed with:
|
…guration accordingly.
Sorry about that. I forgot to actually delete the files instead of just moving them temporarily. Fixed in c2885d7. |
We need to decide which search option to use going forward. The default Sphinx search is the default for Documentation at this moment. Default Sphinx search
Custom Sphinx search (based on the default Sphinx search)
Nuclia
|
Two more Nuclia notes:
|
@stevepiercy I'd be fine with using a more basic search option in order to un-block moving forward with this theme -- but it doesn't seem to be working on the current deployment at https://plone6--1770.org.readthedocs.build/ Filtering by section and Nuclia-powered results are both nice to have, if someone's willing to do the work to set it up. |
@davisagli it's my intent to move ahead with the new theme with the default Sphinx search option soon. I prefer the Nuclia search option in the long-term. Right now I'm working on two issues with Plone Sphinx Theme, which I added to the checklist above. I found the fix to scrollspy, and will push that after I finish testing. For the Toggle primary sidebar issue, I think it exists upstream in Sphinx Book Theme, at least in my testing. We'll see if someone else can reproduce that issue upstream. I think it has to do with how its own upstream theme, PyData Sphinx Theme, recently moved that item into a different section of its theme. |
Nitpick: I'd prefer if the social media icons were somewhere less prominent than the top of the navigation column. |
- Remove `version` from the whole-page footer. - Sort html_theme_options
Yeah, the icons belong in the page content footer. I've pushed another commit to move them there, but I need to apply a style in Plone Sphinx Theme. |
@davisagli done and forced rebuilt preview: https://plone6--1770.org.readthedocs.build/ |
I created a new issue #1773 to track the "Toggle primary sidebar" item. The search for now will be the default Sphinx search. If someone wants to customize the JavaScript or work on Nuclia, I'd welcome either or both. This PR is blocking rendering of new required features in the docs, so I'm going to merge now. |
GitHub is rate limiting linkchecking, and has stalled. Merging. |
This is a WIP PR to test and develop Plone Sphinx Theme on Documentation, at long last!
Feel free to make suggestions.
Changes
Todos
active
class on the<li>
while scrolling, usingpydata-sphinx-theme.js
.<video>
to fit within the main content.Developing tips
To speed up docs build, you can temporarily comment and ignore files.
In
index.md
remove anything from thetoctree
directive (I moved them out of the directive, then commented them, as comments are not supported within this directive)In
conf.py
add the following:Contributions to improve Plone Sphinx Theme, and therefore all Plone documentation sites, are gratefully accepted.
📚 Documentation preview 📚: https://plone6--1770.org.readthedocs.build/