Skip to content

Commit 1a3d152

Browse files
committed
Add LLMs.txt support
1 parent 3c1082a commit 1a3d152

File tree

5 files changed

+28
-0
lines changed

5 files changed

+28
-0
lines changed

docusaurus/docs/cloud/getting-started/intro.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ slug: /cloud/intro
55
sidebar_position: 1
66
---
77

8+
import LLMsTip from '/docs/snippets/llms-tip.md'
9+
810
# Welcome to the Strapi Cloud Docs!
911

1012
<SubtleCallout title="Developer Docs, User Guide, and Strapi Cloud documentation" emoji="📍">
@@ -25,6 +27,8 @@ This documentation contains all technical documentation related to the setup, de
2527

2628
Strapi Cloud enables you to increase your content velocity without having to compromise on customization needs and requirements. Development teams can rely on Strapi Cloud to abstract away the complexity of infrastructure management while keeping your development workflow and extending the core capabilities of Strapi. Content managers can use Strapi Cloud to autonomously manage all types of content and benefit from a complete set of content collaboration, security, and compliance features.
2729

30+
<LLMsTip/>
31+
2832
## What you will find here
2933

3034
:::prerequisites

docusaurus/docs/dev-docs/intro.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ slug: /dev-docs/intro
55
sidebar_position: 1
66
---
77

8+
import LLMsTip from '/docs/snippets/llms-tip.md'
9+
810
# Welcome to the Strapi Developer Docs!
911

1012
<SubtleCallout title="Developer Docs, User Guide, and Strapi Cloud documentation" emoji="📍">
@@ -25,6 +27,8 @@ You can directly head to the [Quick Start](./quick-start.md)! <br/> If demos are
2527

2628
The original purpose of the project was to help Boot**strap** your **API**: that's how Strapi was created. Now, Strapi is an open-source headless CMS that gives developers the freedom to choose their favorite tools and frameworks and allows editors to manage and distribute their content using their application's admin panel. Based on a plugin system, Strapi is a flexible CMS whose admin panel and API are extensible - and which every part is customizable to match any use case. Strapi also has a built-in user system to manage in detail what the administrators and end users have access to.
2729

30+
<LLMsTip />
31+
2832
## Open-source & Contribution
2933

3034
Strapi is an open-source project (see [LICENSE](https://github.com/strapi/strapi/blob/master/LICENSE) file for more information). The core project, as well as the documentation and any related tool can be found in the [Strapi](https://github.com/strapi) GitHub organization.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:::tip Strapi v4 Docs now have LLMs.txt support
2+
To use Strapi v4 docs with your favorite LLM, you can use the [`llms.txt`](https://docs-v4.strapi.io/llms-v4.txt) and [`llms-full.txt`](https://docs-v4.strapi.io/llms-v4-full.txt) files.
3+
:::

docusaurus/docs/user-docs/intro.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ displayed_sidebar: userDocsSidebar
33
sidebar_label: Welcome!
44
---
55

6+
import LLMsTip from '/docs/snippets/llms-tip.md'
7+
68
# Welcome to the Strapi User Guide!
79

810
<SubtleCallout title="Developer Docs, User Guide, and Strapi Cloud documentation" emoji="📍">
@@ -33,6 +35,8 @@ If you are not sure where to begin on this User Guide, we suggest you to:
3335
2. Follow the [Setting up the admin panel](/user-docs/getting-started/setting-up-admin-panel) guide.
3436
3. Continue your journey through the various User Guide sections. The ["What you will find here"](#what-you-will-find-here) section gives you an overview of the available topics.
3537

38+
<LLMsTip />
39+
3640
## What you will find here
3741

3842
The table of content in this <UserGuideAdminPanel /> displays 7 main sections.

docusaurus/docusaurus.config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,19 @@ const config = {
184184
},
185185
],
186186
},
187+
{
188+
title: 'AI tools',
189+
items: [
190+
{
191+
label: 'LLMs.txt',
192+
href: 'https://docs-v4.strapi.io/llms-v4.txt',
193+
},
194+
{
195+
label: 'LLMs-full.txt',
196+
href: 'https://docs-v4.strapi.io/llms-v4-full.txt',
197+
},
198+
],
199+
},
187200
{
188201
title: 'Community',
189202
items: [

0 commit comments

Comments
 (0)