This repository contains the GitHub pages for ProxyToys that are used to render automatically the static website of ProxyToys.
The content of this repository is generated. ProxyToys uses Maven and XSite to generate the pages. To create an update of the site, you have to edit the sources in the ProxyToys repository.
- Java 5 runtime
- Maven 3.0
-
Create a clone of the current repository
-
Create a clone of the proxytoys Git repository using the same base directory.
-
Edit the sources in proxytoys.git/website/src/site/content
-
From the root of proxytoys.git call
mvn clean package
-
Update the repository with the GitHub pages.
rsync -cr --progress --delete --exclude=.nojekyll --exclude=.git* --exclude=*.md --exclude=jira --exclude=apidocs ./website/target/xsite/ ../proxytoys.io/
Typically you want to update the site after a ProxyToys release. In that case you can call:
rsync -cr --progress --delete --exclude=.nojekyll --exclude=.git* --exclude=*.md --exclude=jira ./target/checkout/website/target/xsite/ ../proxytoys.io/
Note, that this variant will also replace the javadocs.