-
Notifications
You must be signed in to change notification settings - Fork 542
Update README.md in docs #2412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update README.md in docs #2412
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,27 @@ | ||
| ## Building Docs Locally | ||
| ### First Time Setup: | ||
| Create a new conda environment: | ||
|
|
||
| ```bash | ||
| # We require python>=3.9 and cmake>=3.10 | ||
| conda create -n habitat python=3.9 cmake=3.14.0 | ||
| conda activate habitat | ||
| ``` | ||
|
|
||
| Install required packages: | ||
| ``` | ||
| conda install -c conda-forge doxygen==1.8.16 | ||
| conda install jinja2 pygments docutils | ||
| cd habitat-sim | ||
| pip install -r requirements.txt --progress-bar off | ||
| pip install imageio imageio-ffmpeg | ||
| conda install -y -c conda-forge doxygen=1.9.5 | ||
| conda install -y jinja2 pygments docutils | ||
| ``` | ||
|
|
||
| To build the docs, you will also need to install the following | ||
| packages on Linux : | ||
| To build the docs, you will also need to install textlive on Fedora Linux : | ||
| ``` | ||
| sudo apt install --allow-change-held-packages \ | ||
| texlive-base \ | ||
| texlive-latex-extra \ | ||
| texlive-fonts-extra \ | ||
| texlive-fonts-recommended | ||
| sudo dnf install texlive-scheme-full | ||
| ``` | ||
|
|
||
|
danieltmeta marked this conversation as resolved.
|
||
| or on OSX : | ||
| ``` | ||
| brew install --cask mactex | ||
|
|
@@ -27,10 +34,14 @@ export PATH=$PATH:/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbi | |
|
|
||
| ### Building Docs: | ||
| ```bash | ||
| python setup.py build_ext --inplace | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. did this not work for you? I think this worked for me last time.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It didn't work for me, for some reason I had to go to the root and run ./build.sh, then go back down to the docs folder.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Interesting. I agree you can do the source build this way to get a similar result, but the inplace build should do it and worked for me in the past. |
||
| cd docs | ||
| git submodule update --init | ||
| ./build.sh # or ./build-public.sh when deploying to aihabitat.org | ||
|
|
||
| cd habitat-sim | ||
| ./build.sh | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You may need
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That might be it. My method somehow make the "magnum" part load, maybe that was the physics libraries.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Magnum will load either way, but some parts of the code are compiled out when bullet isn't included. |
||
|
|
||
| cd docs | ||
| ./build.sh | ||
| ``` | ||
|
|
||
| If you're having trouble with doxygen, check your version with | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.