commit | b0eebfc4038a9c73c44c7d169ddf9497ebc58e0a | [log] [tgz] |
---|---|---|
author | Brian Demers <bdemers@apache.org> | Thu Aug 26 20:55:12 2021 -0400 |
committer | Brian Demers <bdemers@apache.org> | Thu Aug 26 20:55:12 2021 -0400 |
tree | b57e8faab6435616ebc203192453f5fa855dbe19 | |
parent | abde978771cffdd36a9a397af1f28461dc37d66e [diff] |
Adding includes to top of securitymanager.md.vtl This was one of those expensive lines, I had no idea why the tags were not getting rendered. I'm guessing there is some state in `scms` that once the includes macro's get added they rendered even in other files And if you process the files in a different order that could cause problems (just a guess)
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 `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