-
Notifications
You must be signed in to change notification settings - Fork 37
Packs Layout
All Spectro Cloud Packs docs are expected to have the same look and feel. The text and voice must adhere to the Spectro Cloud style guide for a universal look and feel. The packs doc layout must also feel familiar to the reader and follow the layout standard described on this page.
A Packs doc is no different than a regular documentation page, except that it includes supported versions and a References section that links to external sources instead of a Resources section.
The following is a high-level overview of the markdown structure that packs docs should contain. Note the markdown heading sizes. Since there are several packs categories, headings in green may vary depending on the pack.
# Title
# Versions Supported
< Tabs for multiple versions >
< Bullet for single version >
For each version tab: Prerequisites, Parameters, Usage
## Prerequisites
## Parameters
## Usage
# Troubleshooting
# Terraform
# References
Section | Description |
Title |
A minimal feature overview. |
Versions Supported |
Each numbered version tab has these headings:
|
Prerequisites |
List the required software version or hardware the user is required to have installed and available to integrate the pack. |
Parameters |
|
Usage |
Describe the common use case and an example if applicable. Include any customization information that may apply. This section should give the reader an idea of how to use the pack. This is separate from informing the user how to add the pack. |
Troubleshooting |
|
Terraform |
^ Extra blank line above! data "spectrocloud_registry" "public_registry" {
name = "Public Repo"
}
data "spectrocloud_pack_simple" "spectro-proxy" {
name = "spectro-proxy"
version = "1.2.0"
type = "operator-instance"
registry_uid = data.spectrocloud_registry.public_registry.id
} |
Reference |
List at least one external source users can reference to learn more about the pack they are integrating. References must be in standard MarkDown link format link_label. |
Use the following examples to better understand how to structure a Packs page.
- Kubernetes - No Defaults and Required column for parameters.
- Prometheus Agent - Only a single required parameter
- Spectro Kubernetes Dashboard - Default values for parameters