build website in docker container

Summary: Do the website building in a docker container to avoid worrying about dependencies.

Reviewed By: nikhilaravi

Differential Revision: D30223892

fbshipit-source-id: 77b7b4630188167316891381f6ca9e9fbe7f0a05
This commit is contained in:
Jeremy Reizenstein
2021-10-06 18:08:25 -07:00
committed by Facebook GitHub Bot
parent d7d740abe9
commit 23ef666db1
3 changed files with 34 additions and 42 deletions

View File

@@ -61,13 +61,9 @@ TODO: Add support for latex in markdown in jupyter notebooks and embedded images
## Build and publish the website
The following script will build the tutorials and the website and push to the gh-pages
branch of `github.com/facebookresearch/pytorch3d`.
```
bash scripts/publish_website.sh
```
To update for a new version, you need to build the tutorials and the website and push to the gh-pages
branch of `github.com/facebookresearch/pytorch3d`. The instructions in `scripts/publish_website.sh`
bring it all together.
## Add a new tutorial