tldr/pages/common/sphinx-build.md

13 lines
420 B
Markdown
Raw Normal View History

2019-07-31 12:11:59 +01:00
# sphinx-build
> Sphinx documentation generator.
> More information: <http://www.sphinx-doc.org/en/master/man/sphinx-build.html>.
- Build documentation:
`sphinx-build -b {{html|epub|text|latex|man|...}} {{path/to/source_dir}} {{path/to/build_dir}}`
- Build documentations intended for readthedocs.io (requires the sphinx-rtd-theme pip package):
`sphinx-build -b {{html}} {{path/to/docs_dir}} {{path/to/build_dir}}`