Status | ||||
---|---|---|---|---|
|
...
You'll also need a checkout of the Web site via SVN. If you don't have this already, you'll need to get it, like so:
No Format |
---|
svn co https://svn.apache.org/repos/asf/cloudstack/
|
...
Use Publican to build the docs:
No Format |
---|
publican build --embedtoc --formats=html,epub,pdf,html-single --langs=en-US --publish --config=publican-adminguide.cfg
|
...
Next you're going to add the current version of the documentation to the existing documentation. You'll stage this in the docsite directory, and then copy it over to the source tree where the site documentation actually lives.
No Format |
---|
publican install_book --site_config ~/src/web/cloudstack/docsite/acsdocs.cfg --config=publican-adminguide.cfg --lang en-US
|
...
Next you'll need to copy the documentation from the docsite
directory to the docs
directory:
No Format |
---|
cp -R docsite/html/docs/* site/trunk/content/docs/.
|
...
Once you've copied over the docs, move to the top-level directory for your SVN tree (like {~/src/web/cloudstack}) and run:
No Format |
---|
svn status
|
If everything looks good, then go ahead and commit:
No Format |
---|
svn ci -m "Committing documentation to the Web site for X.X.X release."
|
...
If all's well there, then you can commit the documentation:
No Format |
---|
curl -sL http://s.apache.org/cms-cli | perl
|
...