neams-th-coe / cardinal

High-Fidelity Multiphysics
https://cardinal.cels.anl.gov/
Other
91 stars 45 forks source link

Use contrib/moose in `moosedocs.py` #929

Closed nuclearkevin closed 2 months ago

nuclearkevin commented 2 months ago

Reason

Cardinal uses a unique location for it's MOOSE submodule. moosedocs.py should be pointed to the MOOSE submodule so the documentation website can be built without needing to set the MOOSE_DIR environment variable.

Design

Check contrib/moose when searching for the MOOSE submodule.

Impact

Allows building of the documentation website without throwing an error when MOOSE_DIR is not set by the user.