-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1637 from KPatr1ck/docs
[Audio][docs]Update README.md
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# PaddleAudio | ||
|
||
PaddleAudio is an audio library for PaddlePaddle. | ||
|
||
## Install | ||
|
||
`pip install .` |
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,18 +1,24 @@ | ||
# Build docs for PaddleAudio | ||
|
||
Execute the following steps in **current directory**. | ||
|
||
## 1. Install | ||
|
||
`pip install Sphinx` | ||
`pip install sphinx_rtd_theme` | ||
`pip install Sphinx sphinx_rtd_theme` | ||
|
||
|
||
## 2. Generate API docs | ||
|
||
Exclude `paddleaudio.utils` | ||
Generate API docs from doc string. | ||
|
||
`sphinx-apidoc -fMeT -o source ../paddleaudio ../paddleaudio/utils --templatedir source/_templates` | ||
|
||
|
||
## 3. Build | ||
|
||
`sphinx-build source _html` | ||
|
||
|
||
## 4. Preview | ||
|
||
Open `_html/index.html` for page preview. |