See Appendix A, Contributing to Documentation for more information on contributing to the documentation or website.
As of INFRA-5680 Migrate apache hbase website, to publish the website, build
it, and then deploy it over a checkout of
https://svn.apache.org/repos/asf/hbase/hbase.apache.org/trunk
.
Finally, check it in. For example, if trunk is checked out out at
/Users/stack/checkouts/trunk
and the hbase website,
hbase.apache.org, is checked out at
/Users/stack/checkouts/hbase.apache.org/trunk
, to update
the site, do the following:
# Build the site and deploy it to the checked out directory # Getting the javadoc into site is a little tricky. You have to build it before you invoke 'site'. $ mvn clean install -DskipTests javadoc:aggregate site \ site:stage -DstagingDirectory=/Users/stack/checkouts/hbase.apache.org/trunk
Now check the deployed site by viewing in a brower, browse to file:////Users/stack/checkouts/hbase.apache.org/trunk/index.html and check all is good. If all checks out, commit it and your new build will show up immediately at http://hbase.apache.org.
$ cd /Users/stack/checkouts/hbase.apache.org/trunk $ svn status # Do an svn add of any new content... $ svn add .... $ svn commit -m 'Committing latest version of website...'