# Goes in root directory for the project
cd jena-doc/
# Clean the place
sudo rm -R svn/
# Check out from SVN source
svn co http://svn.apache.org/repos/asf/jena/site/ svn
From instructions there: http://www.apache.org/dev/cmsref.html#local-build
# Clean the place
sudo rm -R asf-cms/
# Check out from SVN source
svn co https://svn.apache.org/repos/infra/websites/cms/build/ asf-cms
# And make sure the perl packages, etc... are installed as described on the website
Modifications are done on under svn/trunk/
. Should be good to be merged with the current code. Then it's possible to export the site to see how it looks (easier to debug). For that the conent can be exported on a local server (LAMP or ngnix for instance) or put on the GitHub pages to show live results.
sudo ./scripts/to-local-server.sh
# Export the static site ready for the github pages in a folder
mkdir /home/samuel/Desktop/site
sudo ./scripts/generate-github-site.sh /home/samuel/Desktop/site
# Then push to pages after commiting
git add -u .
git commit -m 'commit the master'
git push origin master
git checkout gh-pages
# Then copy the saved folder into the pages by hand
git add -u .
git commit -m 'new version of the site'
git push origin gh-pages
# From http://ariejan.net/2007/07/03/how-to-create-and-apply-a-patch-with-subversion/
cd svn/
svn diff > ~/fix_ugly_bug.diff
Can look at http://stackoverflow.com/questions/159853/subversion-diff-including-new-files and http://stackoverflow.com/questions/4248768/including-new-files-in-svn-diff in case of problems.