summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2021-01-07 00:41:19 -0600
committerGitHub <noreply@github.com>2021-01-07 00:41:19 -0600
commitd6c8d570667a86d94f8c485f89a0a559ef94f121 (patch)
tree4d4e96ae22617a56150454d6cc9189903bae5369
parent9bf46c9a8f2fe656ba47165a069ccbeaf589bcf1 (diff)
parent2ca12d8a7b317120f4d2f9c7b60308f281e78357 (diff)
downloadpyramid-d6c8d570667a86d94f8c485f89a0a559ef94f121.tar.gz
pyramid-d6c8d570667a86d94f8c485f89a0a559ef94f121.tar.bz2
pyramid-d6c8d570667a86d94f8c485f89a0a559ef94f121.zip
Merge pull request #3644 from stevepiercy/master
Add sphinx-copybutton to docs
-rw-r--r--docs/conf.py1
-rw-r--r--setup.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 613f38dca..a03c61ec7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -56,6 +56,7 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'sphinxcontrib.autoprogram',
+ 'sphinx_copybutton',
# enable pylons_sphinx_latesturl when this branch is no longer "latest"
# 'pylons_sphinx_latesturl',
]
diff --git a/setup.py b/setup.py
index d4fb3e336..04b78cbeb 100644
--- a/setup.py
+++ b/setup.py
@@ -47,6 +47,7 @@ docs_extras = [
'pylons-sphinx-themes >= 1.0.8', # Ethical Ads
'pylons_sphinx_latesturl',
'repoze.sphinx.autointerface',
+ 'sphinx-copybutton',
'sphinxcontrib-autoprogram',
]