From 85ee83a1b852d575883a305e36d9573cfcfec36b Mon Sep 17 00:00:00 2001 From: Caden Myers Date: Tue, 3 Mar 2026 18:09:56 -0500 Subject: [PATCH 1/3] mock diffpy.utils and add it to docs.txt --- docs/source/conf.py | 3 +++ requirements/docs.txt | 1 + 2 files changed, 4 insertions(+) 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/requirements/docs.txt b/requirements/docs.txt index 1de813f..59a83b1 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -3,3 +3,4 @@ sphinx_rtd_theme sphinx-copybutton doctr m2r2 +diffpy.utils From b7e1b1ef072760ce4c46571684a698e8817ca1d1 Mon Sep 17 00:00:00 2001 From: Caden Myers Date: Tue, 3 Mar 2026 18:10:28 -0500 Subject: [PATCH 2/3] news --- news/docs-render.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 news/docs-render.rst 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:** + +* From a01de7ea3aa8e2198a917d9d192b2c44ce5a157b Mon Sep 17 00:00:00 2001 From: Caden Myers Date: Tue, 3 Mar 2026 18:14:48 -0500 Subject: [PATCH 3/3] rm diffpy.utils from docs.txt --- requirements/docs.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements/docs.txt b/requirements/docs.txt index 59a83b1..1de813f 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -3,4 +3,3 @@ sphinx_rtd_theme sphinx-copybutton doctr m2r2 -diffpy.utils