struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [2/2] struts-site git commit: Moves Security guide to top
Date Fri, 16 Jun 2017 07:51:21 GMT
Moves Security guide to top


Project: http://git-wip-us.apache.org/repos/asf/struts-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-site/commit/f79613b8
Tree: http://git-wip-us.apache.org/repos/asf/struts-site/tree/f79613b8
Diff: http://git-wip-us.apache.org/repos/asf/struts-site/diff/f79613b8

Branch: refs/heads/master
Commit: f79613b8790e1f5a84bfcfa400d07f7c041c9635
Parents: 2a956d2
Author: Lukasz Lenart <lukasz.lenart@gmail.com>
Authored: Fri Jun 16 09:51:10 2017 +0200
Committer: Lukasz Lenart <lukasz.lenart@gmail.com>
Committed: Fri Jun 16 09:51:10 2017 +0200

----------------------------------------------------------------------
 source/_includes/header.html |  4 ++--
 source/security/index.md     | 11 +++++++----
 2 files changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-site/blob/f79613b8/source/_includes/header.html
----------------------------------------------------------------------
diff --git a/source/_includes/header.html b/source/_includes/header.html
index 3e65811..faeaa2a 100644
--- a/source/_includes/header.html
+++ b/source/_includes/header.html
@@ -56,6 +56,7 @@
                 <li><a href="https://cwiki.apache.org/confluence/display/WW/Home">Wiki</a></li>
                 <li class="divider"></li>
                 <li><a href="/getting-started/">Getting Started</a></li>
+                <li><a href="/security/">Security Guide</a></li>
                 <li><a href="/docs/tutorials.html">Tutorials</a></li>
                 <li><a href="/docs/faqs.html">FAQs</a></li>
                 <li><a href="/docs/guides.html">Guides</a></li>
@@ -64,8 +65,7 @@
                 <li><a href="/docs/plugins.html">Plugin APIs</a></li>
                 <li><a href="/docs/tag-reference.html">Tag reference</a></li>
                 <li><a href="http://cwiki.apache.org/S2PLUGINS/home.html">Plugin
registry</a></li>
-                <li class="divider"></li>
-                <li><a href="/security/">Security Guide (WIP)</a></li>
+                <li class="divider"></li>                
                 <li><a href="/core-developers/">Core Developers Guide (WIP)</a></li>
               </ul>
             </li>

http://git-wip-us.apache.org/repos/asf/struts-site/blob/f79613b8/source/security/index.md
----------------------------------------------------------------------
diff --git a/source/security/index.md b/source/security/index.md
index fcd6e2c..3d0665c 100644
--- a/source/security/index.md
+++ b/source/security/index.md
@@ -1,10 +1,13 @@
 ---
 layout: default
-title: Security (WIP)
+title: Security
 ---
 
 # Security
+{:.no_toc}
 
+* Will be replaced with the ToC, excluding a header
+{:toc}
 
 ### Security tips
 
@@ -177,15 +180,15 @@ public class RealAction extends BaseAction {
         super.save();
         return SUCCESS;
     }
-}    
- 
+}
+
 public class BaseAction extends AbstractAction {
     public String save() throws Exception {
         save(Double.MAX_VALUE);
         return SUCCESS;
     }
 }
- 
+
 public abstract class AbstractAction extends ActionSupport {
     protected void save(Double val) {
         // some logic


Mime
View raw message