Skip to content

Commit

Permalink
Use shpinx-copybutton and sphinx-prompt
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Dec 15, 2023
1 parent 10ac577 commit 714cda9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"myst_parser",
"sphinx_design",
"sphinx_togglebutton",
"sphinx_copybutton",
"sphinx_prompt",
"breathe",
"sphinx.ext.intersphinx",
"hoverxref.extension",
Expand Down Expand Up @@ -43,3 +45,5 @@
"rtd",
"tmt",
]

copybutton_exclude = ".linenos, .gp, .go"
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ docs = [
"myst-parser",
"breathe",
"sphinx-hoverxref",
"sphinx-copybutton",
"sphinx-prompt",
]
dev = [
"pre-commit",
Expand Down

0 comments on commit 714cda9

Please sign in to comment.