Skip to content

Commit 85ee83a

Browse files
committed
mock diffpy.utils and add it to docs.txt
1 parent 65f2cf2 commit 85ee83a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@
108108
# directories to ignore when looking for source files.
109109
exclude_patterns = ["build"]
110110

111+
# Mock imports so API docs render without installing dependencies.
112+
autodoc_mock_imports = ["diffpy.utils"]
113+
111114
# The reST default role (used for this markup: `text`) to use for all
112115
# documents.
113116
# default_role = None

requirements/docs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ sphinx_rtd_theme
33
sphinx-copybutton
44
doctr
55
m2r2
6+
diffpy.utils

0 commit comments

Comments
 (0)