Skip to content

Commit c7f1e6d

Browse files
committed
Add view source code button
1 parent 306548b commit c7f1e6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs_generate/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
extensions = [
3030
"sphinx.ext.autodoc",
3131
"sphinx_autodoc_typehints",
32+
# https://www.sphinx-doc.org/en/master/usage/extensions/viewcode.html
33+
"sphinx.ext.viewcode",
3234
]
3335

3436
# autodoc_typehints options https://github.com/agronholm/sphinx-autodoc-typehints#options

0 commit comments

Comments
 (0)