We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a89ed commit 43ca475Copy full SHA for 43ca475
docs/conf.py
@@ -34,6 +34,7 @@
34
extensions = [
35
"djangodocs",
36
"sphinx.ext.intersphinx",
37
+ "sphinx_copybutton",
38
]
39
40
# templates_path = ["_templates"]
@@ -57,3 +58,9 @@
57
58
59
html_theme = "furo"
60
html_static_path = ["_static"]
61
+
62
+# -- Options for copy button -------------------------------------------------
63
+# https://sphinx-copybutton.readthedocs.io/en/latest/use.html#use-and-customize
64
65
+copybutton_prompt_text = r">>> |\.\.\. |\$ "
66
+copybutton_prompt_is_regexp = True
pyproject.toml
@@ -37,6 +37,7 @@ classifiers = [
docs = [
"sphinx>=7",
"furo>=2025.7.19",
+ "sphinx-copybutton",
41
42
43
[project.urls]
0 commit comments