Merge pull request #683 from collective/682-add-sphinx-copybutton

Add sphinx-copybutton to allow copying code blocks with a single clic…
pull/667/head^2
Nicco Kunzmann 2024-07-03 13:40:09 +01:00 zatwierdzone przez GitHub
commit 0e93f36011
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -65,10 +65,11 @@ New features:
- Test compatibility with Python 3.12
- Add function ``icalendar.use_pytz()``.
- Add `sphinx-autobuild` for `livehtml` Makefile target.
- Add ``sphinx-autobuild`` for ``livehtml`` Makefile target.
- Add pull request preview on Read the Docs, building only on changes to documentation-related files.
- Add link to pull request preview builds in the pull request description only when there are changes to documentation-related files.
- Add documentation of live HTML preview of documentation and clean up of ``install.rst``.
- Add ``sphinx-copybutton`` to allow copying code blocks with a single click of a button.
Bug fixes:

Wyświetl plik

@ -20,7 +20,8 @@ except ImportError:
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.coverage',
'sphinx.ext.viewcode'
'sphinx.ext.viewcode',
'sphinx_copybutton'
]
source_suffix = '.rst'
master_doc = 'index'

Wyświetl plik

@ -1,4 +1,5 @@
Sphinx>=1.2.3
sphinx_rtd_theme
sphinx-autobuild
sphinx-copybutton
.