Skip to content

Commit a8e05dc

Browse files
Merge pull request #11837 from nextcloud/copybutton
feat(docs): Add a "copy" button to code blocks
2 parents 95b2baa + 8cb68ea commit a8e05dc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
sys.path.insert(0, os.path.abspath(dir_path + '/_ext'))
99
now = datetime.datetime.now()
1010

11-
extensions = ['sphinx_rtd_theme', 'sphinx_rtd_dark_mode']
11+
extensions = ['sphinx_rtd_theme', 'sphinx_rtd_dark_mode', 'sphinx_copybutton']
1212

1313
# General information about the project.
1414
copyright = str(now.year) + ' Nextcloud GmbH'

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ rst2pdf==0.101
1818
smartypants==2.0.1
1919
snowballstemmer==2.2.0
2020
Sphinx==7.2.6
21+
sphinx-copybutton==0.5.2
2122
sphinx-rtd-theme==2.0.0
2223
sphinx-rtd-dark-mode==1.3.0
2324
sphinxcontrib-applehelp==1.0.8

0 commit comments

Comments
 (0)