Skip to content

Commit db473db

Browse files
committed
feat(docs): Add code copy button plugin
1 parent ec934ef commit db473db

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
sphinx
22
myst-parser
33
furo
4-
sphinxcontrib-mermaid
4+
sphinxcontrib-mermaid
5+
sphinx-copybutton

source/_templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "furo/page.html" %}
1+
{% extends "!page.html" %}
22

33
{% block content %}
44
{{ super() }}

source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
extensions = [
1818
'myst_parser',
1919
'sphinxcontrib.mermaid',
20+
'sphinx_copybutton',
2021
]
2122
source_suffix = {
2223
'.rst': 'restructuredtext',

0 commit comments

Comments
 (0)