Skip to content

Commit

Permalink
Updating doc version script to update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Yates committed Apr 5, 2017
1 parent 1205737 commit 70bf556
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion update-doc-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
set -x
cd $DIR/docs
# replace the version
find ./ -type f -exec sed -i -e "s/|version|/${version}/g" {} \;
find . -type f -exec sed -i -e "s/|version|/${version}/g" {} \;
find $DIR/conf.py -type f -exec sed -i -e "s/|version|/${version}/g" {} \;
cd -
# clean and extra docs
git clean -f

Expand Down

0 comments on commit 70bf556

Please sign in to comment.