Update requirements for building docs

- Mock requirements that are not needed using 'autodoc_mock_imports'
- Add necessary requirements to requirements.txt
- These changes should mean the docs can be built without first
  installing gprMax
这个提交包含在:
Nathan Mannall
2025-07-17 15:18:48 +01:00
父节点 5ef4fda0db
当前提交 a3f0a64cb8
共有 2 个文件被更改,包括 14 次插入0 次删除

查看文件

@@ -1,5 +1,9 @@
cython>=0.20
numpy>=1.9
colorama
reframe-hpc
scipy
typing_extensions
# Note: beware of https://github.com/readthedocs/sphinx_rtd_theme/issues/1115
docutils==0.17.1

查看文件

@@ -29,6 +29,16 @@ extensions = [
"sphinx.ext.autosummary",
]
autodoc_mock_imports = [
"h5py",
"humanize",
"mpi4py_fft",
"mpi4py",
"psutil",
"terminaltables",
"tqdm",
]
# Figure numbering
numfig = True