support pre-hook in docs-build.sh 27/17227/3
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Wed, 20 Jul 2016 13:04:43 +0000 (22:04 +0900)
committerRyota Mibu <r-mibu@cq.jp.nec.com>
Fri, 22 Jul 2016 11:59:42 +0000 (11:59 +0000)
commitf59a2d4f1c5655e5ec4f3ab5fe70932ac2fa94f0
tree7051de9f4a7e45631ae33ba0a5f8ecfed39a01ab
parenta3174cb38b1dc22802da837d1bd0c3e117b9f43a
support pre-hook in docs-build.sh

Some projects need special pre steps before executing docs-build.sh .
For instance, opnfvdocs needs to download other repos which will be
composited. Also, apidoc creation is needed during docs build in
yardstick.

In order to support such cases, this patch introduces pre-hook in
docs-build.sh that provides much flexibility to projects and
simplifies job definition in releng.

Change-Id: If9f26c490671ec0788dc48dd4fccb4513d0ca777
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
build-composite.sh
docs/pre-hook.sh [new file with mode: 0755]
scripts/docs-build.sh