-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
# The Documentory of Torch_NPU | ||
# The documentation of Ascend NPU for PyTorch(torch_npu) | ||
|
||
This repository is a collection of documentation for torch_npu (Ascend NPU for PyTorch). | ||
This repository is a collection of documentation, api and stuff like that for torch_npu (Ascend NPU for PyTorch). | ||
|
||
# Contributing | ||
|
||
If you are interested in the project, please feel free to contribute it. | ||
|
||
We use sphinx and rst file to create docs and you need to refer to rst syntax for help. | ||
Here is how you can create a new docs: | ||
|
||
1. Create a rst file. You can put it anywhere, but it must be better to classify it. | ||
2. Add the rst into the index.rst | ||
|
||
# Building locally | ||
|
||
When the development is ready, you can check and test it locally by following the directives below: | ||
|
||
1. Install the required dependencies: | ||
`pip install -r requirements.txt` | ||
|
||
2. Building: | ||
`make html` | ||
|
||
3. Server on localhost: | ||
`python -m http.server -d build/html 4000` |
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,4 @@ | ||
Sphinx | ||
sphinx-autobuild | ||
sphinx-rtd-theme | ||
recommonmark |