caffe/scripts/build_docs.sh

21 строка
402 B
Bash
Исходник Обычный вид История

2014-03-19 00:16:31 +04:00
#!/bin/bash
# Build documentation for display in web browser.
2014-03-19 00:16:31 +04:00
PORT=${1:-4000}
2014-11-14 10:31:34 +03:00
echo "usage: build_docs.sh [port]"
# Find the docs dir, no matter where the script is called
ROOT_DIR="$( cd "$(dirname "$0")"/.. ; pwd -P )"
cd $ROOT_DIR
# Gather docs.
scripts/gather_examples.sh
# Generate developer docs.
make docs
# Display docs using web server.
cd docs
jekyll serve -w -s . -d _site --port=$PORT