Files
cheatsheet-tldr/tldr/sphinx-build
2025-09-13 00:17:31 +00:00

18 lines
570 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# sphinx-build
> Sphinx documentation generator.
> More information: <https://www.sphinx-doc.org/en/master/man/sphinx-build.html>.
- Build documentation:
`sphinx-build {{[-b|--builder]}} {{html|epub|text|latex|man|...}} {{path/to/source_directory}} {{path/to/build_directory}}`
- Build documentations intended for readthedocs.io (requires the sphinx-rtd-theme pip package):
`sphinx-build {{[-b|--builder]}} {{html}} {{path/to/docs_directory}} {{path/to/build_directory}}`