Skip to content

Commit

Permalink
Merge pull request #1637 from KPatr1ck/docs
Browse files Browse the repository at this point in the history
[Audio][docs]Update README.md
  • Loading branch information
zh794390558 authored Apr 1, 2022
2 parents 5bff096 + 585eb9a commit 05b8ba8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
7 changes: 7 additions & 0 deletions paddleaudio/README.md
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 .`
12 changes: 9 additions & 3 deletions paddleaudio/docs/README.md
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.

0 comments on commit 05b8ba8

Please sign in to comment.