You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ha...@apache.org on 2022/11/24 15:18:03 UTC

svn commit: r1905510 - /subversion/site/publish/site-nav.html

Author: hartmannathan
Date: Thu Nov 24 15:18:03 2022
New Revision: 1905510

URL: http://svn.apache.org/viewvc?rev=1905510&view=rev
Log:
Site standards compliance: Rename "Licenses" link to "License"

The Subversion site was failing one of Whimsy's compliance checks [1], which
requires a link called "License" to apache.org/licenses.

Our link was called "Licenses" (plural), which matched both the aforementioned
URL and the heading text on the page at that URL.

Whimsy flagged this with the following error: 'URL expected to match regular
expression: ^https?://.*apache.org/licenses/?$ There should be a "License"
navigation link which points to: http[s]://www.apache.org/licenses[/]"'

I proposed a patch [2] to fix Whimsy to allow "Licenses" but it was not
accepted, citing "the requirement per the branding policy" [3] for the link
name to be singular.

So, I'm updating our link instead.

[1] https://whimsy.apache.org/site/project/subversion
[2] https://github.com/apache/whimsy/pull/170
[3] https://www.apache.org/foundation/marks/pmcs#navigation

* site/publish/site-nav.html: As above.

Modified:
    subversion/site/publish/site-nav.html

Modified: subversion/site/publish/site-nav.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/site-nav.html?rev=1905510&r1=1905509&r2=1905510&view=diff
==============================================================================
--- subversion/site/publish/site-nav.html (original)
+++ subversion/site/publish/site-nav.html Thu Nov 24 15:18:03 2022
@@ -32,7 +32,7 @@
   <p>About the <acronym title="Apache Software Foundation">ASF</acronym>
     <ul>
       <li><a class="linkaway"
-             href="https://www.apache.org/licenses/">Licenses</a></li>
+             href="https://www.apache.org/licenses/">License</a></li>
       <li><a class="linkaway"
              href="https://www.apache.org/foundation/sponsorship.html">Donate</a></li>
       <li><a class="linkaway"