This document describes the steps used to update Log4cxx web site using 1.7.0 as an example Log4cxx version.
git clone --depth=1 https://github.com/apache/logging-log4cxx /tmp/log4cxxcmake -B /tmp/build -S /tmp/log4cxx -DBUILD_SITE=oncmake --build /tmp/build -t doc_doxygenasf-staging branch of logging-log4cxx-sitegit clone https://github.com/apache/logging-log4cxx-site /tmp/log4cxx-sitecd /tmp/log4cxx-sitegit checkout asf-staginggit rm -r 1.7.0mv /tmp/build/src/site/html 1.7.0git add 1.7.0asf-staging branch to Github and wait a bitgit commit -m "Improved the ... documentation"git push origin asf-staginggit clone --depth=1 https://github.com/apache/logging-log4cxx /tmp/log4cxxcmake -B /tmp/build -S /tmp/log4cxx -DBUILD_SITE=oncmake --build /tmp/build -t doc_doxygenasf-staging branch of logging-log4cxx-sitegit clone https://github.com/apache/logging-log4cxx-site /tmp/log4cxx-sitecd /tmp/log4cxx-sitegit checkout asf-stagingmv /tmp/build/src/site/html /tmp/log4cxx-site/1.7.0git add 1.7.0cd /tmp/log4cxx-siterm old_stableln -s 1.6.0 old_stablegit add old_stable.htaccess so the final RewriteRule redirects to the new versionRewriteRule ^(.*)$ /log4cxx/1.7.0/$1 [R=temp,L]git add .htaccessasf-staging branch to github and wait a bitgit commit -m "Add the 1.7.0 documentation"git push origin asf-staging