-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Doc] Fix document building for multiple tensor backends (dmlc#301)
* remove loading backend in sse * build mxnet in a second run * a third run to fix everything * fix docstring in sampler * fix docstring in transformer * README for doc build * some reordering and printing * use filename_pattern instead of ignore_pattern to reduce warning at the cost of redundant work... * add env var to use mxnet in Jenkinsfile * remove step 3, it's already fixed by previous commit
- Loading branch information
1 parent
af23c45
commit 0cbe521
Showing
6 changed files
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
DGL document and tutorial folder | ||
================================ | ||
|
||
To build, | ||
Build documents | ||
--------------- | ||
First, clean up existing files: | ||
``` | ||
./clean.sh | ||
``` | ||
|
||
Then build: | ||
``` | ||
make html | ||
``` | ||
|
||
and then render the page `build/html/index.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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters