Skip to content

Commit

Permalink
add mockimport
Browse files Browse the repository at this point in the history
  • Loading branch information
KindXiaoming committed Apr 29, 2024
1 parent 67b80da commit 0b11bf0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ def skip(app, what, name, obj, would_skip, options):
def setup(app):
app.connect("autodoc-skip-member", skip)

autodoc_mock_imports = ["torch"
autodoc_mock_imports = ["torch",
"matplotlib",
"numpy",
"sklearn",
"sympy",
"tqdm"
]


Expand Down

0 comments on commit 0b11bf0

Please sign in to comment.