Skip to content

Build Doc for PaddleSpeech API

Hui Zhang edited this page Jul 11, 2022 · 2 revisions

Build docs for PaddleSpeech Execute the following steps in current directory.

  1. Install
pip install Sphinx sphinx_rtd_theme
  1. Generate API docs Generate API docs from doc string.
sphinx-apidoc -fMeT -o source ../paddleaudio ../paddleaudio/utils --templatedir source/_templates

sphinx-apidoc -o ./docs/source/api ./paddlespeech -f -e -M
  1. Build
sphinx-build source _html
  1. Preview Open _html/index.html for page preview.

Reference