sphinx-copybutton: Using sphinx-copybutton breaks custom layout
First off - very cool package. Thanks for putting it together.
I tried adding sphinx-copybutton to our docs and got some unexpected results. It seems that something in the plugin is messing with the css for our custom bootstrap theme/css.
Left: expected layout without sphinx-copybutton, Right: layout with sphinx-copybutton.
Do you have thoughts on what might be causing this or how to fix it?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (9 by maintainers)
@choldgraf
sphinx-bootstrap-themefixed.Ha, I see why, https://github.com/choldgraf/sphinx-copybutton/commit/eb1f43138ba964135d9bf9c6a846f184964d7190#diff-2204ca80a3707660cd87ae77bceec515 this change did the trick.
Looks like you overwrite the bootstrap layout with your customize .css and .js CDN. So the bootstrap theme’s layout is not properly triggered.
Am I correct?
@choldgraf By the way, I appreciate your work.