1 Updating the guides
First we need to select which version we want to update. Let’s say we are updating the 0.7-stable version but the process to update edge would be similar.
ubiquo --edge --complete myapp
At this point we can do our changes in the ubiquo_guides plugin source if needed, but we are assuming modifications have already been commited and pushed over a time period and now we are just publishing the changes.
And now, assuming you have the right privileges, we publish the guides to the server using the appropiate rake task:
rake ubiquo:guides:publish_edge
This task will generate the guides and upload them to the server.
The task would be ubiquo:guides:publish_07stable for the current stable version.
2 Updating the ubiquo plugin rdocs
As with the guides we first create a fresh ubiquo project. Let’s say we are updating rdocs for the 0.7-stable version:
ubiquo --stable --complete myapp
Since rdoc templates are generated using hanna as a template we need to make sure we have the gem installed.
rake ubiquo:rdocs
Now we need to publish the generated ubiquo plugins rdocs to the server using a rake task:
rake ubiquo:rdocs:publish_07stable
The task would be ubiquo:rdocs:publish_edge for the edge version.
3 Final words
We should update documentation as soon as we commit changes, if appropiate, to avoid having outdated or innacurate information in the documentation.
The process it’s a bit tedious and cumbersome feel free to improve it.