Skip to content
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
5 changes: 5 additions & 0 deletions .changeset/chatty-breads-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stackflow/docs": minor
---

Add LLMs.txt and changelog section
762 changes: 762 additions & 0 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 4 additions & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/.next
/out
.open-next
.open-next

/public/llms-*.txt
/public/llms.txt
Empty file.
15 changes: 14 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"description": "Mobile-first stack navigator framework with Composable Plugin System",
"license": "MIT",
"scripts": {
"build": "next build",
"generate:changelog": "yarn tsx scripts/generate-changelog.ts",
"build:llms": "yarn tsx scripts/generate-llms-txt.ts",
"build": "yarn build:llms && next build",
"start": "next start",
"dev": "next -p 6006",
"preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview",
Expand All @@ -27,21 +29,32 @@
"autoprefixer": "^10.4.20",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"gray-matter": "^4.0.3",
"lucide-react": "^0.451.0",
"next": "^14.2.4",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"postcss": "^8.4.47",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-stringify": "^11.0.0",
"simple-reveal": "^0.8.0",
"tailwind-merge": "^2.5.3",
"tailwindcss": "^3.4.13"
},
"devDependencies": {
"@changesets/assemble-release-plan": "^6.0.9",
"@changesets/config": "^3.1.1",
"@changesets/pre": "^2.0.2",
"@changesets/read": "^0.6.5",
"@changesets/types": "^6.1.0",
"@manypkg/get-packages": "~1.1.3",
"@seed-design/stylesheet": "^1.0.4",
"@types/node": "^22.7.5",
"react-lazy-load-image-component": "^1.6.2",
"tsx": "^4.20.6",
"typescript": "^5.6.3",
"wrangler": "^4.12.1"
}
Expand Down
4 changes: 3 additions & 1 deletion docs/pages/docs/_meta.en.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"get-started": "Get Started",
"advanced": "Advanced Usage"
"advanced": "Advanced Usage",
"ai-integration": "AI Integration",
"changelog": "Changelog"
}
4 changes: 3 additions & 1 deletion docs/pages/docs/_meta.ko.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"get-started": "시작하기",
"advanced": "활용하기"
"advanced": "활용하기",
"ai-integration": "AI 통합",
"changelog": "변경 이력"
}
3 changes: 3 additions & 0 deletions docs/pages/docs/ai-integration/_meta.en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"llms-txt": "LLMs.txt"
}
3 changes: 3 additions & 0 deletions docs/pages/docs/ai-integration/_meta.ko.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"llms-txt": "LLMs.txt"
}
21 changes: 21 additions & 0 deletions docs/pages/docs/ai-integration/llms-txt.en.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: LLMs.txt
---

# LLMs.txt

We provide an LLMs.txt setup to help large language models (LLMs) easily understand Stackflow.

### Structure

We provide the following LLMs.txt files:

- [llms.txt](https://stackflow.so/llms.txt): The main file that describes the structure of all LLMs.txt files.
- [llms-full.txt](https://stackflow.so/llms-full.txt): Includes all Stackflow documentation.
- [llms-changelog.txt](https://stackflow.so/llms-changelog.txt): Contains the latest updates and changes so you can review version-by-version history.

### Using with AI tools
#### Cursor
You can include the LLMs.txt files in your project using Cursor's @Docs feature.

[**Learn more about Cursor @Docs**](https://docs.cursor.com/context/@-symbols/@-docs)
21 changes: 21 additions & 0 deletions docs/pages/docs/ai-integration/llms-txt.ko.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: LLMs.txt
---

# LLMs.txt

대규모 언어 모델(LLM)이 Stackflow를 쉽게 이해할 수 있도록 LLMs.txt를 제공합니다.

### 구조

다음과 같은 LLMs.txt 파일들을 제공합니다:

- [llms.txt](https://stackflow.so/llms.txt): LLMs.txt 파일들의 구조를 제공하는 메인 파일입니다.
- [llms-full.txt](https://stackflow.so/llms-full.txt): Stackflow의 모든 문서를 포함합니다.
- [llms-changelog.txt](https://stackflow.so/llms-changelog.txt): 최신 업데이트와 변경사항을 포함하여 버전별 변경 내역을 확인할 수 있습니다.

### AI 도구와 함께 사용하기
#### Cursor
Cursor의 @Docs 기능을 사용하여 프로젝트에 LLMs.txt 파일을 포함할 수 있습니다.

[**Cursor @Docs에 대해 자세히 알아보기**](https://docs.cursor.com/context/@-symbols/@-docs)
7 changes: 7 additions & 0 deletions docs/pages/docs/changelog.en.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Changelog
---

import ChangelogContent from "../../components/ChangelogContent.mdx"

<ChangelogContent />
7 changes: 7 additions & 0 deletions docs/pages/docs/changelog.ko.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: 변경 이력
---

import ChangelogContent from "../../components/ChangelogContent.mdx"

<ChangelogContent />
Loading