From 694ae9e55696fd5581d2a7f9f41a50e4a22aeac4 Mon Sep 17 00:00:00 2001 From: Igor Kuzmenko Date: Wed, 19 Jul 2017 13:03:21 +0200 Subject: [PATCH] Updates check-for-empty-title-tag description --- Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index dff4c987..1c615563 100644 --- a/Makefile +++ b/Makefile @@ -184,9 +184,8 @@ check-for-headers-containing-auto-link: $S grep '<\(h[2-6]\).*\?>[^>]\+class="auto-link".*' _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 '' \ | eval $(ERROR_ON_OUTPUT) @@ -198,13 +197,6 @@ check-for-missing-subhead-links: | egrep -v 'developer-documentation| - $S egrep -n -A1 '