Changeset - c7200d49b027
[Not reviewed]
0 3 0
Branko Majic (branko) - 1 month ago 2025-02-21 18:45:02
branko@majic.rs
MAR-245: Add conveniece copy buttons to documentation code blocks:

- Makes usage instructions testing a bit smoother/simpler.
- Unfortunately, does not add copy buttons to file path blocks.
3 files changed with 7 insertions and 1 deletions:
0 comments (0 inline, 0 general) First comment
docs/conf.py
Show inline comments
 
@@ -16,7 +16,9 @@ release = '8.0-dev'
 
# -- General configuration ---------------------------------------------------
 
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
 

	
 
extensions = []
 
extensions = [
 
    'sphinx_copybutton',
 
]
 

	
 
templates_path = ['_templates']
 
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
requirements.in
Show inline comments
 
@@ -33,6 +33,7 @@ pytest-env
 
# Documentation.
 
sphinx
 
sphinx-rtd-theme
 
sphinx-copybutton
 

	
 
# Python virtualenv management.
 
pip
requirements.txt
Show inline comments
 
@@ -207,8 +207,11 @@ snowballstemmer==2.2.0
 
sphinx==8.2.0
 
    # via
 
    #   -r requirements.in
 
    #   sphinx-copybutton
 
    #   sphinx-rtd-theme
 
    #   sphinxcontrib-jquery
 
sphinx-copybutton==0.5.2
 
    # via -r requirements.in
 
sphinx-rtd-theme==3.0.2
 
    # via -r requirements.in
 
sphinxcontrib-applehelp==2.0.0
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now