Restores generating website into content
1 file changed
tree: 223ec187eb31db031ecbe8a666f7829224c43a78
  1. docker/
  2. source/
  3. src/
  4. .asf.yaml
  5. .gitignore
  6. _config.yml
  7. docker-build.fish
  8. docker-build.sh
  9. docker-run.fish
  10. docker-run.sh
  11. Gemfile
  12. Gemfile.lock
  13. PLACEHOLDER
  14. pom.xml
  15. README.md
README.md

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.