Skip to content

Commit 5a3ba37

Browse files
committed
Make sure Python 3 types show up in docs
1 parent 6af9f06 commit 5a3ba37

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ coverage
66
selenium
77
sphinx
88
sphinx_rtd_theme
9+
sphinx-autodoc-typehints
910
codecov
1011
nbval
1112
requests-mock

nbgrader/docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
'sphinx.ext.intersphinx',
3232
'sphinx.ext.mathjax',
3333
'sphinx.ext.viewcode',
34-
'sphinx.ext.napoleon'
34+
'sphinx.ext.napoleon',
35+
'sphinx_autodoc_typehints'
3536
]
3637

3738
# Add any paths that contain templates here, relative to this directory.

0 commit comments

Comments
 (0)