You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently publish documentation for modules and some other plugins from collections. Each collection could include much more documentation, such as examples and guides for using the various modules and other elements of the collection together. For example, the content currently hosted as Scenario Guides in ansible/ansible should be hosted in the relevant collections.
The /docs/ folder in the collection template is an excellent place to host this extended documentation, but we do not currently have a mechanism for publishing anything from that folder, or any guidance for collection owners on how to use the folder. Documentation from each collection's /docs/ folder may someday be available on Galaxy, but currently it is not, and the plan does not include any kind of cross-linking for those docs. We may be able to handle these documents on docs.ansible.com. Let's discuss the possibilities here.
At the DaWGs meeting on January 12, 2021 full meeting log we started a conversation. Please join the discussion by adding comments, links, ideas, objections, suggestions, and questions below.
Option A was decided on at the March 23 DaWGs meeting.
Option A: Add to the existing docs pipeline
To publish content from collections /docs/ folders to docs.ansible.com, we need to validate/test this content.
To manage the inevitable breakages (for example, conflicting labels within a collection's /docs/ folder), we need a way to either exclude content that fails validation or maintain a list of known-good collections to include.
To allow collection owners to "do their own thing" in the /docs/ folder, we need to allow collection owners to opt out of publishing to docs.ansible.com, possibly by applying any rules only to a sub-folder?
To support cross-references, we need to apply unique labels to collections-based pages.
Adding this in the pipeline would be harder than validating content added to the rst files.
Can we use rstcheck to validate that each page has a unique label that begins with the collection namespace and name?
Potential pattern for labels in the collection /docs/ folder: .. _anscoll_<namespace>_<collection>_<page>::
We currently publish documentation for modules and some other plugins from collections. Each collection could include much more documentation, such as examples and guides for using the various modules and other elements of the collection together. For example, the content currently hosted as Scenario Guides in ansible/ansible should be hosted in the relevant collections.
The
/docs/
folder in the collection template is an excellent place to host this extended documentation, but we do not currently have a mechanism for publishing anything from that folder, or any guidance for collection owners on how to use the folder. Documentation from each collection's/docs/
folder may someday be available on Galaxy, but currently it is not, and the plan does not include any kind of cross-linking for those docs. We may be able to handle these documents on docs.ansible.com. Let's discuss the possibilities here.At the DaWGs meeting on January 12, 2021 full meeting log we started a conversation. Please join the discussion by adding comments, links, ideas, objections, suggestions, and questions below.
Option A was decided on at the March 23 DaWGs meeting.
Option A: Add to the existing docs pipeline
/docs/
folders to docs.ansible.com, we need to validate/test this content./docs/
folder), we need a way to either exclude content that fails validation or maintain a list of known-good collections to include./docs/
folder, we need to allow collection owners to opt out of publishing to docs.ansible.com, possibly by applying any rules only to a sub-folder?/docs/
folder:.. _anscoll_<namespace>_<collection>_<page>::
Pros of Option A
Cons of Option A
Option B: Require collection owners to publish their own docsites
index.rst
file.Pros of Option B
Cons of Option B
The text was updated successfully, but these errors were encountered: