Skip to content
Closed
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
90 changes: 0 additions & 90 deletions .github/workflows/generate-markdown.yml

This file was deleted.

19 changes: 16 additions & 3 deletions .github/workflows/llmstxt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ jobs:
- name: Install pnpm
run: pnpm install

- name: Build docs (skip postbuild)
run: pnpm build
env:
SKIP_POSTBUILD: "true"

- name: Generate clean markdown
run: pnpm generate:markdown
env:
FULL_REBUILD: "true"

- name: Verify clean markdown completeness
run: pnpm verify:markdown

- name: generate LLMs.txt
run: pnpm llmstxt
env:
Expand All @@ -44,10 +57,10 @@ jobs:
- name: Check for changes
id: check-changes
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "has_changes=true" >> $GITHUB_OUTPUT
else
if git diff --quiet -- public/llms.txt && git diff --cached --quiet -- public/llms.txt; then
echo "has_changes=false" >> $GITHUB_OUTPUT
else
echo "has_changes=true" >> $GITHUB_OUTPUT
fi

- name: Commit changes to PR
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ toolkit-docs-generator-verification/logs/
# Generated toolkit markdown (built at build time, not committed)
public/toolkit-markdown/

# Generated clean markdown (built at build time, not committed)
public/_markdown/
Comment on lines +32 to +33
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


# Git worktrees
.worktrees/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"format": "pnpm exec ultracite fix",
"prepare": "husky install",
"toolkit-markdown": "pnpm dlx tsx toolkit-docs-generator/scripts/generate-toolkit-markdown.ts",
"postbuild": "if [ \"$SKIP_POSTBUILD\" != \"true\" ]; then pnpm run generate:markdown && pnpm run custompagefind; fi",
"postbuild": "if [ \"$SKIP_POSTBUILD\" != \"true\" ]; then pnpm run generate:markdown && if [ \"$VERCEL\" = \"1\" ]; then pnpm run verify:markdown; fi && pnpm run custompagefind; fi",
"generate:markdown": "pnpm dlx tsx scripts/generate-clean-markdown.ts",
"verify:markdown": "pnpm dlx tsx scripts/verify-clean-markdown.ts",
"translate": "pnpm dlx tsx scripts/i18n-sync/index.ts && pnpm format",
"llmstxt": "pnpm dlx tsx scripts/generate-llmstxt.ts",
"custompagefind": "pnpm dlx tsx scripts/pagefind.ts",
Expand Down
80 changes: 0 additions & 80 deletions public/_markdown/en/get-started/about-arcade.md

This file was deleted.

29 changes: 0 additions & 29 deletions public/_markdown/en/get-started/agent-frameworks.md

This file was deleted.

Loading