Skip to content

Commit

Permalink
use autodoc typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Dec 14, 2023
1 parent 6a57997 commit 2dcbb37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pytket/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx_autodoc_typehints",
"sphinx.ext.mathjax",
"sphinx.ext.viewcode",
"sphinx_copybutton",
Expand Down
1 change: 1 addition & 0 deletions pytket/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
sphinx >= 4.5, <7
sphinx_autodoc_annotation >= 1.0
sphinx-autodoc-typehints
sphinx_book_theme ~= 1.0.1
sphinx-copybutton
jupyter-sphinx
Expand Down

0 comments on commit 2dcbb37

Please sign in to comment.