Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.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

Versioning (Tags and Branches)

Producing/updating documentation for a specific 'release/branch' is different depending on whether the version is liked to a tag or branch. (it's not consistent - sorry about that it was like that when I found it).

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:

...

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

Updating Branch Versions

If the versions of documentation are linked to branches (ie Installation Docs) then :

  1. *TO DO not sure if this bit is true yet* create a branch using the version as the name of the branch.
  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.

Merging .merging a pull request into that branch 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.