Questions on build documentation on Mastodon #26722
-
Hi all, I have a maybe simple question about building documentation on Mastodon, I fork the Mastodon on my local app, with moose and blackbear placed aside, I'm able to build the executable. Then when I run "./moosedocs.py" returns error: modules are not found for "MooseDocs" and "mooseutils". I try to change the python interpreter to use minforge/moose related ones, but it's not helping. I know the "MooseDocs" dir is under "moose/python", what should I do to link it to Mastodon? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You should be able to add the python folder within moose to your
This will be unset whenever you close your Terminal, so you'll need to re-add it if you want to use it again. |
Beta Was this translation helpful? Give feedback.
You should be able to add the python folder within moose to your
PYTHONPATH
. Much like your systemPATH
, it will check the directories placed there first for any modules. See the command you need to enter into your terminal below to set that before running moosedocs again (also make sure your moose environment is activated, as normal). Make sure you replace the sample path I use below with your actual path tomoose/python
!This will be unset whenever you close your Terminal, so you'll need to re-add it if you want to use it again.