Skip to content

docs: fix up examples#8009

Merged
mimecuvalo merged 1 commit intomainfrom
mime/docs-issue
Feb 18, 2026
Merged

docs: fix up examples#8009
mimecuvalo merged 1 commit intomainfrom
mime/docs-issue

Conversation

@mimecuvalo
Copy link
Copy Markdown
Member

@mimecuvalo mimecuvalo commented Feb 18, 2026

followup to #7957

was causing docs builds to fail:


Error: ENOENT: no such file or directory, open '/Users/mime/Sites/tldraw/apps/examples/src/examples/collaboration/README.md'
    at Object.openSync (node:fs:559:18)
    at Object.readFileSync (node:fs:443:35)
    at generateSection 

Change type

  • bugfix
  • improvement
  • feature
  • api
  • other

Note

Low Risk
Limited to docs content generation logic; main risk is misclassification or missing example articles if the expected folder structure differs.

Overview
Fixes docs build failures when generating the examples section by changing article discovery to recursively locate README.md files instead of assuming a flat directory layout.

This refactors generateSection to use explicit article source lists (getRegularArticleSources vs getExampleArticleSources), derives example articleId/categoryId from folder paths, and allows getArticleData to accept a category override so example category assignment no longer depends on frontmatter.

Written by Cursor Bugbot for commit 8dd4f97. This will update automatically on new commits. Configure here.

@huppy-bot huppy-bot bot added the other ⚙️ Changes that don't affect SDK users, e.g. internal or .com changes label Feb 18, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
examples Ready Ready Preview Feb 18, 2026 4:23pm
tldraw-docs Ready Ready Preview Feb 18, 2026 4:23pm
4 Skipped Deployments
Project Deployment Actions Updated (UTC)
analytics Ignored Ignored Feb 18, 2026 4:23pm
chat-template Skipped Skipped Feb 18, 2026 4:23pm
tldraw-shader Skipped Skipped Feb 18, 2026 4:23pm
workflow-template Skipped Skipped Feb 18, 2026 4:23pm

Request Review

@mimecuvalo mimecuvalo enabled auto-merge February 18, 2026 16:14
@mimecuvalo mimecuvalo added this pull request to the merge queue Feb 18, 2026
Merged via the queue into main with commit bfe6f21 Feb 18, 2026
23 checks passed
@mimecuvalo mimecuvalo deleted the mime/docs-issue branch February 18, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

other ⚙️ Changes that don't affect SDK users, e.g. internal or .com changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant