You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2024/01/05 19:32:06 UTC
(couchdb) branch docs/copy-code-block-feature created (now cf1b1c86e)
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a change to branch docs/copy-code-block-feature
in repository https://gitbox.apache.org/repos/asf/couchdb.git
at cf1b1c86e Add extension for copying code blocks with just one click
This branch includes the following new commits:
new cf1b1c86e Add extension for copying code blocks with just one click
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(couchdb) 01/01: Add extension for copying code blocks with just one click
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a commit to branch docs/copy-code-block-feature
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit cf1b1c86eff686c563d37330d48c841ae6484d1a
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Fri Jan 5 20:31:46 2024 +0100
Add extension for copying code blocks with just one click
Add the sphinx-copybutton extension to get this functionality for code blocks.
---
src/docs/requirements.txt | 1 +
src/docs/src/conf.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/docs/requirements.txt b/src/docs/requirements.txt
index 5e9942b9b..de04c55ce 100644
--- a/src/docs/requirements.txt
+++ b/src/docs/requirements.txt
@@ -2,3 +2,4 @@ Sphinx==7.2.6
sphinx-rtd-theme==2.0.0
sphinxcontrib-httpdomain==1.8.1
sphinxcontrib-jquery==4.1
+sphinx-copybutton==0.5.2
diff --git a/src/docs/src/conf.py b/src/docs/src/conf.py
index eadfa2420..f672a3a31 100644
--- a/src/docs/src/conf.py
+++ b/src/docs/src/conf.py
@@ -24,6 +24,7 @@ extensions = [
"sphinx.ext.extlinks",
"sphinxcontrib.httpdomain",
"sphinxcontrib.jquery",
+ "sphinx_copybutton",
"configdomain",
]