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: Instructions copied from torchtnt Differential Revision: D57286941
- Loading branch information
1 parent
9fd4bc3
commit 50cced1
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