项目文件夹

文件
Konstantinos Vandikas eca9b8ef08 allow for configuring default_dir (#3277)
* allow for configuring default_dir

* allow for using DGLDEFAULTDIR environment variable

* Update env_var.rst

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-08-26 17:32:16 +00:00
..
2018-11-08 22:57:16 -05:00
2021-08-20 02:19:46 +00:00
2020-08-24 10:54:40 +00:00

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:

  1. build tutorials that uses MXNet as backend
  2. 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.