feat(docs): generate server.txt reference and wire into www llms - #47782
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughThe reference generator now produces ChangesServer reference publication
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| return [ | ||
| ...guideSources, | ||
| { title: 'Supabase Reference (JavaScript)', relPath: 'llms/js.txt', enabled: true }, | ||
| { title: 'Supabase Server Library Reference', relPath: 'llms/server.txt', enabled: true }, |
There was a problem hiding this comment.
Just for the sake of consistency:
| { title: 'Supabase Server Library Reference', relPath: 'llms/server.txt', enabled: true }, | |
| { title: 'Supabase Reference' (Server SDK), relPath: 'llms/server.txt', enabled: true }, |
There was a problem hiding this comment.
I adjusted it only a bit, because consistently it's not a "Supabase Library" like Javascript, kotlin, dart, etc. It's a separate thing, so I changed it to 'Supabase Server SDK Reference' and put it above 'Supabase CLI Reference' to highlight the consistency there!
There are a lot of sections with empty content. Probably because we introduced a new type of definition and updated the build script for the json files but not the markdown generation one to support it @mandarini |
f521625 to
0fb9369
Compare
Add a `server` entry to the reference-markdown pipeline so it emits `public/markdown/reference/server.md`, and register the Supabase Server Library Reference as a source in the www `llms.txt` and `llms-full.txt` routes.
cc5148c to
909cc1e
Compare
Braintrust eval report
|

Add a
serverentry to the reference-markdown pipeline so it emitspublic/markdown/reference/server.md, and register the Supabase Server Library Reference as a source in the wwwllms.txtandllms-full.txtroutes.Summary by CodeRabbit