Revision 6a8190a5
b/ci/make_docs.sh | ||
---|---|---|
2 | 2 |
|
3 | 3 |
# Copied from main Synnefo repository |
4 | 4 |
# snf-vncauthproxy has no Sphinx-based docs yet |
5 |
exit 0 |
|
6 | 5 |
|
7 | 6 |
set -e |
8 | 7 |
|
9 | 8 |
DOCS_DIR=$1 |
10 | 9 |
|
10 |
# Make sure the $DOCS_DIR exists, otherwise |
|
11 |
# buildbot/common.py will throw exception |
|
12 |
mkdir -p $DOCS_DIR |
|
13 |
cat << EOF >$DOCS_DIR/index.html |
|
14 |
<html> |
|
15 |
<body> |
|
16 |
No docs yet. |
|
17 |
</body> |
|
18 |
</html> |
|
19 |
EOF |
|
20 |
|
|
21 |
echo "Created documentation stub in $(pwd)/$DOCS_DIR" |
|
22 |
exit 0 |
|
23 |
|
|
11 | 24 |
cd docs |
12 | 25 |
make html |
13 | 26 |
cd - |
Also available in: Unified diff