Changeset - c7200d49b027
[Not reviewed]
0 3 0
Branko Majic (branko) - 9 months 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)
docs/conf.py
Show inline comments
 
@@ -13,13 +13,15 @@ copyright = '2018, 2019, 2020, 2021, 2023, 2024 Branko Majic'
 
author = 'Branko Majic'
 
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']
 

	
 
# -- Options for HTML output -------------------------------------------------
 
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
requirements.in
Show inline comments
 
@@ -30,11 +30,12 @@ molecule-plugins[vagrant]~=23.7.0
 
paramiko
 
pytest-env
 

	
 
# Documentation.
 
sphinx
 
sphinx-rtd-theme
 
sphinx-copybutton
 

	
 
# Python virtualenv management.
 
pip
 
pip-tools
 
setuptools
requirements.txt
Show inline comments
 
@@ -204,14 +204,17 @@ six==1.17.0
 
    # via python-dateutil
 
snowballstemmer==2.2.0
 
    # via sphinx
 
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
 
    # via sphinx
 
sphinxcontrib-devhelp==2.0.0
 
    # via sphinx
0 comments (0 inline, 0 general)