Apache Shiro Website

Clone this repo:
  1. e6383b3 Merge pull request #83 from apache/news-171-fix by François Papon · 4 weeks ago main
  2. ece1699 Fix typo in news page 1.7.0 -> 1.7.1 by Brian Demers · 8 weeks ago news-171-fix
  3. 7bf3ab7 Merge pull request #81 from weltonrodrigo/patch-1 by François Papon · 3 months ago
  4. 1817f5a Merge pull request #82 from weltonrodrigo/patch-2 by François Papon · 3 months ago
  5. 8b5b4ac Add explanation about variable interpolation by Welton Rodrigo Torres Nascimento · 3 months ago

Apache Shiro Website Overview

The Apache Shiro website is a static content website accessible at http://shiro.apache.org

Site content is authored as Markdown and HTML files. These files are scanned by a tool that applies a page template to each file's contents as necessary, and the rendered static .html files are output to a dest_dir directory.

To publish the site commit changes to the asf-site branch of this repository. ASF infrastructure will see the commit and automatically push the changes to the ASF's production webservers.

Generating and Publishing

The tool used to generate the static content is SCMS. Once scms is installed and in your $PATH, generating and publishing the site on the command line is easy.

The following example assumes you have commit permissions to the apache/shiro-site repository, typically because your are an Apache Shiro project committer:

# clone both repo branches `asf-site` and `main`
git clone https://github.com/apache/shiro-site -b asf-site shiro-site-publish
git clone https://github.com/apache/shiro-site

# build the site
cd shiro-site
scms . ../shiro-site-publish
# Open up the local ../shiro-site-publish/index.html file in your web browser.  Ensure the changes reflect what you want. 

# These next commands will publish changes to live ASF web servers.  Be confident the changes are what you want:
cd ../shiro-site-publish
git add .
git commit -am "my change description"
git push origin asf-site

# It should only take a few minutes until the files are live