diff options
author | Andrey Kislyuk <kislyuk@gmail.com> | 2023-05-06 15:52:33 -0700 |
---|---|---|
committer | Andrey Kislyuk <kislyuk@gmail.com> | 2023-05-06 15:52:33 -0700 |
commit | e95fc2f78db2ca6a2512a640bce921be67f49bab (patch) | |
tree | e24010bbb0c9691d9333eb8961b4bcfff59318f5 | |
parent | a35e9a610ac3d26b0b44b1fb177826b4a16fdc18 (diff) |
Use sphinx-copybutton
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | docs/conf.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ init_docs: cd docs; sphinx-quickstart docs: - python -m pip install furo + python -m pip install furo sphinx-copybutton sphinx-build docs docs/html install: diff --git a/docs/conf.py b/docs/conf.py index c372081..08b0025 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,7 +7,7 @@ version = "" release = "" language = "en" master_doc = "index" -extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"] +extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx_copybutton"] source_suffix = [".rst", ".md"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] pygments_style = "sphinx" |