mirror of
https://github.com/seigler/dash-docs
synced 2025-07-26 17:26:12 +00:00
Updates check-for-empty-title-tag description
This commit is contained in:
parent
d0ada511d0
commit
694ae9e556
1 changed files with 2 additions and 10 deletions
12
Makefile
12
Makefile
|
@ -184,9 +184,8 @@ check-for-headers-containing-auto-link:
|
|||
$S grep '<\(h[2-6]\).*\?>[^>]\+class="auto-link".*</\1>' _site/en/developer-* | eval $(ERROR_ON_OUTPUT)
|
||||
|
||||
check-for-empty-title-tag:
|
||||
## The autocrossref plugin can mess up subheadings (h2, etc), so ensure
|
||||
## none of the generated subheadings contain the string
|
||||
## 'class="auto-link"' produced by autocrossref
|
||||
## This checks whether all generated pages have a title tag with
|
||||
## content
|
||||
$S find ./_site -name '*.html' -type f \
|
||||
| xargs grep '<title></title>' \
|
||||
| eval $(ERROR_ON_OUTPUT)
|
||||
|
@ -198,13 +197,6 @@ check-for-missing-subhead-links:
|
|||
| egrep -v 'developer-documentation|<h[2-6]|^--|subhead-links' \
|
||||
| eval $(ERROR_ON_OUTPUT)
|
||||
|
||||
check-for-missing-subhead-links:
|
||||
## Make sure each subhead (h2-h6) either has the subhead links
|
||||
## (edit,issue,etc) or something like <!-- no subhead-links here -->
|
||||
$S egrep -n -A1 '<h[2-6]' _site/en/developer-* \
|
||||
| egrep -v 'developer-documentation|<h[2-6]|^--|subhead-links' \
|
||||
| eval $(ERROR_ON_OUTPUT)
|
||||
|
||||
check-for-wrong-filename-assignments:
|
||||
## Make sure whenever we use {% assign filename="some-file" %} that the
|
||||
## filename assignment matches the actual filename. This will, in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue