mirror of
https://github.com/nextcloud/documentation.git
synced 2025-12-12 07:29:47 +07:00
feat(docs): Add a "copy" button to code blocks
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
This commit is contained in:
2
conf.py
2
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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user