Open
Description
Description
I am following the Getting Started Guide for building the project, but got the following build error. I ran pip install sphinx
to fix this.
The Guide should include a step to install Python dependencies.
[60/1812][ 3%][1.865s] Building HTML documentation
FAILED: docs/CMakeFiles/docs_html /Volumes/src/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/docs/CMakeFiles/docs_html
cd /Volumes/src/swift-project/swift/docs && /Users/jpc/.pyenv/shims/sphinx-build -D latex_elements.papersize=letter -d /Volumes/src/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/doctrees -b html . /Volumes/src/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/docs/html
pyenv: sphinx-build: command not found
The `sphinx-build' command exists in these Python versions:
3.9.6
Reproduction
pip uninstall sphinx
utils/build-script --skip-build-benchmarks \
--swift-darwin-supported-archs "$(uname -m)" \
--release-debuginfo --swift-disable-dead-stripping \
--bootstrapping=hosttools
Expected behavior
I expected the Getting Started Guide to contain all the information I needed to get started.
Environment
n/a
Additional information
No response