pipelines/components/google-cloud/docs/build_and_serve_from_github.sh

7 lines
172 B
Bash

# run from components/google-cloud
pip3 install -e "..[docs]"
builddir=$(mktemp -d)
sphinx-build -M html "source" $builddir
pushd $builddir/html
python3 -m http.server
popd