
* Sphinx no longer supports Python 2.6 * Update vendored sphinxcontrib.programoutput from 0.9.0 to 0.10.0 * Documentation cannot be built in parallel * Let Travis install programoutput for us * Remove vendored sphinxcontrib-programoutput Recent updates to the sphinx package prevent the vendored version from being found in sys.path. We don't vendor sphinx, so it doesn't make sense to vendor sphinxcontrib-programoutput either.
21 lines
450 B
Bash
Executable File
21 lines
450 B
Bash
Executable File
#!/bin/bash -e
|
|
#
|
|
# Description:
|
|
# Builds Spack documentation and checks for
|
|
# possible syntax errors. Treats warnings as
|
|
# fatal errors.
|
|
#
|
|
# Usage:
|
|
# run-doc-tests
|
|
#
|
|
. "$(dirname $0)/setup.sh"
|
|
check_dependencies sphinx-apidoc sphinx-build dot git hg svn
|
|
|
|
# Move to documentation directory
|
|
# Allows script to be run from anywhere
|
|
cd "$SPACK_ROOT/lib/spack/docs"
|
|
|
|
# Treat warnings as fatal errors
|
|
make clean --silent
|
|
make SPHINXOPTS=-W
|