THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Checkout the site branch: https://svn.apache.org/repos/asf/pig/site/
To edit XML site files:
...
- Change to the directory that includes the forrest.properties file: /site/author
- Run the "forrest run" command and leave it running ….
- Open a browser and enter http://localhost:8888/
- the /xdocs/index.xml page is displayed as index.html
- Make more changes to the XML doc files and then refresh the browser display to see your changes.
...
- Change to the directory that includes the forrest.properties file: /site/author
- Run the "forrest" command (if the build fails due to broken links, the *.html and *.pdf output will still be generated; however, be sure to fix any broken links before checking in the files).
- To check the *.html and *.pdf output, move to this directory: /site/author/build/site
To push your changes to Pig's website:
- Once you are happy with the content in /site/author/build/site, copy your changes to publish:
cp -pr author/build/site/* publish
- Make sure you
svn add
any new files under/site/publish
svn commit
your changes- Your changes should appear on the website within a few minutes
Updating the Pig User Documentation
Checkout the trunk or relevant branch: http://svn.apache.org/repos/asf/pig/trunk
To edit the XML doc files:
...
- Change to the directory that includes the forrest.properties file: /trunk/src/docs
- Run the "forrest run" command and leave it running ….
- Open a browser and enter http://localhost:8888/
- the /xdocs/index.xml page is displayed as index.html
- Make more changes to the XML doc files and then refresh the browser display to see your changes.
...