fuel-library/utils/doc/build-all-rst.sh
Bogdan Dobrelya 06e887312b Add sphinx doc build with tox
* Add basic doc build system with sphinx and tox
* Update README.md for how-to build docs
* Update .gitignore to exclude docs builds
* Add index and move README for Noop tests framework
* TODO split and add more details for how-to noop tests
  setup/use/create

Inspired by https://github.com/openstack/openstack-manuals

Partial-bug: #1483288

Change-Id: I982e0baaff5de95c7d0c4b3f098754a80676f0d0
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-12-08 11:08:36 +01:00

28 lines
817 B
Bash
Executable File

#!/bin/bash -e
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
mkdir -p publish-docs
LINKCHECK=""
if [ $# -ge 0 ] ; then
if [ "$1" = "--linkcheck" ] ; then
LINKCHECK="$1"
fi
fi
for guide in noop-guide; do
utils/doc/build-rst.sh doc/$guide --build build \
--target $guide $LINKCHECK
done