Skip to content

Commit aff9b35

Browse files
authored
Merge pull request #75 from Tieqiong/conf
modify doc/conf.py, reflect changes in test file
2 parents 2577d00 + cb0e8bf commit aff9b35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
from importlib.metadata import version
1919
from pathlib import Path
2020

21+
autodoc_mock_imports = ["importlib.metadata"]
22+
2123
# If extensions (or modules to document with autodoc) are in another directory,
2224
# add these directories to sys.path here. If the directory is relative to the
2325
# documentation root, use Path().resolve() to make it absolute, like shown here.

0 commit comments

Comments
 (0)