-
Notifications
You must be signed in to change notification settings - Fork 358
Description
In another project we are running into issues because readthedocs doesn't consistently apply the pydata bootstrap theme's "re-classing" of blocks in order to map onto the bootstrap docs (e.g. making admonition become alert like here: https://github.com/pandas-dev/pydata-bootstrap-sphinx-theme/blob/master/pandas_sphinx_theme/bootstrap_html_translator.py#L44).
It got me thinking, manually re-classing a bunch of Sphinx objects may not be the most robust solution. If people have CSS customizations etc, they'd probably break if the user changed themes, and any extensions that depend on the basic Sphinx classes wouldn't work because the would have been replaced.
Is there any other way we can easily apply default bootstrap themeing to Sphinx classes? Maybe this is one way to do it: https://www.sitepoint.com/sass-semantically-extend-bootstrap/