diff --git a/docs/_static/custom.css b/docs/_static/custom.css index de4f232..c39b59a 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -1,5 +1,5 @@ div.code-out > div.highlight > pre { - background-color: #d3effd !important; + background-color: #dbf4fa !important; } .green-bold { color: green; diff --git a/docs/conf.py b/docs/conf.py index c861ec8..08d139e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,6 +55,8 @@ texinfo_documents = [ ("index", slug, project, slug, project, "Miscellaneous"), ] +copybutton_selector = "div:not(.code-out) > div.highlight > pre" + def remove_noqa(app: Sphinx, what: str, name: str, obj, options, lines): new_lines = []