Skip to content

Add automated llms.txt file #3155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Apr 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
.docusaurus
.cache-loader
.history
llms.txt
llms-full.txt

# Misc
.DS_Store
Expand Down
151 changes: 14 additions & 137 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,26 @@
# [Replicated](https://www.replicated.com/) Product Documentation

## Table of Contents:

* [For Vendors: How to Create Enterprise Documentation](#for-software-vendors-using-this-repository-to-create-your-documentation)
* [How to Contribute to the Documentation](#how-to-contribute-to-the-documentation)
* [Setting Up Local WYSIWYG Previews](#setting-up-local-wysiwyg-previews)
* [Folder Structure and TOC](#folder-structure-and-toc)
* [Topic Templates](#topic-templates)
* [Filenaming](#filenaming)
* [Images](#images)
* [Using Markdown with our Docusaurus CSS](#using-markdown-with-our-docusaurus-css)
* [Style Guidelines](#style-guidelines)
* [SME and Editorial Reviews](#sme-and-editorial-reviews)

Welcome to the repository for the [Replicated documentation site](https://docs.replicated.com/).

## For Software Vendors: Using this Repository to Create Your Documentation
## Contribute to the Replicated Docs

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:
This repository has been made public so that vendors and the open-source community can contribute to the content using the following methods:

* **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).
* **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).
- **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.

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.
- **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.

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.
## Folder Structure and Sidebar

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.
The folder structure is broken into several high-level categories under the main `docs` folder: vendor, enterprise, reference, release notes.

## How to Contribute to the Documentation
Images are under the `static` > `images` folder.

This repository has been made public so that vendors and the open-source community can contribute to the content using the following methods:
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.

- **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.
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.

- **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.
The right-hand TOC is created automatically when you add headings to a topic.

## Setting Up Local WYSIWYG Previews

Expand Down Expand Up @@ -87,118 +73,9 @@ Before pushing changes to the remote repository, build and serve the site locall
npm run serve
```

## Folder Structure and TOC

The folder structure is broken into several high-level categories under the main `docs` folder: vendor, enterprise, reference, release notes.

Images are under the `static` > `images` folder.

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.

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.

The right-hand TOC is created automatically when you add headings to a topic.

## Topic Templates

You can find topic templates in the `docs/templates` folder. These templates are useful for anyone creating a new topic in this repository.

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).

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.

## Filenaming

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.

Because we author content using Markdown, you must add the `.md` the file extension to the file name.

If you are adding a new topic to an existing feature category, follow the existing naming convention for that category.

**Example: Concept topic**

`snapshots-backup-hooks.md`

**Example: Task topic**

`releases-creating-customer.md`

**Example: Tutorial**

`tutorial-ha-cluster-deploying.md`


## Images

* Screenshots are use sparingly to minimize the maintenance of out-of-date content. However, we do include some screenshots to provide context.

* 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.

* We only use PNG format, which renders a better quality and lossless compression.

* 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.

* 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.

* 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).


## Using Markdown with our Docusaurus CSS

Replicated uses its own CSS, and Docusaurus supports its own specific Markdown syntax. The following table provides an overview of the supported syntax elements.

| Element | Syntax |
|---------------------------------------------|-------------------------------------------------------|
| Headings | `# H1`, `## H2`, `### H3` |
| Bold | `**bold text**` |
| Italic | `_italicized text_` |
| Ordered List | `1.` First item (use `1.` for each item) |
| Unordered List | `-` or `*` (for each item) |
| Code or command in a sentence | ``code`` |
| Link - external site | `[Title](https://www.example.com)` |
| Link - topic in same folder | `[Title](filename) without file extension` |
| Link - topic in different folder | `[Title](../folder/file-name) without file extension` |
| Link - section in topic in same folder | `[Title](file-name#section-name)` |
| Link - section in topic in different folder | `[Title](../folder/file-name#section-name)` |
| Image | `![alt text](images/<image-name>.png)` |

**Note:** Alt text, used with image syntax, is parsed by screen readers to support accessibility.

### Admonitions

Note admonitions are formatted as follows:

```
:::note
text
:::
```

Important admonitions, typically used as a warning, are formatted as follows:

```
:::important
text
:::
```

### Tables

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.

**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.

## Style Guidelines

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).

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.

Replicated employees can review more information in the Documentation Style Guide in the employee handbook.


## SME and Editorial Reviews
## Replicated Documentation for LLMs

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

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.
- [llms.txt](https://docs.replicated.com/llms.txt): This file contains Markdown versions of key docs pages.
- [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.
2 changes: 1 addition & 1 deletion docs/enterprise/embedded-manage-nodes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import HaArchitecture from "../partials/embedded-cluster/_multi-node-ha-arch.mdx

# Managing Multi-Node Clusters with Embedded Cluster

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.
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.

## Limitations

Expand Down
3 changes: 1 addition & 2 deletions docs/enterprise/installing-existing-cluster-airgapped.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import IntroExisting from "../partials/install/_intro-existing.mdx"
import IntroAirGap from "../partials/install/_intro-air-gap.mdx"
import PrereqsExistingCluster from "../partials/install/_prereqs-existing-cluster.mdx"
import BuildAirGapBundle from "../partials/install/_airgap-bundle-build.mdx"
Expand All @@ -16,7 +15,7 @@ import KotsVersionMatch from "../partials/install/_kots-airgap-version-match.mdx

# Air Gap Installation in Existing Clusters with KOTS

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

<IntroAirGap/>

Expand Down
3 changes: 1 addition & 2 deletions docs/enterprise/installing-existing-cluster.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import IntroExisting from "../partials/install/_intro-existing.mdx"
import PrereqsExistingCluster from "../partials/install/_prereqs-existing-cluster.mdx"
import LicenseFile from "../partials/install/_license-file-prereq.mdx"
import InstallCommandPrompts from "../partials/install/_kots-install-prompts.mdx"
import AppNameUI from "../partials/install/_placeholder-app-name-UI.mdx"

# Online Installation in Existing Clusters with KOTS

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

## Prerequisites

Expand Down
10 changes: 4 additions & 6 deletions docs/enterprise/installing-kurl-airgap.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import KurlAbout from "../partials/install/_kurl-about.mdx"
import IntroEmbedded from "../partials/install/_intro-embedded.mdx"
import IntroAirGap from "../partials/install/_intro-air-gap.mdx"
import PrereqsEmbeddedCluster from "../partials/install/_prereqs-embedded-cluster.mdx"
import HaLoadBalancerPrereq from "../partials/install/_ha-load-balancer-prereq.mdx"
import AirGapLicense from "../partials/install/_airgap-license-download.mdx"
Expand All @@ -16,14 +14,14 @@ import KurlAvailability from "../partials/kurl/_kurl-availability.mdx"

# Air Gap Installation with kURL

<KurlAvailability/>

<IntroEmbedded/>
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.

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

<KurlAbout/>

<KurlAvailability/>

## Prerequisites

Complete the following prerequisites:
Expand Down
4 changes: 2 additions & 2 deletions docs/enterprise/installing-kurl-requirements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import KurlAvailability from "../partials/kurl/_kurl-availability.mdx"

# kURL Installation Requirements

<KurlAvailability/>

This topic lists the installation requirements for Replicated kURL. Ensure that the installation environment meets these requirements before attempting to install.

<KurlAvailability/>

## Minimum System Requirements

* 4 CPUs or equivalent per machine
Expand Down
7 changes: 3 additions & 4 deletions docs/enterprise/installing-kurl.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import KurlAbout from "../partials/install/_kurl-about.mdx"
import IntroEmbedded from "../partials/install/_intro-embedded.mdx"
import PrereqsEmbeddedCluster from "../partials/install/_prereqs-embedded-cluster.mdx"
import HaLoadBalancerPrereq from "../partials/install/_ha-load-balancer-prereq.mdx"
import LicenseFile from "../partials/install/_license-file-prereq.mdx"
Expand All @@ -10,12 +9,12 @@ import KurlAvailability from "../partials/kurl/_kurl-availability.mdx"

# Online Installation with kURL

<KurlAvailability/>

<IntroEmbedded/>
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.

<KurlAbout/>

<KurlAvailability/>

## Prerequisites

Complete the following prerequisites:
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/custom-resource-helmchart-v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import KotsHelmCrDescription from "../partials/helm/_kots-helm-cr-description.md

# HelmChart v2

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

<KotsHelmCrDescription/>

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/replicated-cli-installing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import AuthToken from "../partials/replicated-cli/_authorize-with-token-note.mdx

# Installing the Replicated CLI

Vendors can use the Replicated CLI to manage their applications with Replicated programmatically, rather than using the Replicated vendor portal.
This topic describes how to install and run the Replicated CLI.

You can use the Replicated CLI to manage your applications with Replicated programmatically, rather than using the Replicated Vendor Portal.

## Prerequisites

Expand Down
2 changes: 2 additions & 0 deletions docs/reference/template-functions-config-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import ConfigContext from "../partials/template-functions/_config-context.mdx"

# Config Context

This topic provides a list of the KOTS template functions in the Config context.

<ConfigContext/>

## ConfigOption
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/template-functions-identity-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import IdentityContext from "../partials/template-functions/_identity-context.md

# Identity Context

This topic provides a list of the KOTS template functions in the Identity context.

<IdentityContext/>

## IdentityServiceEnabled
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/template-functions-kurl-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import KurlAvailability from "../partials/kurl/_kurl-availability.mdx"

# kURL Context

This topic provides a list of the KOTS template functions in the kURL context.

<KurlAvailability/>

## Overview
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/template-functions-license-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import LicenseContext from "../partials/template-functions/_license-context.mdx"

# License Context

This topic provides a list of the KOTS template functions in the License context.

<LicenseContext/>

## LicenseFieldValue
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/template-functions-static-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import StaticContext from "../partials/template-functions/_static-context.mdx"

# Static Context

This topic provides a list of the KOTS template functions in the Static context.

<StaticContext/>

## Certificate Functions
Expand Down
Loading