commit | 670525e74a1338bf44de1fd7678549a8b3b79693 | [log] [tgz] |
---|---|---|
author | Brian Demers <bdemers@apache.org> | Wed Nov 04 14:29:55 2020 -0500 |
committer | Brian Demers <bdemers@apache.org> | Wed Nov 04 14:29:55 2020 -0500 |
tree | deba81548ee1a1c348d159987cf3ddf556af5f10 | |
parent | 28164c420dab5bec3b893655bda34e8f35cdd3cc [diff] |
Update Shiro spring docs to point to Spring boot by default We don't have a direct link to the spring-boot page from the menu, The current menu item links to an older XML based approach. The Spring Boot Page has links to non-boot options (annotations and xml) in the first paragraph, so it make for a better default
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.
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 `master` 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