# sphinx-build > Sphinx 文档生成器。 > 更多信息:。 - 构建文档: `sphinx-build -b {{html|epub|text|latex|man|...}} {{path/to/source_dir}} {{path/to/build_dir}}` - 构建用于 readthedocs.io 的文档(需要 sphinx-rtd-theme pip 包): `sphinx-build -b {{html}} {{path/to/docs_dir}} {{path/to/build_dir}}`