This is an automated email from the ASF dual-hosted git repository.

bmarwell pushed a commit to branch jbake
in repository https://gitbox.apache.org/repos/asf/shiro-site.git


The following commit(s) were added to refs/heads/jbake by this push:
     new e4c9715  fix more links and anchors.
e4c9715 is described below

commit e4c9715e6097ced19b92ef59a1a00b6598cc8a15
Author: Benjamin Marwell <[email protected]>
AuthorDate: Fri Oct 22 13:19:26 2021 +0200

    fix more links and anchors.
---
 jbake/content/10-minute-tutorial.adoc                       |  4 ++--
 .../content/blog/2012/07/29/apache-shiro-121-released.adoc  |  2 +-
 .../content/blog/2013/05/30/apache-shiro-122-released.adoc  |  2 +-
 .../blog/2016/11/14/apache-shiro-140rc2-released.adoc       |  2 +-
 .../content/blog/2019/05/01/apache-shiro-141-released.adoc  |  2 +-
 .../content/blog/2019/11/18/apache-shiro-142-released.adoc  |  4 ++--
 jbake/content/guice.adoc                                    |  2 +-
 jbake/content/realm.adoc                                    |  2 +-
 jbake/templates/download.ftl                                | 13 ++++++++-----
 9 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/jbake/content/10-minute-tutorial.adoc 
b/jbake/content/10-minute-tutorial.adoc
index c752d9e..82c39d7 100644
--- a/jbake/content/10-minute-tutorial.adoc
+++ b/jbake/content/10-minute-tutorial.adoc
@@ -216,8 +216,8 @@ However, how you configure a [Realm](realm.html "Realm") is 
largely dependent up
 For example, if you run a standalone application, or if you have a web based 
application, or a Spring or JEE container-based application, or combination 
thereof.
 That type of configuration is outside the scope of this QuickStart, since its 
aim is to get you comfortable with the API and Shiro's concepts.
 
-When you're ready to jump in with a little more detail, you'll definitely want 
to read the link:java-authentication-guide.html[Authentication Guide, 
title="Java Authentication Guide"] and 
link:java-authorization-guide.html[Authorization Guide, title="Java 
Authorization Guide"].
-Then can move onto other 
link:documentation.html[Documentation,title="Documentation"], in particularly 
the link:reference.html[Reference Manual], to answer any other questions.
+When you're ready to jump in with a little more detail, you'll definitely want 
to read the link:/java-authentication-guide.html[Authentication Guide, 
title="Java Authentication Guide"] and 
link:java-authorization-guide.html[Authorization Guide, title="Java 
Authorization Guide"].
+Then can move onto other 
link:/documentation.html[Documentation,title="Documentation"], in particularly 
the link:/reference.html[Reference Manual], to answer any other questions.
 You'll also probably want to join the user link:mailing-lists.html[mailing 
list,title="Mailing Lists"] - you'll find that we have a great community with 
people willing to help whenever possible.
 
 Thanks for following along. We hope you enjoy using Apache Shiro!
diff --git a/jbake/content/blog/2012/07/29/apache-shiro-121-released.adoc 
b/jbake/content/blog/2012/07/29/apache-shiro-121-released.adoc
index 504b5d3..5f89f5f 100644
--- a/jbake/content/blog/2012/07/29/apache-shiro-121-released.adoc
+++ b/jbake/content/blog/2012/07/29/apache-shiro-121-released.adoc
@@ -17,7 +17,7 @@ All binaries (`.jars`) are available in Maven Central already.
 Please note that the Apache mirrors are still updating to reflect the source 
distribution, but some mirrors may not be updated yet.
 If a mirror download link does not work, please try another or wait another 12 
to 24 hours.
 
-For more information on Shiro 1.2, please read the 
"link:https://stormpath.com/blog/whats-new-apache-shiro-12[What's new in Apache 
Shiro 1.2?]" article or the previous 
link:/2012/01/24/apache-shiro-120-released.html[1.2 release announcement].
+For more information on Shiro 1.2, please read the 
"link:https://stormpath.com/blog/whats-new-apache-shiro-12[What's new in Apache 
Shiro 1.2?]" article or the previous 
link:/blog/2012/01/24/apache-shiro-120-released.html[1.2 release announcement].
 
 Enjoy!
 
diff --git a/jbake/content/blog/2013/05/30/apache-shiro-122-released.adoc 
b/jbake/content/blog/2013/05/30/apache-shiro-122-released.adoc
index 4fd596e..59f677e 100644
--- a/jbake/content/blog/2013/05/30/apache-shiro-122-released.adoc
+++ b/jbake/content/blog/2013/05/30/apache-shiro-122-released.adoc
@@ -13,7 +13,7 @@ This release includes 
link:https://issues.apache.org/jira/secure/ReleaseNote.jsp
 
 All binaries (.jars) are available in Maven Central already. Please note that 
the Apache mirrors are still updating to reflect the source distribution, but 
some mirrors may not be updated yet. If a mirror download link does not work, 
please try another or wait another 12 to 24 hours.
 
-For more information on Shiro 1.2, please read the 
link:https://stormpath.com/blog/whats-new-apache-shiro-12[What's new in Apache 
Shiro 1.2?] article or the previous 
link:/2012/01/24/apache-shiro-120-released.html[1.2 release announcement].
+For more information on Shiro 1.2, please read the 
link:https://stormpath.com/blog/whats-new-apache-shiro-12[What's new in Apache 
Shiro 1.2?] article or the previous 
link:/blog/2012/01/24/apache-shiro-120-released.html[1.2 release announcement].
 
 Enjoy!
 
diff --git a/jbake/content/blog/2016/11/14/apache-shiro-140rc2-released.adoc 
b/jbake/content/blog/2016/11/14/apache-shiro-140rc2-released.adoc
index 02d2a85..35630aa 100644
--- a/jbake/content/blog/2016/11/14/apache-shiro-140rc2-released.adoc
+++ b/jbake/content/blog/2016/11/14/apache-shiro-140rc2-released.adoc
@@ -25,7 +25,7 @@ This release is an release candidate, so we encourage 
feedback on the new module
 
 Release binaries (.jars) are also available through Maven Central and source 
bundles through Apache distribution mirrors.
 
-For more information on link:documentation.html[Shiro, please read the 
documentation.]
+For more information on link:/documentation.html[Shiro, please read the 
documentation.]
 
 Enjoy!
 
diff --git a/jbake/content/blog/2019/05/01/apache-shiro-141-released.adoc 
b/jbake/content/blog/2019/05/01/apache-shiro-141-released.adoc
index eae7588..958a147 100644
--- a/jbake/content/blog/2019/05/01/apache-shiro-141-released.adoc
+++ b/jbake/content/blog/2019/05/01/apache-shiro-141-released.adoc
@@ -23,7 +23,7 @@ You can learn more on 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?pro
 
 Release binaries (.jars) are also available through Maven Central and source 
bundles through Apache distribution mirrors.
 
-For more information on link:documentation.html[Shiro, please read the 
documentation.]
+For more information on link:/documentation.html[Shiro, please read the 
documentation.]
 
 Enjoy!
 
diff --git a/jbake/content/blog/2019/11/18/apache-shiro-142-released.adoc 
b/jbake/content/blog/2019/11/18/apache-shiro-142-released.adoc
index d68de7e..3b351bc 100644
--- a/jbake/content/blog/2019/11/18/apache-shiro-142-released.adoc
+++ b/jbake/content/blog/2019/11/18/apache-shiro-142-released.adoc
@@ -14,13 +14,13 @@ This release includes 1 issue resolved since the 1.4.1 
release and is available
 
 Of Note:
 
-* Updates the default Cipher mode to GCM in AesCipherService 
(link:security-reports.html[CVE-2019-12422])
+* Updates the default Cipher mode to GCM in AesCipherService 
(link:/security-reports.html[CVE-2019-12422])
 
 You can learn more on 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310950&version=12345454[Jira]
 
 Release binaries (.jars) are also available through Maven Central and source 
bundles through Apache distribution mirrors.
 
-For more information on link:documentation.html[Shiro, please read the 
documentation.]
+For more information on link:/documentation.html[Shiro, please read the 
documentation.]
 
 Enjoy!
 
diff --git a/jbake/content/guice.adoc b/jbake/content/guice.adoc
index 805de82..b2168e6 100644
--- a/jbake/content/guice.adoc
+++ b/jbake/content/guice.adoc
@@ -62,7 +62,7 @@ In this case, user and role configuration would go in the 
`shiro.ini` file.
 It is important to note that, in this above configuration, only the `users` 
and `roles` sections from the ini file are used.
 ====
 
-Then, the module is used to create a Guice injector, and the injector is used 
to obtain a `SecurityManager`. The following example serves the same purpose as 
the first three lines in the 
link:10-minute-tutorial.html#10MinuteTutorial-Quickstart.java[Quickstart] 
example.
+Then, the module is used to create a Guice injector, and the injector is used 
to obtain a `SecurityManager`. The following example serves the same purpose as 
the first three lines in the 
link:/10-minute-tutorial.html#quickstart_java[Quickstart] example.
 
 [source,java]
 ----
diff --git a/jbake/content/realm.adoc b/jbake/content/realm.adoc
index 304c3ca..7ca142a 100644
--- a/jbake/content/realm.adoc
+++ b/jbake/content/realm.adoc
@@ -100,7 +100,7 @@ For example, a Realm that processes biometric data may not 
understand `UsernameP
 [#Realm-Handlingsupported%7B%7BAuthenticationTokens%7D%7D]
 === Handling supported `AuthenticationTokens`
 
-If a `Realm` `supports` a submitted `AuthenticationToken`, the `Authenticator` 
will call the Realm's 
link:static/current/apidocs/org/apache/shiro/realm/Realm.html#getAuthenticationInfo-org.apache.shiro.authc.AuthenticationToken-[getAuthenticationInfo(token)]
 method.
+If a `Realm` `supports` a submitted `AuthenticationToken`, the `Authenticator` 
will call the Realm's 
link:static/current/apidocs/org/apache/shiro/realm/Realm.html#getAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken)[getAuthenticationInfo(token)]
 method.
 This effectively represents an authentication attempt with the `Realm's` 
backing data source.
 The method, in order:
 
diff --git a/jbake/templates/download.ftl b/jbake/templates/download.ftl
index a274a94..780545e 100644
--- a/jbake/templates/download.ftl
+++ b/jbake/templates/download.ftl
@@ -35,9 +35,10 @@
 
 <#list displayReleases as version>
   <#assign release=versions.releases[version] />
+  <section id="${release.version?replace(".", "")}">
   <h2>Release ${release.version}</h2>
 
-  <h4><a id="#${release.version?replace(".", 
"")}Binary"></a>${release.version} Binary Distribution</h4>
+  <h3 id="${release.version?replace(".", "")}Binary">${release.version} Binary 
Distribution</h3>
 
 
   <p>Associated documentation can be found <a href="documentation.html" 
title="Documentation">here</a></p>
@@ -50,7 +51,7 @@
 
   <@artifacttable.artifactTable versionObject=release />
 
-  <h4><a id=""#${release.version?replace(".", 
"")}Source"></a>${release.version} Source Code Distribution</h4>
+  <h3 id="${release.version?replace(".", "")}Source">${release.version} Source 
Code Distribution</h3>
 
   <p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
 
@@ -61,14 +62,16 @@
             
href="https://www.apache.org/dist/shiro/${release.version}/shiro-root-${release.version}-source-release.zip.sha512";>sha512</a>)
   </p>
 
-  <h4><a name="latestGit"></a>${release.version} Git Source repository</h4>
+  <h3 id="${release.version?replace(".", "")}Git">${release.version} Git 
Source repository</h3>
 
   <p>The source can be cloned anonymously from Git with this command:</p>
-  <pre><code style="bash" class="language-bash">git clone 
https://github.com/apache/shiro.git
-git checkout shiro-root-${release.version} -b shiro-root-${release.version}
+  <pre><code class="language-bash bash">git clone 
https://github.com/apache/shiro.git
+git switch shiro-root-${release.version}
 </code>
 </pre>
 
+  </section>
+
 </#list>
 
 

Reply via email to