Debian Codegraph @

libcudacxx/docs/serve

raw
1 #!/usr/bin/env sh
2
3 set -ex
4
5 mkdir -p build/docs
6 (
7 cd build/docs
8 cp ../../docs/Gemfile .
9 docker build -f ../../docs/Dockerfile -t libcudacxx:docs .
10 )
11 (
12 cd docs
13 docker run --rm -p 4000:4000 -v $(pwd):/srv/jekyll -u $(id -u):$(id -g) -it libcudacxx:docs bash -c "jekyll serve --watch --host 0.0.0.0"
14 )