Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by GrantIngersoll:
http://wiki.apache.org/solr/Website_Update_HOWTO

------------------------------------------------------------------------------
  == Prerequisite ==
   1. Install [http://forrest.apache.org Apache Forrest] version 0.8
   1. Checkout the solr code.
-  1. run {{{ant init-forrest-entities}}} to ensure that the 
{{{build/solr-specific-forrest-variables.ent}}} file containing variables for 
use in Forrest generated documents (like specversion in the tutorial) is 
created and up to date.  This is done automatically by most Solr ant targets.
+  1. run {{{ant clean init-forrest-entities}}} to ensure that the 
{{{build/solr-specific-forrest-variables.ent}}} file containing variables for 
use in Forrest generated documents (like specversion in the tutorial) is 
created and up to date.  This is done automatically by most Solr ant targets.
   1. Go to {{{trunk/src/site}}} (which contains the forrest.properties file)
-  1. Run {{{forrest}}} to build current version of documentation to make sure 
that Forrest was correctly installed. The generated site will be in 
{{{trunk/src/site/build/site/}}}.
+  1. Run {{{forrest}}} to build current version of documentation to make sure 
that Forrest was correctly installed. The generated site will be in 
{{{trunk/src/site/build/site/}}}.  You may need to clear out 
trunk/src/site/build if the solr-specific-forrest-variables.ent doesn't "take".
  == Website update steps ==
   1. Run {{{forrest run}}} and browse to http://localhost:8888 to review the 
changes.  You should be able to modify the source documents and hit reload on 
your browser without rebuilding the site.
      * NOTE: unlike the xdoc files, changes to 
{{{build/solr-specific-forrest-variables.ent}}} are not picked up by a running 
instance of forrest.

Reply via email to