This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 1238036 Relax Thanks menu heading
1238036 is described below
commit 1238036a0fa4079bc4ae549bc79a4661e26fb03f
Author: Sebb <[email protected]>
AuthorDate: Fri Apr 10 12:37:12 2020 +0100
Relax Thanks menu heading
---
lib/whimsy/sitestandards.rb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/whimsy/sitestandards.rb b/lib/whimsy/sitestandards.rb
index 283b1c7..0f22ece 100644
--- a/lib/whimsy/sitestandards.rb
+++ b/lib/whimsy/sitestandards.rb
@@ -68,13 +68,13 @@ module SiteStandards
CHECK_POLICY =>
'https://www.apache.org/foundation/marks/pmcs#navigation',
CHECK_DOC => '"License" should link to:
http[s]://www.apache.org/licenses[/]',
},
- 'thanks' => { # link_check a_text =~ /\Athanks[!]?\z/
- CHECK_TEXT => /\Athanks[!]?\z/,
- CHECK_CAPTURE => /\Athanks[!]?\z/,
+ 'thanks' => { # link_check a_text =~ /\A(sponsors|thanks!?|thanks to our
sponsors)\z/
+ CHECK_TEXT => /\A(sponsors|thanks!?|thanks to our sponsors)\z/,
+ CHECK_CAPTURE => /\A(sponsors|thanks!?|thanks to our sponsors)\z/,
CHECK_VALIDATE => %r{^https?://.*apache.org/foundation/thanks},
CHECK_TYPE => true,
CHECK_POLICY =>
'https://www.apache.org/foundation/marks/pmcs#navigation',
- CHECK_DOC => '"Thanks" should link to:
http://www.apache.org/foundation/thanks.html',
+ CHECK_DOC => '"Sponsors", "Thanks" or "Thanks to our Sponsors" should
link to: http://www.apache.org/foundation/thanks.html',
},
'security' => { # link_check a_text == 'security'
CHECK_TEXT => /security/,