File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export PATH="${TMP_DIR}:${PATH}"
44
44
cd " ${ROOT} "
45
45
46
46
# Update tables of contents if necessary.
47
- find . -name ' *.md' -not -path " ./vendor/*" -not -path " ./pkg/*" \
47
+ find . -name ' *.md' -not -path " ./vendor/*" -not -path " ./pkg/*" -not -path " ./site/* " \
48
48
| grep -Fxvf hack/.notableofcontents \
49
49
| xargs mdtoc --inplace --max-depth=5 || (
50
50
echo " Failed generating TOC. If this failed silently and you are on mac, try 'brew install grep'"
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ cd "${ROOT}"
44
44
45
45
echo " Checking table of contents are up to date..."
46
46
# Verify tables of contents are up-to-date
47
- find . -name ' *.md' -not -path " ./vendor/*" -not -path " ./pkg/*" \
47
+ find . -name ' *.md' -not -path " ./vendor/*" -not -path " ./pkg/*" -not -path " ./site/* " \
48
48
| grep -Fxvf hack/.notableofcontents \
49
49
| xargs mdtoc --inplace --max-depth=5 --dryrun || (
50
50
echo " Table of content not up to date. If this failed silently and you are on mac, try 'brew install grep'"
You can’t perform that action at this time.
0 commit comments