Skip to content

Commit e226b7e

Browse files
committed
Add llms.txt
Close #386
1 parent ecb5625 commit e226b7e

3 files changed

Lines changed: 462 additions & 1 deletion

File tree

packages/website/docs/learn/01-installation.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,15 @@ For native support, please make sure the following peer dependencies are install
2929
```
3030
npm install react react-native
3131
```
32+
33+
## How to use AI to code with React Strict DOM
34+
35+
When using AI assistants like Claude or ChatGPT to help write React Strict DOM code, provide our **<a href="/react-strict-dom/llms.txt" target="_blank">LLM guide</a>** as context for more accurate results.
36+
37+
**How to use:**
38+
39+
1. Copy the contents of the <a href="/react-strict-dom/llms.txt" target="_blank">llm.txt</a> file.
40+
2. Provide it as context in your conversation with the AI assistant.
41+
3. Then ask your coding questions.
42+
43+
This guide contains condensed, AI-optimized documentation covering React Strict DOM's syntax, styling system, common patterns, and key differences from React DOM. Providing this context helps AI assistants generate code using the React Strict DOM APIs and avoids common mistakes.

packages/website/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const config = {
1616
// Set the /<baseUrl>/ pathname under which your site is served
1717
// For GitHub pages deployment, it is often '/<projectName>/'
1818
baseUrl: '/react-strict-dom/',
19-
trailingSlash: true,
19+
trailingSlash: undefined,
2020
onBrokenLinks: 'throw',
2121
onBrokenMarkdownLinks: 'warn',
2222
// GitHub pages deployment config.

0 commit comments

Comments
 (0)