Scott Rifenbark 3b0b2b0199 stx-docs refactoring for new doc structure
Changes included updating the StarlingX docs landing
page to conform to a new list of available documents
as follows:

 * StarlingX Introduction
 * Deployment Guides
 * Installation Guides
 * Developer resources
 * Operation Guides
 * Project Specifications
 * REST API Reference
 * Release Notes
 * Contribute

So-called "dead-end" links have an explanation of content
coming.  Any destination associated with an existing story
ID have the link to the story for reference.

The existence of a "current" and "latest" Developer
Guides resulted in the top-level list of doc resources
including both the "Developer Guides" and
"Developer Resources" bullets.  Ideally, the Developer
Guides would be included as part of the "Developer
Resources" area.  For "latest" they are.  However, for
"current" I left them alone since the 2018.10 release
is out there.  This organization can settle out as more
releases launch.

Finally, I did not focus on the writing aspect for this
PR. That part can be cleaned up going forward.

Change-Id: I0442e948d5d9a41add9eb3bdde8882c157a8f752
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
2019-04-03 15:43:39 -07:00

81 lines
3.8 KiB
ReStructuredText

===================
Installation Guides
===================
Installation steps for StarlingX are release-specific.
The following list provides help on choosing the correct installation steps:
- The "current" release is the most recent offically released version of StarlingX:
.. toctree::
:maxdepth: 1
/installation_guide/current/index
- The "latest" release is the forthcoming version under development:
.. toctree::
:maxdepth: 1
/installation_guide/latest/index
- The "archived" installation documents are as follows:
* Currently, no archived installation documents exist.
.. Steps you must take when a new release of the installer and developer guides occurs:
.. 1. Archive the "current" release:
1. Rename the "current" folder to the release name using the <Year_Month> convention (e.g. 2018_10).
2. Get inside your new folder (i.e. the old "current" folder) and update all links in the *.rst
files to use the new path (e.g. :doc:`Libvirt/QEMU </installation_guide/current/installation_libvirt_qemu>`
becomes
:doc:`Libvirt/QEMU </installation_guide/<Year_Month>/installation_libvirt_qemu>`
3. You might want to change your working directory to /<Year_Month> and use Git to grep for
the "current" string (i.e. 'git grep "current" *'). For each applicable occurence, make
the call whether or not to convert the string to the actual archived string "<Year_Month>".
Be sure to scrub all files for the "current" string in both the "installation_guide"
and "developer_guide" folders downward.
2. Add the new "current" release:
1. Rename the existing "latest" folders to "current". This assumes that "latest" represented
the under-development release that just officially released.
2. Get inside your new folder (i.e. the old "latest" folder) and update all links in the *.rst
files to use the new path (e.g. :doc:`Libvirt/QEMU </installation_guide/latest/installation_libvirt_qemu>`
becomes
:doc:`Libvirt/QEMU </installation_guide/current/installation_libvirt_qemu>`
3. You might want to change your working directory to the "current" directory and use Git to grep for
the "latest" string (i.e. 'git grep "latest" *'). For each applicable occurence, make
the call whether or not to convert the string to "current".
Be sure to scrub all files for the "latest" string in both the "installation_guide"
and "developer_guide" folders downward.
4. Because the "current" release is now available, make sure to update these pages:
- index
- installation guide
- developer guide
- release notes
3. Create a new "latest" release, which are the installation and developer guides under development:
1. Copy your "current" folders and rename them "latest".
2. Make sure the new files have the correct version in the page title and intro
sentence (e.g. '2019.10.rc1 Installation Guide').
3. Make sure all files in new "latest" link to the correct versions of supporting
docs. You do this through the doc link, so that it resolves to the top of the page
(e.g. :doc:`/installation_guide/latest/index`)
4. Make sure the new release index is labeled with the correct version name
(e.g .. _index-2019-05:)
5. Add the archived version to the toctree on this page. You want all possible versions
to build.
6. Since you are adding a new version ("latest") *before* it is available
(e.g. to begin work on new docs), make sure page text still directs user to the
"current" release and not to the under development version of the manuals.