JIRA: RELENG-16
Change-Id: I25160481d8da6043858785c541d44dc1f38906f0
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
sed -i "s/_sha1_/$_git_sha1/g" "$dir/index.rst"
if [[ ! -f "$dir/conf.py" ]] ; then
sed -i "s/_sha1_/$_git_sha1/g" "$dir/index.rst"
if [[ ! -f "$dir/conf.py" ]] ; then
- cp "etc/conf.py" "$dir/conf.py"
+ cp "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
_title=$(cd $dir; python -c "$_get_title_script")
echo "latex_documents = [('index', '$_name.tex', '$_title', 'OPNFV', 'manual'),]" >> "$dir/conf.py"
fi