This page is about publishing the documentation i.e. making changes or new releases visible to the public.  For information on updating the source 'text' see the Getting Started Writing Documentation Guide

To try to avoid too much confusion we will refer to releases and branches when talking about the documentation source, and versions when talking about published documentation.
We will refer to the Read The Docs service as RTD.

Read The Docs

To start with, you will need to create an account on Read The Docs (https://readthedocs.org/accounts/signup/) and then ask on the dev@ mailing list for someone to add you to the CloudStack Docs Projects.

Versioning (Tags and Branches)

The RTD uses the branches and tags to link versions of the documentation to moments in time in the source, to update the tags and branches seen by RTD, run a build of master

Updating Tagged Versions

If the versions of documentation are linked to tags (ie release notes) then you need to:

  1. Checkout that branch of documentation and tag the latest (assuming you want the very latest) commit with the version i.e. 4.11.1.0
  2. Update the available tags in RTD by running a build of master.
  3. Then create a version linked to the tag that you added previously
  4. Then build that version.

The reading of tags is dynamic, so you can remove and re-add a tag and then rebuild that 'version'.

Merging a pull request will cause the version to be built and updated online automatically

Before Making a New Version Public

When proofing a new version of documentation, you can set the version to 'protected' this stops the version from being browseable or from appearing to users in menus, but it is directly accessible.