From 46f6de8c9845f7f514f8656ad17adb48c04c6d0c Mon Sep 17 00:00:00 2001 From: Prabhanu Gunaweera Date: Sat, 6 Jun 2026 08:13:26 +0530 Subject: [PATCH] fix: rename docs/ to doc/ per pub layout convention pana flagged plural "docs/" as a layout violation. Pub convention uses singular directory names ("doc/"); other tools may not correctly identify the plural form. Update llms.txt and CLAUDE.md references. Co-Authored-By: Claude Opus 4.7 --- CLAUDE.md | 2 +- {docs => doc}/recipes.md | 0 llms.txt | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {docs => doc}/recipes.md (100%) diff --git a/CLAUDE.md b/CLAUDE.md index 4be5efa..9f759db 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -120,7 +120,7 @@ Semver guidance for this package: 4. Add a demo section to `example/lib/main.dart`. 5. Document parameters with `///` (the `public_member_api_docs` lint will fail otherwise). 6. Add an entry to [llms.txt](llms.txt) under the matching section so AI agents using the package can discover it. -7. If the widget has non-obvious usage, add a recipe to [docs/recipes.md](docs/recipes.md). +7. If the widget has non-obvious usage, add a recipe to [doc/recipes.md](doc/recipes.md). ## Things that have bitten us diff --git a/docs/recipes.md b/doc/recipes.md similarity index 100% rename from docs/recipes.md rename to doc/recipes.md diff --git a/llms.txt b/llms.txt index 84c7ddd..825f78a 100644 --- a/llms.txt +++ b/llms.txt @@ -8,7 +8,7 @@ All public widgets are re-exported from a single barrel file: `import 'package:c Copy-paste-ready snippets for common scenarios. Each is a complete, runnable widget. -- [docs/recipes.md](docs/recipes.md): cookbook of 8 short examples — basic chat, reply UI, audio with waveform, image bubble, reactions, swipe-to-reply, message grouping, custom message bar +- [doc/recipes.md](doc/recipes.md): cookbook of 8 short examples — basic chat, reply UI, audio with waveform, image bubble, reactions, swipe-to-reply, message grouping, custom message bar ## Widget API reference