Skip to content

Commit

Permalink
Update the README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FFFrog committed May 25, 2024
1 parent b1bb6b0 commit 8bbd4ad
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ jobs:

- name: Setup dependencies
run: |
pip install sphinx
pip install sphinx-rtd-theme
pip install --upgrade recommonmark
pip install -r requirements.txt
- name: Build
run: |
Expand Down
25 changes: 23 additions & 2 deletions README.md
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`
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Sphinx
sphinx-autobuild
sphinx-rtd-theme
recommonmark

0 comments on commit 8bbd4ad

Please sign in to comment.