desy-ml / cheetah

Fast and differentiable particle accelerator optics simulation for reinforcement learning and optimisation applications.
https://cheetah-accelerator.readthedocs.io
GNU General Public License v3.0
28 stars 13 forks source link

Autodoc doesn't build properly on readthedocs #54

Closed jank324 closed 1 year ago

jank324 commented 1 year ago

See title.

It does build correctly locally. The following lines from the build output might be interesting:

WARNING: autodoc: failed to import module 'accelerator'; the following exception was raised:
No module named 'matplotlib'
WARNING: autodoc: failed to import module 'particles'; the following exception was raised:
No module named 'numpy'
WARNING: autodoc: failed to import module 'track_methods'; the following exception was raised:
No module named 'numpy'
WARNING: autodoc: failed to import module 'utils'; the following exception was raised:
No module named 'numpy'