Closed tramsauer closed 5 years ago
This one seems to be complicated. I can build the docs on my local computer and they look fine. The autodoc build of only the Prior Engine fails also, but that is because numpy is not found (so probably it just needs to be added as mock).
One solution here would be to remove the prior logger initiatialization from the init.py . I can't help but feel that there must be another, more flexible solution, but this would include some try and error.
See also #41
solved with the new readthedocs.yml
file and installing with conda.
Sphinx auto-doc of modules is not working on ReadTheDocs:
This fails for all prior-engine modules, not only for
vegetation_prior_creator
.I understand that not all python modules are installed on readthedocs but many are 'mocked'/mimicked, hence
config_dict
as being a mocked object fromconfig_dict = yaml.load(..)
is not subscriptable. Does this problem only occur because the PriorLogger is placed in the__init.py__
file and hence is loaded(/executed?) even for gathering the auto-doc? @TonioF do you have experience with this?