Skip to content

Commit 6d50d95

Browse files
committed
Skip the .tox dir when building docs
When running tools/build_docs.sh in a devstack dir that has also run tox build_docs needlessly runs shocco on the .tox files. Just skip them. Change-Id: Ia561e49ea2214ac75bd55964f1b86872118b2031
1 parent 31127a2 commit 6d50d95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ rm -f $GLOG
7575

7676
# Build list of scripts to process
7777
FILES=""
78-
for f in $(find . -name .git -prune -o \( -type f -name \*.sh -not -path \*shocco/\* -print \)); do
78+
for f in $(find . \( -name .git -o -name .tox \) -prune -o \( -type f -name \*.sh -not -path \*shocco/\* -print \)); do
7979
echo $f
8080
FILES+="$f "
8181
mkdir -p $FQ_HTML_BUILD/`dirname $f`;

0 commit comments

Comments
 (0)