#. use the persona type to determine the document location in step 2
Information should have a permanent home as documentation.
Elements that are work in progress can live in the forge on issues or in hedgedoc, but these are not permanent locations.
#. add the intended audience on the top of the page
Step 2: Determine the documentation location
--------------------------------------------
Information should have a permanent home as documentation. Elements that are work in
progress can live in the forge on issues or in hedgedoc, but these are not permanent
locations.
#. Choose high-level location:
Here is a list of permanent locations:
* The WordPress website: for visitors
* The archive web-app: for visitors and users (of the interface or API)
* The Sphinx docs:
* *devel* for contributors
* *sysadm* for sys-admins
* *users* for users of the infrastructure and all the different services
Possible permanent locations include:
* The WordPress website: for visitors
* The archive web-app: for visitors and users (of the interface or API)
* The Sphinx docs:
* *devel* for contributors
* *users* for users of the infrastructure and all the different services
* *sysadm* for sys-admins
#. For contributors documentation in devel:
#. Choose if the subject is a high level (cross-module) section or in a specific module
* if the document is relative to only one module, go and add it in the /docs directory in the module
* for cross-module documentation, use the swh-docs repository and the appropriate sub-directory (e.g architecture)
#. Decide if a subsection is needed with multiple pages (tutorials, how-tos, reference or explanation).
#. For sys-admin (in sysadm folder) and user documentation (in users folder):
#. Verify if an existing section is already describing the theme that you want to document.
#. Decide if a subsection is needed with multiple pages (tutorials, how-tos, reference or explanation).
#. Choose if the subject is a high level (cross-module) section or in a specific
module
* if the document is relative to only one module, go and add it in the */docs*
directory in the module
* for cross-module documentation, use the swh-docs repository and the appropriate
sub-directory (e.g architecture)
#. Decide if a subsection is needed with multiple pages (tutorials, how-tos,
reference or explanation).
Step 3: Choose the type of documentation
----------------------------------------
#. For sys-admin (in */sysadm* folder) and user documentation (in */users* folder):
#. Check if an existing section is already describing the theme that you want to
document.
#. Decide if a subsection is needed with multiple pages (tutorials, how-tos,
reference or explanation).
Step 3: Choose documentation type
---------------------------------
We are following Divio's approach with four major types of documentation:
* Tutorial: allowing newcomers to get started and ease the onboarding contributors and users
* How to guide: show how to solve a specific problem in a step-by-step manner. The how to guide is practical to use.
* Tutorial: allowing newcomers to get started and ease the onboarding contributors and
users.
* How to: how to solve a specific problem in a step-by-step practical manual.
* Reference: theoretical/technical knowledge which is information oriented.
* Explanation: theoretical knowledge which is understanding oriented to analyze, discuss and explain different decisions, including background and context.
* Explanation: theoretical knowledge which is understanding oriented to analyze, discuss
and explain different decisions, including background and context.