These instructions apply to the GeoMOOSE 2.6 series.
Note: These instructions require you to run the Dojo build system. For now, this means you will need access to a Linux like command line (bash) and have Java or OpenJDK installed in your path. This works trivially on Linux and OS X, and probably works from within Cygwin on Windows, but this has not been tested.
The GeoMOOSE documentation is maintained using reStructured text (http://sphinx.pocoo.org/rest.html) and built into HTML or PDF using Sphinx. Thus, to build the GeoMOOSE documentation from source, you will also need Sphinx installed (http://sphinx.pocoo.org).
In can use whatever method you prefer, check out from svn:
svn co https://svn.osgeo.org/geomoose/geomoose2/trunk geomoose-trunk
Or extract from a tarball.
From the GeoMOOSE base directory (e.g. geomoose-trunk):
cd htdocs/libs tar xzf OpenLayers-*.tar.gz tar xzf dojo-*.tar.gz unzip proj4js-1.0.2.zip
Next, run patch_dojo.sh to setup the Dojo build system for GeoMOOSE.
Again, from the GeoMOOSE base directory, change directories to where the Dojo build system lives. Then, run the build. This will rebuild the files in htdocs/build.:
cd htdocs/libs/dojo-1.6.1/util/buildscripts ./build_geomoose2.sh
Again, from the GeoMOOSE base directory, change directories to where the Sphinx source lives. Next, build the source using the supplied Makefile (or make.bat on Windows):
cd sphinx-docs make html