[Doc]: Fix xesmf
APIs not appearing in the API Reference page of the latest documentation
#430
Labels
type: docs
Updates to documentation
Describe your documentation update
xcdat.regridder.xesmf.XESMFRegridder
andxcdat.regridder.horizontal_xesmf
are not appearing the API Reference page onmain
(latest version).Root Cause
This issue is caused by a change in the Read The Docs build system not having the required dependencies for specific C modules found in ESMF.
pip install --no-deps
to meet the dependencies for Sphinx autodoc readthedocs/readthedocs.org#5512Solution
We need to mock "ESMF" imports because xesmf depends on ESMpy which depends on ESMF (has C modules). The Read The Docs build system does not have dependencies for building these C modules which causes a Python ImportError
with xesmf.
The text was updated successfully, but these errors were encountered: