Skip to content

Commit

Permalink
docs: add copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Aug 15, 2023
1 parent 456e175 commit ee243d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx.ext.napoleon",
"sphinx_copybutton",
]

myst_enable_extensions = ["deflist", "colon_fence"]
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ dependencies = [
[project.optional-dependencies]
tests = ["hypothesis", "pytest"]
typing = ["mypy"]
docs = ["sphinx", "sphinx-notfound-page", "furo", "myst-parser"]
docs = [
"sphinx",
"sphinx-notfound-page",
"sphinx-copybutton",
"furo",
"myst-parser",
]
dev = ["argon2-cffi[tests,typing]", "tox>4"]

[project.urls]
Expand Down

0 comments on commit ee243d2

Please sign in to comment.