struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject struts-site git commit: Adds dedicated prior releases section and padding to include menu's height
Date Thu, 21 Apr 2016 18:16:48 GMT
Repository: struts-site
Updated Branches:
  refs/heads/master 53df0c2ef -> 05ad9b311


Adds dedicated prior releases section and padding to include menu's height


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

Branch: refs/heads/master
Commit: 05ad9b31159e19bbd1e9a62e53a11c1e9e3d05b9
Parents: 53df0c2
Author: Lukasz Lenart <lukasz.lenart@gmail.com>
Authored: Thu Apr 21 20:16:34 2016 +0200
Committer: Lukasz Lenart <lukasz.lenart@gmail.com>
Committed: Thu Apr 21 20:16:34 2016 +0200

----------------------------------------------------------------------
 Gemfile               |  2 +-
 source/announce.md    |  4 ++++
 source/css/custom.css |  7 +++++++
 source/download.html  | 24 +++++++++++++++---------
 source/downloads.html |  2 +-
 source/helping.md     | 14 +++++++-------
 source/mail.html      | 16 ++++++++--------
 source/primer.md      | 34 +++++++++++++++++-----------------
 8 files changed, 60 insertions(+), 43 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-site/blob/05ad9b31/Gemfile
----------------------------------------------------------------------
diff --git a/Gemfile b/Gemfile
index 00fc2c7..81ec7a6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
 source 'https://rubygems.org'
 
-ruby '2.2.4'
+ruby '2.2.3'
 
 gem 'json', '>= 1'
 gem 'jekyll', '~> 3'

http://git-wip-us.apache.org/repos/asf/struts-site/blob/05ad9b31/source/announce.md
----------------------------------------------------------------------
diff --git a/source/announce.md b/source/announce.md
index 0246bb0..c3cae26 100644
--- a/source/announce.md
+++ b/source/announce.md
@@ -33,6 +33,8 @@ Servlet API 2.4, JSP API 2.0, and Java 6.
 Should any issues arise with your use of any version of the Struts framework, please post
your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
+You can download this version from our [download](download.html#struts-ga) page.
+
 #### 19 April 2016 - Struts 2.3.20.3 & 2.3.24.3 General Availability with Security Fixes
Release {#a20160419-1}
 
 The Apache Struts group is pleased to announce that Struts 2.3.20.3 & Struts 2.3.24.3
are available as a "General Availability"
@@ -61,6 +63,8 @@ Servlet API 2.4, JSP API 2.0, and Java 6.
 Should any issues arise with your use of any version of the Struts framework, please post
your comments
 to the user list, and, if appropriate, file a tracking ticket.
 
+You can download these versions from our [download](download.html#prior-releases) page.
+
 #### 18 March 2016 - Struts 2.3.28 General Availability with Security Fix Release {#a20160318}
 
 The Apache Struts group is pleased to announce that Struts 2.3.28 is available as a "General
Availability"

http://git-wip-us.apache.org/repos/asf/struts-site/blob/05ad9b31/source/css/custom.css
----------------------------------------------------------------------
diff --git a/source/css/custom.css b/source/css/custom.css
index 6d84573..5b18053 100644
--- a/source/css/custom.css
+++ b/source/css/custom.css
@@ -22,3 +22,10 @@ h5:hover .header-link,
 h6:hover .header-link {
   opacity: 1;
 }
+
+a.anchor {
+  display: block;
+  height: 94px;
+  margin-top: -94px;
+  visibility: hidden;
+}

http://git-wip-us.apache.org/repos/asf/struts-site/blob/05ad9b31/source/download.html
----------------------------------------------------------------------
diff --git a/source/download.html b/source/download.html
index 1c1d5aa..a8502a0 100644
--- a/source/download.html
+++ b/source/download.html
@@ -4,7 +4,7 @@ title: Download a Release
 ---
 
 <h1>Download a Release of Apache Struts</h1>
-<a name="download"></a>
+<a class="anchor" name="download"></a>
 
 <p>
   The Apache Struts web framework is a free open-source solution for creating
@@ -18,7 +18,7 @@ title: Download a Release
 </p>
 
 <h2>Mirror</h2>
-<a name="mirror"></a>
+<a class="anchor" name="mirror"></a>
 
 <p>
   [if-any logo]
@@ -60,9 +60,9 @@ title: Download a Release
 </p>
 
 <h1>Full Releases</h1>
-<a name="struts-ga"></a>
+<a class="anchor" name="struts-ga"></a>
 
-<a name="struts{{ site.current_version_short }}"></a>
+<a class="anchor" name="struts{{ site.current_version_short }}"></a>
 <h2>Struts {{ site.current_version }}</h2>
 
 <p>
@@ -139,8 +139,14 @@ title: Download a Release
 
 </ul>
 
+<a class="anchor" name="prior-releases"></a>
+<h2>Prior releases</h2>
+<p>
+  If you are looking for other versions than above please check <a href="https://dist.apache.org/repos/dist/release/struts/">the
Apache Release</a> site.
+</p>
+
 <h1>Beta Releases</h1>
-<a name="struts-beta"></a>
+<a class="anchor" name="struts-beta"></a>
 
 <h2>Struts {{ current_beta_version }}</h2>
 
@@ -206,7 +212,7 @@ title: Download a Release
 </ul>
 
 <h2>Struts 1.3.10</h2>
-<a name="struts1310"></a>
+<a class="anchor" name="struts1310"></a>
 
 <p>
   <a href="http://struts.apache.org/1.3.10/index.html">Struts 1.3.10 - EOL</a>
@@ -274,16 +280,16 @@ title: Download a Release
 </ul>
 
 <h2>Older Releases</h2>
-<a name="strutsarchive"></a>
+<a class="anchor" name="strutsarchive"></a>
 <p>
   Older versions of Struts are available from the <a href="http://archive.apache.org/dist/struts/">Archive
Site.</a>
 </p>
 
 <h1>Beta Releases</h1>
-<a name="struts-beta"></a>
+<a class="anchor" name="struts-beta"></a>
 
 <h1>Verify the integrity of the files</h1>
-<a name="verify"></a>
+<a class="anchor" name="verify"></a>
 
 <p>
   We recommend that you verify the integrity of the downloaded files using the PGP or MD5
signatures.

http://git-wip-us.apache.org/repos/asf/struts-site/blob/05ad9b31/source/downloads.html
----------------------------------------------------------------------
diff --git a/source/downloads.html b/source/downloads.html
index 780eb45..b40e3cd 100644
--- a/source/downloads.html
+++ b/source/downloads.html
@@ -88,7 +88,7 @@ title: Releases
 </p>
 
 <h1>Prior Releases</h1>
-<a name="PriorReleases"></a>
+<a class="anchor" name="PriorReleases"></a>
 
 <p>
   As a courtesy, we retain archival copies of the website for releases that initially were
considered

http://git-wip-us.apache.org/repos/asf/struts-site/blob/05ad9b31/source/helping.md
----------------------------------------------------------------------
diff --git a/source/helping.md b/source/helping.md
index 21c1dd7..e1aa2f1 100644
--- a/source/helping.md
+++ b/source/helping.md
@@ -31,7 +31,7 @@ title: Helping
   We don't sell Struts for money, but anyone who wants to be our customer can pay us back
by donating
   the time and energy that money represents.
 
-  - ### <a name="patches"></a>How do I create a patch?
+  - ### <a class="anchor" name="patches"></a>How do I create a patch?
 
   A patch is a machine-readable script that can automatically recreate a change to a text
file,
   including source code and documentation. The patch format is also human-readable. Developers
often pass
@@ -61,7 +61,7 @@ title: Helping
   The [NetBeans community](http://www.netbeans.org/community/contribute/patches.html) also
has a helpful section on the
   subject of creating patches.
 
-  - ### <a name="issues"></a>How can I report defects or suggest features?
+  - ### <a class="anchor" name="issues"></a>How can I report defects or suggest
features?
 
   Tracking of defect reports and enhancement suggestions for Apache Struts products is handled
through the
   [Apache Struts JIRA instance](https://issues.apache.org/jira/browse/WW).
@@ -84,7 +84,7 @@ title: Helping
 
   Feature suggestions are also maintained in the [JIRA issue tracker](https://issues.apache.org/jira/browse/WW).
 
-  - ### <a name="contribute"></a>How can I contribute to the Struts source code?
+  - ### <a class="anchor" name="contribute"></a>How can I contribute to the Struts
source code?
 
   A very good place to start is by **reviewing the list of open issues** and pending feature
suggestions in the
   [issue tracker](#issues).
@@ -107,7 +107,7 @@ title: Helping
   You can try to fake what a JSP container does, but a much more reliable testing regime
would actually execute
   the tag in a real container.
 
-  - ### <a name="documentation"></a>How can I contribute to the documentation?
+  - ### <a class="anchor" name="documentation"></a>How can I contribute to the
documentation?
 
   The Struts 2 documentation is maintained using the Atlassian Confluence wiki software and
automatically
   exported to HTML for viewing on the website. To help with the Struts 2 documentation, you
must create
@@ -122,7 +122,7 @@ title: Helping
   in relation to the rest of the documentation.
   Again, someone has to figure that out before it can be added, and that someone might as
well be you.
 
-  - ### <a name="release"></a>So when is the next release coming out?
+  - ### <a class="anchor" name="release"></a>So when is the next release coming
out?
 
   Here is the truth regarding releases:
 
@@ -154,7 +154,7 @@ title: Helping
   and keep an eye on what is coming down the pipeline.
   This way you are at least forewarned and forearmed.
 
-  - ### <a name="release_help"></a>What can I do to help the next release along?
+  - ### <a class="anchor" name="release_help"></a>What can I do to help the next
release along?
 
     - Most importantly, download the latest [nightly build](builds.html#NightlyBuilds) or
development release
       and test it against your own applications. Report any and all issues or suspected issues
to
@@ -188,7 +188,7 @@ title: Helping
       If Developers are supporting each other on the lists, the Committers have more time
to spend on the next
       release.
 
-  - ### <a name="decides_help"></a>How can I help make the decisions?
+  - ### <a class="anchor" name="decides_help"></a>How can I help make the decisions?
 
   A guiding principle of the Apache Software Foundation is "them that do the work, make the
decisions".
   This phrase is actually a double-entendre. A project will make some decisions by voting
(very few),

http://git-wip-us.apache.org/repos/asf/struts-site/blob/05ad9b31/source/mail.html
----------------------------------------------------------------------
diff --git a/source/mail.html b/source/mail.html
index a65171e..a587f59 100644
--- a/source/mail.html
+++ b/source/mail.html
@@ -62,7 +62,7 @@ title: Mailing Lists
   </tr>
 </table>
 
-<a name="archives"></a>
+<a class="anchor" name="archives"></a>
 
 <p>
   You can read the <a href="http://mail-archives.apache.org/mod_mbox/struts-user/">ASF
Mail </a>
@@ -96,7 +96,7 @@ title: Mailing Lists
   questions there.
 </p>
 
-<h3><a name="respect"></a>Respect the mailing list type.</h3>
+<h3><a class="anchor" name="respect"></a>Respect the mailing list type.</h3>
 
 <p>
   The "User" list is where you can send questions and comments about
@@ -121,7 +121,7 @@ title: Mailing Lists
   thread be moved to the other list.
 </p>
 
-<h3><a name="post"></a>Do not cross post messages.</h3>
+<h3><a class="anchor" name="post"></a>Do not cross post messages.</h3>
 
 <p>
   In other words, pick a mailing list and send your messages
@@ -130,7 +130,7 @@ title: Mailing Lists
   other. Therefore, some people will only see part of the conversation.
 </p>
 
-<h3><a name="reply-to"></a>Watch where you are sending email.</h3>
+<h3><a class="anchor" name="reply-to"></a>Watch where you are sending email.</h3>
 
 <p>
   The majority of our mailing lists have set the Reply-To to
@@ -141,7 +141,7 @@ title: Mailing Lists
   directly to someone instead of the entire list.
 </p>
 
-<h3><a name="plain"></a>Do not send HTML emails to the list.</h3>
+<h3><a class="anchor" name="plain"></a>Do not send HTML emails to the
list.</h3>
 
 <p>
   If you are using Outlook or Outlook Express or Eudora,
@@ -149,7 +149,7 @@ title: Mailing Lists
   setting that will allow you to send "Plain Text" email.
 </p>
 
-<h3><a name="short"></a>Keep your email short and to the point.</h3>
+<h3><a class="anchor" name="short"></a>Keep your email short and to the
point.</h3>
 
 <p>
   If your email is more than about a page of text, chances
@@ -163,7 +163,7 @@ title: Mailing Lists
 </p>
 
 
-<h3><a name="trolls"></a>Don't feed the trolls.</h3>
+<h3><a class="anchor" name="trolls"></a>Don't feed the trolls.</h3>
 
 <blockquote>
   <p>
@@ -194,7 +194,7 @@ title: Mailing Lists
   The best defense is to withhold from the troll what he or she wants most: A response.
 </p>
 
-<h3><a name="smart"></a>Ask smart questions.</h3>
+<h3><a class="anchor" name="smart"></a>Ask smart questions.</h3>
 
 <p>
   Every volunteer project obtains its strength from the

http://git-wip-us.apache.org/repos/asf/struts-site/blob/05ad9b31/source/primer.md
----------------------------------------------------------------------
diff --git a/source/primer.md b/source/primer.md
index 65444aa..a3c735b 100644
--- a/source/primer.md
+++ b/source/primer.md
@@ -55,7 +55,7 @@ may be able to follow along and visit the other references as needed. The
core
 technologies used by Struts are also used by most other Java web development products, so
 the background information will be useful in any Java project.
 
-### <a name="http"></a>HTTP, HTML and User Agents
+### <a class="anchor" name="http"></a>HTTP, HTML and User Agents
 
 The World Wide Web was built over the Hypertext Transfer Protocol
 [(HTTP)](http://www.ietf.org/rfc/rfc2616.txt?number=2616)
@@ -67,7 +67,7 @@ transport more the HTML, HTML from the browser to render the view.
 If you would like to learn HTML, we recommend
 [Getting started with HTML](http://www.w3.org/MarkUp/Guide/) by Dave Raggett.
 
-### <a name="cycle"></a>The HTTP Request/Response cycle
+### <a class="anchor" name="cycle"></a>The HTTP Request/Response cycle
 
 A very important part of HTTP for the web developer is the request/response cycle. To use
HTTP
 you have to make a request. A HTTP server, like a web server, is then obliged to respond.
When you
@@ -79,7 +79,7 @@ If you are not familiar with the HTTP request/response you should learn
about it
 There is a lot of help available in the internet, like
 [How does the Internet work?](http://docs.webplatform.org/wiki/tutorials/How_does_the_Internet_work)
 
-### <a name="java"></a>The Java Language and Application Frameworks
+### <a class="anchor" name="java"></a>The Java Language and Application Frameworks
 
 Struts is written in the
 [Java programming language](http://www.oracle.com/us/technologies/java/overview/index.html).
@@ -88,7 +88,7 @@ object-orientated techniques. A good understanding of Java, and especially
 object-orientated programming (OOP) and threading, will help
 you get the most out of Struts.
 
-#### <a name="reflection"></a>Reflection and Introspection
+#### <a class="anchor" name="reflection"></a>Reflection and Introspection
 
 Reflection is the process of determining which member fields and methods are available on
an object.
 Introspection is a specialized form of reflection used by the JavaBean API.
@@ -102,7 +102,7 @@ between HTML forms and JavaBeans.
 While it is not necessary to have a deep understanding of these concepts when you start with
Apache
 Struts, it will help you when your application grows and becomes more complex.
 
-#### <a name="resources"></a>Properties Files and ResourceBundles
+#### <a class="anchor" name="resources"></a>Properties Files and ResourceBundles
 
 Java applications, including web applications, are often
 configured using [Properties](http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html)
@@ -120,14 +120,14 @@ Support for localizing an application was built into the framework from
the grou
 Again the Java Tutorials provide
 [more information](http://docs.oracle.com/javase/tutorial/i18n/resbundle/concept.html).
 
-#### <a name="threads"></a>Threads
+#### <a class="anchor" name="threads"></a>Threads
 
 With Struts 1 you were required to know a lot about how to write code which
 can run in a multi-threaded environment. With Struts 2 this is no longer necessary.
 In an Struts 2 environment each action caused by a HTTP request
 is a plain old Java object which is instanced for each request.
 
-### <a name="javascript"></a>JavaScript, AJAX, and SOAP
+### <a class="anchor" name="javascript"></a>JavaScript, AJAX, and SOAP
 
 WIth HTTP and HTML you can already provide static web pages. Today this is much
 often not longer enough and your application users might expect a interactive user interface.
@@ -149,7 +149,7 @@ requests directly to a remote server, while still retaining a separation
of conc
 the business logic and the page markup. Depending on your applications need, it might be
not necessary
 for you to learn about SOAP.
 
-### <a name="containers"></a>Servlets, Filters, and Web Containers
+### <a class="anchor" name="containers"></a>Servlets, Filters, and Web Containers
 
 Since Java is an object-orientated language, the
 [Java Servlet](http://docs.oracle.com/javaee/6/tutorial/doc/bnafd.html)
@@ -180,7 +180,7 @@ response. Filters are aggregated into a chain in which each filter
 has a chance to process the request and response before and after
 it is processed by subsequent filters (and the servlet that is ultimately called).
 
-### <a name="session"></a>Sessions
+### <a class="anchor" name="session"></a>Sessions
 
 One of the key characteristics of HTTP is that it is
 *stateless*. In other words, there is nothing built in to
@@ -211,7 +211,7 @@ bypass this.
 
 Struts 2 provides easy ways to create and access a session.
 
-### <a name="webapp"></a>Web Applications
+### <a class="anchor" name="webapp"></a>Web Applications
 
 Just as a HTTP server can be used to host several distinct
 websites, a servlet container can be used to host more than one web
@@ -229,7 +229,7 @@ application and deploy it to your server. This might require knowledge
of
 build tools like [Maven](http://maven.apache.org) and addition reading
 in the documentation of your server vendor.
 
-### <a name="security"></a>Security
+### <a class="anchor" name="security"></a>Security
 
 One detail that can be configured in the Web application deployment descriptor is container-managed
security.
 Declarative security can be used to protect requests for URIs that match given patterns.
@@ -243,7 +243,7 @@ Other projects, like [Apache Shiro](http://shiro.apache.org/) or
 [Spring Security](http://www.springframework.org/spring-security/) might also help
 you to secure your web application.
 
-### <a name="jsp"></a>JavaServer Pages, JSP Tag Libraries, and JavaServer Faces
+### <a class="anchor" name="jsp"></a>JavaServer Pages, JSP Tag Libraries, and
JavaServer Faces
 
 If you write a classic web app, you might need a view component.
 One of the first of its kind was [JSP](http://www.oracle.com/technetwork/java/javaee/jsp/index.html).
@@ -264,7 +264,7 @@ features to return [JSON](http://json.org), which usually fuels AJAX driven
webp
 With that it is easily possible to use jQuery or [AngularJS](http://www.angularjs.org)
 as a front end layer and even completely discard JSP.
 
-<a name="view_frameworks"></a>
+<a class="anchor" name="view_frameworks"></a>
 
 As mentioned, aside from Java Server Pages, there are several other
 presentation technologies available to Struts:
@@ -275,7 +275,7 @@ presentation technologies available to Struts:
   - [Velocity](http://velocity.apache.org/)
   - [XSLT](http://www.w3.org/TR/xslt)
 
-### <a name="xml"></a>Extensible Markup Language (XML)
+### <a class="anchor" name="xml"></a>Extensible Markup Language (XML)
 
 The features provided by the framework rely on a number of
 objects that are sometimes deployed using a configuration file written in
@@ -288,7 +288,7 @@ it is no longer crucial to write long XML documents to create a Struts
 application. If you would like to read more about it, please visit the page of the
 [Convention plugin](http://struts.apache.org/release/2.1.x/docs/convention-plugin.html).
 
-### <a name="mvc"></a>Model View Controller (MVC)
+### <a class="anchor" name="mvc"></a>Model View Controller (MVC)
 
 Web applications based on JavaServer Pages sometimes
 commingle database code, page design code, and control flow
@@ -340,7 +340,7 @@ For more about MVC, see
   - [Smalltalk MVC framework](http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html).
   - [Wikipedia - MVC](http://en.wikipedia.org/wiki/Model_view_controller)
 
-## <a name="logic_frameworks"></a>Business Logic Frameworks
+## <a class="anchor" name="logic_frameworks"></a>Business Logic Frameworks
 
 Most teams still roll their own business logic layer using
 plain old JavaBeans (POJOs). Though, business layer frameworks are beginning to emerge,
@@ -351,7 +351,7 @@ and now include:
   - [Commons Chain of Responsiblity](http://commons.apache.org/chain/)
   - or you can rely on features of the bundled Struts XWork
 
-### <a name="data_frameworks"></a>Data Access Frameworks
+### <a class="anchor" name="data_frameworks"></a>Data Access Frameworks
 
 Most often, the business layer is seen to be distinct from
 the data access layer. Some teams roll their own data access objects (DAOs),


Mime
View raw message