forked from pytorch/torchrec
-
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.
Add instructions on how to generate doc (pytorch#1995)
Summary: Pull Request resolved: pytorch#1995 Instructions copied from torchtnt Reviewed By: PaulZhang12 Differential Revision: D57286941 fbshipit-source-id: 25ea27ff93f2fe22d9e9eff318ad2c4c52c1eb11
- Loading branch information
1 parent
fca454d
commit ea1d823
Showing
2 changed files
with
30 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Docs | ||
========== | ||
|
||
|
||
## Building the docs | ||
|
||
To build and preview the docs run the following commands: | ||
|
||
```bash | ||
cd docs | ||
pip3 install -r requirements.txt | ||
make html | ||
python3 -m http.server 8082 --bind :: | ||
``` | ||
|
||
Now you should be able to view the docs in your browser at the link provided in your terminal. | ||
|
||
To reload the preview after making changes, rerun: | ||
|
||
```bash | ||
make html | ||
python3 -m http.server 8082 --bind :: | ||
``` |
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