summaryrefslogtreecommitdiff
path: root/doc/build/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/build/conf.py')
-rw-r--r--doc/build/conf.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/build/conf.py b/doc/build/conf.py
index 909032c71..dc85b6168 100644
--- a/doc/build/conf.py
+++ b/doc/build/conf.py
@@ -51,6 +51,12 @@ copybutton_prompt_text = (
)
copybutton_prompt_is_regexp = True
+# workaround
+# https://sphinx-copybutton-exclude-issue.readthedocs.io/en/v0.5.1-go/
+# https://github.com/executablebooks/sphinx-copybutton/issues/185
+# while we're at it, add our SQL css classes to also not be copied
+copybutton_exclude = ".linenos .show_sql .show_sql_print .popup_sql"
+
nitpicky = False
# The suffix of source filenames.