Skip to content

Commit 7d6e38a

Browse files
jmckennagithub-actions[bot]
authored andcommitted
add copybutton to code blocks
1 parent 4bb1045 commit 7d6e38a

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
@@ -50,7 +50,7 @@ def __getattr__(cls, name):
5050
#extensions = ['labels', 'sphinxcontrib.spelling']
5151

5252
extensions = ['labels', 'sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.viewcode'
53-
, 'sphinxcontrib.jquery']
53+
, 'sphinxcontrib.jquery', 'sphinx_copybutton']
5454

5555
autosummary_generate = True # when True create a page for each mapscript class
5656

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
alabaster==0.7.16
22
sphinx==7.3.7
3+
sphinx-copybutton==0.5.2
34
sphinxcontrib-jquery==4.1
45
--extra-index-url https://test.pypi.org/simple/
56
mapscript==8.1.0

0 commit comments

Comments
 (0)