diff --git a/conf.py b/conf.py index 98091a240..7ad81c245 100644 --- a/conf.py +++ b/conf.py @@ -8,7 +8,7 @@ dir_path = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, os.path.abspath(dir_path + '/_ext')) now = datetime.datetime.now() -extensions = ['sphinx_rtd_theme', 'sphinx_rtd_dark_mode'] +extensions = ['sphinx_rtd_theme', 'sphinx_rtd_dark_mode', 'sphinx_copybutton'] # General information about the project. copyright = str(now.year) + ' Nextcloud GmbH' diff --git a/requirements.txt b/requirements.txt index a2103353a..43b91d8d4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,6 +18,7 @@ rst2pdf==0.101 smartypants==2.0.1 snowballstemmer==2.2.0 Sphinx==7.2.6 +sphinx-copybutton==0.5.2 sphinx-rtd-theme==2.0.0 sphinx-rtd-dark-mode==1.3.0 sphinxcontrib-applehelp==1.0.8