diff --git a/docs/source/conf.py b/docs/source/conf.py index ae18bcd..4ef7771 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -108,6 +108,9 @@ # directories to ignore when looking for source files. exclude_patterns = ["build"] +# Mock imports so API docs render without installing dependencies. +autodoc_mock_imports = ["diffpy.utils"] + # The reST default role (used for this markup: `text`) to use for all # documents. # default_role = None diff --git a/news/docs-render.rst b/news/docs-render.rst new file mode 100644 index 0000000..8519b70 --- /dev/null +++ b/news/docs-render.rst @@ -0,0 +1,23 @@ +**Added:** + +* No news added: mock diffpy.utils and add it as dependency to docs.txt + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +*