...
For each Fedora release, there is a permanent documentation URL on the fedora-commons.org website.
For example, http://fedora-commons.org/documentation/3.2
This URL will always resolve to the appropriate copy of the documentation for that version of Fedora. For old releases, it will contain a browsable archive of the documentation for that release. For the current release, it will automatically forward to the live documentation wiki: http://fedora-commons.org/go/fcr30
In addition, this area is a convenient the place to hold serve static documentation that doesn't naturally fit in the wiki, such as generated documentation (javadocs) and third-party license information for the release.
...
- Build the aggregate javadocs for all of trunk
- mvn javadoc:javadoc (this will build them in target/site/apidocs)
- mv target/site/apidocs target/site/javadocs
- Copy the license information to target/site
- cp -r resources/doc/license target/site
- Create a jar file to upload
- cd target/site
- jar -cMf static.jar javadocs license
- Upload the jar to fedora-commons.org
- sftp fcrelman@fedora-commons.org
- cd documentation
- mkdir 3.3
- cd 3.3
- put static.jar
- exit
- Unpack the jar and ensure the static documentation is viewable on the web
- ssh fcrelman@fedora-commons.org
- cd documentation/3.3
- jar -xf static.jar
- rm static.jar
- Point your browser to http://fedora-commons.org/documentation/3.3/javadocs
and /license/license.html (these are the full URLs that should be referenced from the documentation in the wiki)
- Ensure the documentation URL forwards to the wiki
- cp ../index.html .
- Point your browser to http://fedora-commons.org/documentation/3.3
(it should redirect to the FCR30 wiki space)
...