The following is from https://eucalyptus.atlassian.net/wiki/spaces/DOC/pages/169446253/Publishing+a+Docs+Release
Responsible: Technical Writer
The symlinks and archive index.html page are managed in the eucalyptus-docs-web/eucalyptus/ directory of this repo: https://github.com/eucalyptus/eucalyptus-docs-web
Clone the eucalyptus-docs-web repo from github: git clone [email protected]:eucalyptus/eucalyptus-docs-web.git
- File > Clone/New. The Clone / Add / Create Repository dialog appears.
- On the Clone Repository tab, Source Path / URL: click the globe icon (to get to GitHub). The Hosted Repositories dialog appears.
- In the top-left search, enter the repo name: eucalyptus-docs-web The repo appears in the search results.
- Select the repo and click OK. The Clone / Add / Create Repository dialog appears.
- Review the settings and click Clone. By default a bookmark appears and SourceTree clones the repo locally on your PC.
The public documentation archive page is: https://docs.eucalyptus.com/eucalyptus/
- On your local repo, modify the index.html page to add the released Eucalyptus and Euca2ools versions (eucalyptus-docs-web/eucalyptus/index.html).
- For both the Eucalyptus and Euca2ools sections, add a list item at the top of each version list with a relative xref link to the released docs.
- Move the (latest version) text and link to the list item you just created.
Pay close attention to the hidden files called ".keep" in the 3-digit version directories. (Git does not actually track directories, so you have to put some sort of placeholder in empty directories if you want them to show up.) Do not remove these and be sure to add these hidden files when new 3-digit version directories are created.
- When a new release is available, create symlinks so that the latest and version series (e.g., 4.4) directories both go to the most current released documentation.
In the eucalyptus-docs-web/eucalyptus directory:
- Create a symlink from a version series directory to the 3-digit directory for the new release version (e.g., symlink from 4.4 → 4.4.1)
- Create the 3-digit version directory for the new release (e.g., 4.4.1)
- Copy the hidden .keep file from an existing directory into the directory you just created
- Only at a feature release (.0), update the latest symlink to point to the 2-digit version series directory (e.g., symlink from latest → 4.4)