Apache Struts site

Clone this repo:
  1. 2a7c9e0 Merge pull request #138 from apache/struts-2522 by Lukasz Lenart · 8 days ago master
  2. dc4049a Adds outdated releases by Lukasz Lenart · 8 days ago
  3. b69867e Uses official Jekyll Docker image to serve and build website locally by Lukasz Lenart · 8 days ago
  4. 5cb4efc Adds announcement about Struts 2.5.22 by Lukasz Lenart · 8 days ago
  5. bd2c016 Merge pull request #137 from yasserzamani/WW-5041 by Lukasz Lenart · 4 weeks ago

This project is used to update the main Apache Struts website http://struts.apache.org/
Changes are automatically pushed online. However as ASF is using aggressive caching, for a while one still may need to forcely reload the page (CMD+R or Shift+F5) after changes.

Site is generated by Jekyll and uses pure html either markdown format. To test website locally you can use the below command:

bundle exec jekyll serve -w --trace --host 0.0.0.0

or you can use Docker (please install it first) with one of the provided scripts:

./docker-run.fish

when running fish-shell, or:

./docker-run.sh

when running Bash or Sh.

All pages are generated into the content folder.

There are two scripts used to build the image but this should be used only when Dockerfile was modified.

Some redirect rules are configured in source/.htaccess file.