added version and changed contribution page
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/721927ef Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/721927ef Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/721927ef Branch: refs/heads/master Commit: 721927ef32c7af2207b876af84d5a44a7bdbf81a Parents: 539468a Author: Andrea Del Bene <[email protected]> Authored: Mon Mar 30 17:32:09 2015 +0200 Committer: Andrea Del Bene <[email protected]> Committed: Mon Mar 30 17:32:09 2015 +0200 ---------------------------------------------------------------------- wicket-user-guide/grails-app/conf/Config.groovy | 1 + .../src/docs/guide/contributing.gdoc | 27 ++++++++------------ 2 files changed, 11 insertions(+), 17 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/721927ef/wicket-user-guide/grails-app/conf/Config.groovy ---------------------------------------------------------------------- diff --git a/wicket-user-guide/grails-app/conf/Config.groovy b/wicket-user-guide/grails-app/conf/Config.groovy index 612b02c..fd46c0e 100644 --- a/wicket-user-guide/grails-app/conf/Config.groovy +++ b/wicket-user-guide/grails-app/conf/Config.groovy @@ -93,6 +93,7 @@ log4j = { // documentation configuration grails.doc.title = "Apache Wicket User Guide" +grails.doc.version = "7.0" grails.doc.subtitle = "Free Online Guide for Apache Wicket framework" grails.doc.authors = "Andrea Del Bene, Martin Grigorov, Carsten Hufe, Christian Kroemer, Daniel Bartl, Paul BorÈ, Tobias Soloschenko" grails.doc.images = new File("src/docs/img") http://git-wip-us.apache.org/repos/asf/wicket/blob/721927ef/wicket-user-guide/src/docs/guide/contributing.gdoc ---------------------------------------------------------------------- diff --git a/wicket-user-guide/src/docs/guide/contributing.gdoc b/wicket-user-guide/src/docs/guide/contributing.gdoc index 65a9d16..8ea93af 100644 --- a/wicket-user-guide/src/docs/guide/contributing.gdoc +++ b/wicket-user-guide/src/docs/guide/contributing.gdoc @@ -2,29 +2,22 @@ You can contribute to this guide by following these steps: * The guide uses Grails GDoc to generate the final HTML/PDF so you should consult with its [syntax|http://grails.org/WikiSyntax]. -* Checkout Apache Wicket's [site|https://svn.apache.org/repos/asf/wicket/common/site/trunk/_site/] +* Clone Apache Wicket's GIT repository [site|https://github.com/apache/wicket.git] {code} -svn checkout https://svn.apache.org/repos/asf/wicket/common/site/trunk/_site/ +git clone https://github.com/apache/wicket.git {code} -* Edit the _.gdoc_ files in __site/guide/guide/src/docs/guide_ folder +* Edit the _.gdoc_ files in _wicket/wicket-user-guide/src/docs/guide_ folder -* To preview your changes you should have [Grails|http://grails.org/] installed. -** Download it from [here|http://grails.org/download]. -*Note*: Download version *2.2.4*. Newer versions are not supported at the moment. -** Install it by following these [instructions|http://grails.org/doc/latest/guide/gettingStarted.html#requirements] +* To preview your changes run "mvn clean package -P guide" in the _wicket/wicket-user-guide_ folder (in eclipse use a run configuration) -* Navigate to __site/guide/guide_ folder and execute -{code} -grails doc -{code} +* Navigate to _wicket/wicket-user-guide/target/doc_ and open one of the following files a browser / pdf viewer: +** _index.html_ (multi page version) +** _guide/single.html_ (single page version) +** _guide/single.pdf_ (single page pdf version) -* To preview your changes open __site/guide/index.html_ in a browser +* Create a ticket in Apache Wicket's [JIRA|https://issues.apache.org/jira/browse/WICKET] -* Create a patch with -{code} -svn diff > my.patch -{code} -and attach it to a ticket in Apache Wicket's [JIRA|https://issues.apache.org/jira/browse/WICKET] +* *Commit and push the changes* to your forked Apacke Wicket's GIT repository and *create a pull request* on github *Thank you!* \ No newline at end of file
