mirror of
https://github.com/seigler/dash-docs
synced 2025-07-26 17:26:12 +00:00
Prevent check-for-subheading-anchors to match binary files
This commit is contained in:
parent
b1be90742a
commit
7013b784f3
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -250,6 +250,6 @@ check-for-subheading-anchors:
|
|||
## Ensure all subheadings on the site have anchors so the Javascript
|
||||
## function addAnchorLinks() can add anchor link affordance to each
|
||||
## subhead
|
||||
$S grep -r -L 'Note: this file exempt from check-for-subheading-anchors check' _site/ \
|
||||
$S grep -r -i --include \*.html -L 'Note: this file exempt from check-for-subheading-anchors check' _site/ \
|
||||
| xargs grep '<h[23456]' \
|
||||
| grep -v '<h[23456][^>]* id=' | eval $(ERROR_ON_OUTPUT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue