Skip to content

Commit 5740a9a

Browse files
authored
Merge branch 'main' into 121666
2 parents 120d175 + 042cbbe commit 5740a9a

File tree

312 files changed

+66530
-769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

312 files changed

+66530
-769
lines changed

.cursor/rules/docs-style-guide.mdc

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: true
5+
---
6+
# Replicated Documentation Style Guide
7+
8+
## Overview
9+
10+
This set of rules provides guidelines for writing clear and consistent product documentation for the Replicated Platform.
11+
12+
## General Principles
13+
14+
### Tone and Voice
15+
- Use active voice instead of passive voice
16+
- Use the second person "you" to address the reader
17+
- Never use "we" or "let's"
18+
- Write in a friendly tone without using slang, jargon, or frivolous words.
19+
20+
### Accessibility and Inclusivity
21+
- Write for a global audience by avoiding culturally-specific references, jargon, and figures of speech.
22+
- In HTML, use semantic tagging.
23+
- Avoid unnecessary font formatting.
24+
- Avoid large blocks of text by using short paragraphs, headings, and lists
25+
- Use shorter sentences. Try to use fewer than 26 words per sentence.
26+
27+
### Excessive Claims, Future Claims, and Marketing-Focused Language
28+
- Never use phrases like "simply" or "easily" in a procedure.
29+
- Avoid superlatives like best, worst, simplest, fastest, never, and always
30+
- Don't make any claims about a product that the user would not be able to easily verify.
31+
32+
### Timeless Documentation
33+
- Avoid time-bound terminology like "currently", "new", "at this time", and "now". Instead, write timeless documentation that makes no assumptions about a reader's prior knowledge.
34+
35+
## Formatting
36+
37+
### Text Formatting
38+
- Use bold for UI elements
39+
- Use bold for navigation steps in a UI, such as **Releases > Create Release**.
40+
- Use italics to draw attention to a word or phrase, such as when defining the term for the first time
41+
42+
### Capitalization
43+
- Use title case for titles and headings
44+
- Use all caps with underscores between words for placeholder text
45+
- Avoid all caps outside of placeholder text and code examples
46+
47+
### Symbols
48+
- Avoid using the ampersand symbol (&) except when describing UI elements, writing code examples, or in tables where space is limited
49+
50+
### Punctuation
51+
- Avoid semicolons
52+
- Avoid exclamation marks
53+
- Avoid question marks
54+
55+
## Linking
56+
57+
### Cross-references
58+
- A good cross-reference describes what information the reader can expect to learn, as well as the exact title (and location) of the page they will be taken to.
59+
- Do not embed links within a sentence.
60+
- Use the following format for cross references: "For more information about X, see [Topic Title](mdc:url)."
61+
- For links to other websites outside of docs.replicated.com, use the following format: "For more information about X, see [Topic Title](mdc:url) in the Company Name documentation."
62+

.github/workflows/app-manager-release-notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
generate-release-notes-pr:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
1515

.github/workflows/kubernetes-installer-release-notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
generate-release-notes-pr:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
1515

.github/workflows/vendor-portal-release-notes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
generate-release-notes:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
outputs:
1414
releaseNotes: ${{ steps.release-notes.outputs.release-notes }}
1515
steps:
@@ -28,7 +28,7 @@ jobs:
2828
github-token: ${{ secrets.VENDOR_PORTAL_PAT }}
2929
feature-type-labels: type::feature
3030
generate-release-notes-pr:
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-latest
3232
needs: generate-release-notes
3333
if: ${{ needs.generate-release-notes.outputs.releaseNotes != '' || needs.generate-release-notes.outputs.releaseNotes != null }}
3434
steps:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
.docusaurus
99
.cache-loader
1010
.history
11+
llms.txt
12+
llms-full.txt
1113

1214
# Misc
1315
.DS_Store

README.md

Lines changed: 14 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,26 @@
11
# [Replicated](https://www.replicated.com/) Product Documentation
22

3-
## Table of Contents:
4-
5-
* [For Vendors: How to Create Enterprise Documentation](#for-software-vendors-using-this-repository-to-create-your-documentation)
6-
* [How to Contribute to the Documentation](#how-to-contribute-to-the-documentation)
7-
* [Setting Up Local WYSIWYG Previews](#setting-up-local-wysiwyg-previews)
8-
* [Folder Structure and TOC](#folder-structure-and-toc)
9-
* [Topic Templates](#topic-templates)
10-
* [Filenaming](#filenaming)
11-
* [Images](#images)
12-
* [Using Markdown with our Docusaurus CSS](#using-markdown-with-our-docusaurus-css)
13-
* [Style Guidelines](#style-guidelines)
14-
* [SME and Editorial Reviews](#sme-and-editorial-reviews)
15-
163
Welcome to the repository for the [Replicated documentation site](https://docs.replicated.com/).
174

18-
## For Software Vendors: Using this Repository to Create Your Documentation
5+
## Contribute to the Replicated Docs
196

20-
Software vendors using Replicated to distribute their application can copy the documentation in this repository to create docs for their own users. The following directories contain documentation for enterprise users about how to use the Replicated admin console and the kots CLI:
7+
This repository has been made public so that vendors and the open-source community can contribute to the content using the following methods:
218

22-
* **docs/enterprise**: The `docs/enterprise` directory includes documentation for installing, updating, monitoring, and managing applications with the admin console and the kots CLI. See [`docs/enterprise`](https://github.com/replicatedhq/replicated-docs/tree/main/docs/enterprise). For the published version of the enterprise content, see [https://docs.replicated.com/enterprise](https://docs.replicated.com/enterprise/installing-overview).
23-
* **docs/reference**: The `docs/reference` directory includes reference documentation for the kots CLI commands. This includes details on each of the kots CLI commands and associated flags. See [`docs/reference`](https://github.com/replicatedhq/replicated-docs/tree/main/docs/reference). For the published version of the kots CLI reference content, see [Installing the kots CLI](https://docs.replicated.com/reference/kots-cli-getting-started).
9+
- **Submit a PR** You can submit a PR directly from a specific topic in the documentation by clicking the **Create pull request or raise issue on GitHub** at the bottom of the page. This method lets you edit the content directly and commit your changes on a new branch. After submitting your proposed changes, the Replicated team will verify the accuracy of the changes and perform an editorial review. If the PR is approved, it will be merged directly into the main branch.
2410

25-
To create your own documentation, review the content in these directories and copy and paste the markdown files into your own repository. Edit the content as necessary to add information and terminology specific to your application, and remove content that does not apply for your use cases.
11+
- **Open a Github Issue** - To open a GitHub issue for this repository, click the Issues tab and click **New Issue**. This method may be more useful when you want to report a bug specifically for the documentation. If you are having an issue with the product itself, we encourage you to report it to us in a support issue submitted in the vendor portal.
2612

27-
After copying the generic content from the above directories in this repository, you can then add your own application-specific content. For example, there are likely prerequisites, configuration options, and troubleshooting steps that are unique to your application.
13+
## Folder Structure and Sidebar
2814

29-
For help getting started with writing documentation that is specific to your application, see the [vendor-docs-starter](https://github.com/replicatedhq/vendor-docs-starter) repository. The `vendor-docs-starter` repository contains templates, guidance, and examples that you can use to write the end user documentation for your application.
15+
The folder structure is broken into several high-level categories under the main `docs` folder: vendor, enterprise, reference, release notes.
3016

31-
## How to Contribute to the Documentation
17+
Images are under the `static` > `images` folder.
3218

33-
This repository has been made public so that vendors and the open-source community can contribute to the content using the following methods:
19+
The TOC is managed in the `sidebar.js` file. You only need to edit the `sidebar.js` file when you are adding a new topic or deleting an existing topic. The `sidebar.js` file is the one that causes most of the merge conflicts because many technical writers are working on content daily. You will need to accept the changes from other contributors if you are committing a PR.
3420

35-
- **Submit a PR** You can submit a PR directly from a specific topic in the documentation by clicking the **Create pull request or raise issue on GitHub** at the bottom of the page. This method lets you edit the content directly and commit your changes on a new branch. After submitting your proposed changes, the Replicated team will verify the accuracy of the changes and perform an editorial review. If the PR is approved, it will be merged directly into the main branch.
21+
Don't worry if you're not sure where in the TOC a new topic belongs. When you submit your PR, the Documentation team will edit it and help to find the right placement.
3622

37-
- **Open a Github Issue** - To open a GitHub issue for this repository, click the Issues tab and click **New Issue**. This method may be more useful when you want to report a bug specifically for the documentation. If you are having an issue with the product itself, we encourage you to report it to us in a support issue submitted in the vendor portal.
23+
The right-hand TOC is created automatically when you add headings to a topic.
3824

3925
## Setting Up Local WYSIWYG Previews
4026

@@ -87,118 +73,9 @@ Before pushing changes to the remote repository, build and serve the site locall
8773
npm run serve
8874
```
8975

90-
## Folder Structure and TOC
91-
92-
The folder structure is broken into several high-level categories under the main `docs` folder: vendor, enterprise, reference, release notes.
93-
94-
Images are under the `static` > `images` folder.
95-
96-
The TOC is managed in the `sidebar.js` file. You only need to edit the `sidebar.js` file when you are adding a new topic or deleting an existing topic. The `sidebar.js` file is the one that causes most of the merge conflicts because many technical writers are working on content daily. You will need to accept the changes from other contributors if you are committing a PR.
97-
98-
Don't worry if you're not sure where in the TOC a new topic belongs. When you submit your PR, the Documentation team will edit it and help to find the right placement.
99-
100-
The right-hand TOC is created automatically when you add headings to a topic.
101-
102-
## Topic Templates
103-
104-
You can find topic templates in the `docs/templates` folder. These templates are useful for anyone creating a new topic in this repository.
105-
106-
If you are using the templates to create a new topic in this repository, save the new file to the correct folder (`docs/vendor`, `docs/enterprise`, `docs/reference`, etc) and be sure to follow the [filenaming convention](#filenaming).
107-
108-
For additional templates designed for software vendors writing the end user documentation for their applications, see the [vendor-docs-starter](https://github.com/replicatedhq/vendor-docs-starter) repository.
109-
110-
## Filenaming
111-
112-
If you are adding a new file, it must be named following our naming conventions. The file name should always start with the feature type (such as licenses, helm, or gitops). Depending on the content type, it typically also includes a secondary descriptor and a verb. Verbs are used when you are creating a task topic.
113-
114-
Because we author content using Markdown, you must add the `.md` the file extension to the file name.
115-
116-
If you are adding a new topic to an existing feature category, follow the existing naming convention for that category.
117-
118-
**Example: Concept topic**
119-
120-
`snapshots-backup-hooks.md`
121-
122-
**Example: Task topic**
123-
124-
`releases-creating-customer.md`
125-
126-
**Example: Tutorial**
127-
128-
`tutorial-ha-cluster-deploying.md`
129-
130-
131-
## Images
132-
133-
* Screenshots are use sparingly to minimize the maintenance of out-of-date content. However, we do include some screenshots to provide context.
134-
135-
* Use a focused area of the UI, unless the entire screen is truly needed. If using a focused area, use approximately 400 pixels for the width. If capturing the entire screen, use a maximum of 600 pixels for the width.
136-
137-
* We only use PNG format, which renders a better quality and lossless compression.
138-
139-
* For privacy and legal purposes, do not reveal personal information, IP addresses, domain information, login credentials and so on in screenshots, code blocks, or text.
140-
141-
* Add _alt text_ for all images to provide accessibility. The user will hear the alt text spoken out loud by the screen reader, so it is important to use succinct text that is clear and complete. For more information about alt text formatting, see the following section.
142-
143-
* For images that are difficult to see, add a link below the image where the reader can view a larger version: `[View a larger version of this image](PATH-TO-LARGER-IMAGE-FILE)` where `PATH-TO-LARGER-VERSION` is the path to the larger image in the `static/images` folder. For an example, see the private registry diagram in [Connecting to a Private Image Registry](https://docs.replicated.com/vendor/packaging-private-images#about-connecting-to-an-external-registry).
144-
145-
146-
## Using Markdown with our Docusaurus CSS
147-
148-
Replicated uses its own CSS, and Docusaurus supports its own specific Markdown syntax. The following table provides an overview of the supported syntax elements.
149-
150-
| Element | Syntax |
151-
|---------------------------------------------|-------------------------------------------------------|
152-
| Headings | `# H1`, `## H2`, `### H3` |
153-
| Bold | `**bold text**` |
154-
| Italic | `_italicized text_` |
155-
| Ordered List | `1.` First item (use `1.` for each item) |
156-
| Unordered List | `-` or `*` (for each item) |
157-
| Code or command in a sentence | ``code`` |
158-
| Link - external site | `[Title](https://www.example.com)` |
159-
| Link - topic in same folder | `[Title](filename) without file extension` |
160-
| Link - topic in different folder | `[Title](../folder/file-name) without file extension` |
161-
| Link - section in topic in same folder | `[Title](file-name#section-name)` |
162-
| Link - section in topic in different folder | `[Title](../folder/file-name#section-name)` |
163-
| Image | `![alt text](images/<image-name>.png)` |
164-
165-
**Note:** Alt text, used with image syntax, is parsed by screen readers to support accessibility.
166-
167-
### Admonitions
168-
169-
Note admonitions are formatted as follows:
170-
171-
```
172-
:::note
173-
text
174-
:::
175-
```
176-
177-
Important admonitions, typically used as a warning, are formatted as follows:
178-
179-
```
180-
:::important
181-
text
182-
:::
183-
```
184-
185-
### Tables
186-
187-
Traditional markdown for tables can be limiting. Instead, we use HTML tables, which lets us manage the width of the table columns. The template topic `procedure.md` contains an example of the HTML formatting for tables.
188-
189-
**Note:** There are still many instances of the old markdown table formatting in the content that was carried over from the content migration, but we do not encourage the use of it going forward.
190-
191-
## Style Guidelines
192-
193-
Whether you are editing existing content or adding a new topic, our goal is to make it task-based. The `procedure.md` template provides the formatting guidelines that you need. You can also see a published example of a task [here](https://docs.replicated.com/vendor/releases-creating-customer).
194-
195-
Replicated product documentation has in-house style guidelines that the Documentation team uses when reviewing your PR. Please feel free to just add the content you need, knowing that our team will be there to assist with editorial reviews and information architecture, such as TOC placement, whether to create a task, and so on. The Documentation team will actively write content, not just give editorial reviews, so we take the heavy burden off of you. We encourage your contributions in the true open-source spirit.
196-
197-
Replicated employees can review more information in the Documentation Style Guide in the employee handbook.
198-
199-
200-
## SME and Editorial Reviews
76+
## Replicated Documentation for LLMs
20177

202-
All PRs that are submitted are reviewed by the Replicated Docs team for editorial review.
78+
Replicated supports the [llms.txt](https://llmstxt.org/) convention for making documentation available to LLMs.
20379

204-
Content that is submitted by our customers and the open-source community are also reviewed by our Replicated subject matter experts (SMEs) to help ensure technical accuracy.
80+
- [llms.txt](https://docs.replicated.com/llms.txt): This file contains Markdown versions of key docs pages.
81+
- [llms-full.txt](https://docs.replicated.com/llms-full.txt): This file contains the contents of the docs/ directory in the [replicated-docs](https://github.com/replicatedhq/replicated-docs) repository.

docs/enterprise/auth-changing-passwords.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Changing an Admin Console Password
1+
# Change an Admin Console Password
22

33
When you install for the first time with Replicated kURL, the Replicated KOTS Admin Console is secured with a single shared password that is set automatically for all users. Replicated recommends that you change this to a new, unique password for security purposes as this automated password is displayed to the user in plain text.
44

@@ -7,7 +7,7 @@ The Admin Console password is salted and one-way hashed using bcrypt. The irreve
77
For more information about bcrypt, see [bcrypt](https://en.wikipedia.org/wiki/Bcrypt) on Wikipedia.
88

99
:::note
10-
Users with Identity Provider (IDP) access cannot change their password using this procedure. If an attempt is made, IDP users receive a message in the user interface to contact the identity service provider to change their password. For more information about resetting an IDP user password, see [Resetting Authentication](auth-identity-provider#resetting-authentication) in _Using an Identity Provider for User Access (Beta)_.
10+
Users with Identity Provider (IDP) access cannot change their password using this procedure. If an attempt is made, IDP users receive a message in the user interface to contact the identity service provider to change their password. For more information about resetting an IDP user password, see [Resetting Authentication](auth-identity-provider#resetting-authentication) in _Use an Identity Provider for User Access (Beta)_.
1111
:::
1212

1313
To change your Admin Console password:

docs/enterprise/auth-configuring-rbac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Configuring Role-based Access Control (Beta)
1+
# Configure Role-based Access Control (Beta)
22

33
You can regulate access to the Replicated KOTS Admin Console resources based on the roles of individual users within your organization.
44

docs/enterprise/auth-identity-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Using an Identity Provider for User Access (Beta)
1+
# Use an Identity Provider for User Access (Beta)
22

33
When you install an application for the first time, the Replicated KOTS Admin Console is secured with a single shared password for all users. It is possible to further configure the Admin Console to authenticate users with your organization's user management system. This feature is only available for licenses that have the Replicated identity service feature enabled.
44

docs/enterprise/cluster-management-add-nodes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import KurlAvailability from "../partials/kurl/_kurl-availability.mdx"
22

3-
# Adding Nodes to kURL Clusters
3+
# Add Nodes to kURL Clusters
44

55
<KurlAvailability/>
66

0 commit comments

Comments
 (0)