diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2015-11-26 23:50:34 +0900 |
---|---|---|
committer | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2015-11-27 00:04:49 +0900 |
commit | f179b48beb37fb4529dad8d919b530d26c779172 (patch) | |
tree | c41211740636375fe5ff1f307802e894e508237b /jjb | |
parent | fb1827faf5a431a896cded2dce945651a0e84aed (diff) |
jjb: make doc builder to use conf and logo in releng repo
Change-Id: I18d7c34101d8eced9041918c768499dd929b0a8a
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/releng-macros.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index 9848eeda8..1f3da79ba 100644 --- a/jjb/releng-macros.yaml +++ b/jjb/releng-macros.yaml @@ -168,6 +168,9 @@ print doctree[0].astext()" _git_sha1="$(git rev-parse HEAD)" + git clone ssh://gerrit.opnfv.org:29418/releng + [[ -d releng ]] + find docs/ -name 'index.rst' -printf '%h\n' | while read dir do _name="${dir##*/}" @@ -183,11 +186,11 @@ sed -i "s/_sha1_/$_git_sha1/g" "$dir/index.rst" if [[ ! -f "$dir/conf.py" ]] ; then - cp "docs/etc/conf.py" "$dir/conf.py" + cp releng/docs/etc/conf.py "$dir/conf.py" _title=$(cd $dir; python -c "$_get_title_script") echo "latex_documents = [('index', '$_name.tex', '$_title', 'OPNFV', 'manual'),]" >> "$dir/conf.py" fi - cp -f "docs/etc/opnfv-logo.png" "$dir/opnfv-logo.png" + cp -f releng/docs/etc/opnfv-logo.png "$dir/opnfv-logo.png" mkdir -p "$_output" |