dmlc--dgl
5be937a7fb
* Update * Update * Update * Update * Update * Update * Update * Update * Update * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Update * Update * Add files via upload * Add files via upload * Update * Lint * Add files via upload * Lint * Update * Update * Update * Update * Update * Lint Fix * Lint Co-authored-by: Ubuntu <ubuntu@ip-172-31-12-161.us-west-2.compute.internal> Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com> Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com>
DGL document and tutorial folder
Requirements
- sphinx
- sphinx-gallery
- sphinx_rtd_theme
- Both pytorch and mxnet installed.
Build documents
First, clean up existing files:
./clean.sh
Then build:
make html
Note: due to the backend loading issue, it actually takes 2 rounds to build:
- build tutorials that uses MXNet as backend
- build tutorials that uses PyTorch as backend
Render locally
cd build/html
python3 -m http.server 8000
Add new folders
Add the path of the new folder in the two lists examples_dirs and gallery_dirs in docs/source/conf.py.