We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8638e7b commit cc79a58Copy full SHA for cc79a58
Makefile
@@ -108,10 +108,10 @@ misspell-correction: $(MISSPELL)
108
$(MISSPELL) -w $(ALL_DOCS)
109
110
.PHONY: normalized-link-check
111
-# NOTE: we check `model/[a-z]*` to avoid `model/README.md`, which contains
112
-# valid occurrences of `../docs/`.
+# NOTE: Search "model/*/**" rather than "model" to skip `model/README.md`, which
+# contains valid occurrences of `../docs/`.
113
normalized-link-check:
114
- @if grep -R '\.\./docs/' docs model/[a-z]*; then \
+ @if grep -R '\.\./docs/' docs model/*/**; then \
115
echo "\nERROR: Found occurrences of '../docs/'; see above."; \
116
echo " Remove the '../docs/' from doc page links referencing doc pages."; \
117
exit 1; \
0 commit comments