-
Notifications
You must be signed in to change notification settings - Fork 339
Clean-up CSS classes for the custom elements (sidebars, toc items, ..) #37
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
Comments
closed by #662 ? |
To me the main question is if we want to keep But either way, we should document the use of this prefix, and the standardization on the sphinx-basic-ng naming, and consider this issue closed once we agree there |
Hi all, we've started using the PDST CSS in the Scientific Python Hugo Theme, in an effort to better align the themes and to utilize the accessibility work done here. Our sites are generated using a different toolchain (hugo + chroma, instead of sphinx + pygments), and as such our DOM also differs significantly. For us, it would be very helpful to (a) have class names be mapped to PDST concepts (vs bootstrap-doc theme or other designs) and (b) to have Would it be possible to agree on a prefix/naming scheme for this theme and to apply it throughout? I'd be happy to help out with such an effort. |
I think we are slowly moving toward this objective. We clearly decided to use the That will be one step toward a first stable release of this theme. |
Excellent, thanks @12rambau. And, to be clear, the goal, for now, would simply be to replace bd- with pdst-, or should there also be renaming to PDST terminology? |
Be careful we use "pst" without the "d" like in the logo. And I guess yes that would be a very good first step. |
Just noting that some kind of deprecation pathway at the least would be helpful here. Anybody that has special-cased CSS classes using the |
Thanks, Chris. I'll see how easy it is to add aliases first. |
Right now, the layout and CSS is a bit a mess, as a consequence of copy pasting things (eg from the bootstrap docs) to minimally "get things working". But so there are a few CSS classes (like
bd-links
,bd-toc-items
,bd-sidenav
,section-nav
,nav-item
,toc-entry
, ...) of which there are at least some redundant.We should also try to define a consistent terminology:
bd-
is coming from the "bootstrap docs", we could maybe rename this tobs-
of "bootstrap-sphinx")The text was updated successfully, but these errors were encountered: