Skip to content

Commit 5632835

Browse files
authored
Merge pull request #3155 from replicatedhq/llms-txt
Add automated llms.txt file
2 parents fa6f5b6 + 36757fc commit 5632835

File tree

107 files changed

+65580
-166
lines changed

Some content is hidden

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

107 files changed

+65580
-166
lines changed

.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/embedded-manage-nodes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import HaArchitecture from "../partials/embedded-cluster/_multi-node-ha-arch.mdx
22

33
# Managing Multi-Node Clusters with Embedded Cluster
44

5-
The topic describes managing nodes in clusters created with Replicated Embedded Cluster, including how to add nodes and enable high-availability for multi-node clusters.
5+
This topic describes managing nodes in clusters created with Replicated Embedded Cluster, including how to add nodes and enable high-availability for multi-node clusters.
66

77
## Limitations
88

docs/enterprise/installing-existing-cluster-airgapped.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import IntroExisting from "../partials/install/_intro-existing.mdx"
21
import IntroAirGap from "../partials/install/_intro-air-gap.mdx"
32
import PrereqsExistingCluster from "../partials/install/_prereqs-existing-cluster.mdx"
43
import BuildAirGapBundle from "../partials/install/_airgap-bundle-build.mdx"
@@ -16,7 +15,7 @@ import KotsVersionMatch from "../partials/install/_kots-airgap-version-match.mdx
1615

1716
# Air Gap Installation in Existing Clusters with KOTS
1817

19-
<IntroExisting/>
18+
This topic describes how to use Replicated KOTS to install an application in an existing Kubernetes cluster in an air-gapped environment.
2019

2120
<IntroAirGap/>
2221

docs/enterprise/installing-existing-cluster.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
import IntroExisting from "../partials/install/_intro-existing.mdx"
21
import PrereqsExistingCluster from "../partials/install/_prereqs-existing-cluster.mdx"
32
import LicenseFile from "../partials/install/_license-file-prereq.mdx"
43
import InstallCommandPrompts from "../partials/install/_kots-install-prompts.mdx"
54
import AppNameUI from "../partials/install/_placeholder-app-name-UI.mdx"
65

76
# Online Installation in Existing Clusters with KOTS
87

9-
<IntroExisting/>
8+
This topic describes how to use Replicated KOTS to install an application in an existing Kubernetes cluster.
109

1110
## Prerequisites
1211

docs/enterprise/installing-kurl-airgap.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import KurlAbout from "../partials/install/_kurl-about.mdx"
2-
import IntroEmbedded from "../partials/install/_intro-embedded.mdx"
3-
import IntroAirGap from "../partials/install/_intro-air-gap.mdx"
42
import PrereqsEmbeddedCluster from "../partials/install/_prereqs-embedded-cluster.mdx"
53
import HaLoadBalancerPrereq from "../partials/install/_ha-load-balancer-prereq.mdx"
64
import AirGapLicense from "../partials/install/_airgap-license-download.mdx"
@@ -16,14 +14,14 @@ import KurlAvailability from "../partials/kurl/_kurl-availability.mdx"
1614

1715
# Air Gap Installation with kURL
1816

19-
<KurlAvailability/>
20-
21-
<IntroEmbedded/>
17+
This topic describes how to use Replicated kURL to provision a cluster in a virtual machine (VM) or bare metal server and install an application in the cluster.
2218

23-
<IntroAirGap/>
19+
The procedures in this topic apply to installation environments that do not have access to the internet, known as _air-gapped_ environments.
2420

2521
<KurlAbout/>
2622

23+
<KurlAvailability/>
24+
2725
## Prerequisites
2826

2927
Complete the following prerequisites:

docs/enterprise/installing-kurl-requirements.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import KurlAvailability from "../partials/kurl/_kurl-availability.mdx"
33

44
# kURL Installation Requirements
55

6-
<KurlAvailability/>
7-
86
This topic lists the installation requirements for Replicated kURL. Ensure that the installation environment meets these requirements before attempting to install.
97

8+
<KurlAvailability/>
9+
1010
## Minimum System Requirements
1111

1212
* 4 CPUs or equivalent per machine

docs/enterprise/installing-kurl.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import KurlAbout from "../partials/install/_kurl-about.mdx"
2-
import IntroEmbedded from "../partials/install/_intro-embedded.mdx"
32
import PrereqsEmbeddedCluster from "../partials/install/_prereqs-embedded-cluster.mdx"
43
import HaLoadBalancerPrereq from "../partials/install/_ha-load-balancer-prereq.mdx"
54
import LicenseFile from "../partials/install/_license-file-prereq.mdx"
@@ -10,12 +9,12 @@ import KurlAvailability from "../partials/kurl/_kurl-availability.mdx"
109

1110
# Online Installation with kURL
1211

13-
<KurlAvailability/>
14-
15-
<IntroEmbedded/>
12+
This topic describes how to use Replicated kURL to provision a cluster in a virtual machine (VM) or bare metal server and install an application in the cluster.
1613

1714
<KurlAbout/>
1815

16+
<KurlAvailability/>
17+
1918
## Prerequisites
2019

2120
Complete the following prerequisites:

docs/reference/custom-resource-helmchart-v2.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import KotsHelmCrDescription from "../partials/helm/_kots-helm-cr-description.md
1919

2020
# HelmChart v2
2121

22-
> Introduced in Replicated KOTS v1.99.0
22+
This topic describes the KOTS HelmChart v2 custom resource.
2323

2424
<KotsHelmCrDescription/>
2525

docs/reference/replicated-cli-installing.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import AuthToken from "../partials/replicated-cli/_authorize-with-token-note.mdx
66

77
# Installing the Replicated CLI
88

9-
Vendors can use the Replicated CLI to manage their applications with Replicated programmatically, rather than using the Replicated vendor portal.
9+
This topic describes how to install and run the Replicated CLI.
10+
11+
You can use the Replicated CLI to manage your applications with Replicated programmatically, rather than using the Replicated Vendor Portal.
1012

1113
## Prerequisites
1214

0 commit comments

Comments
 (0)