-
Notifications
You must be signed in to change notification settings - Fork 10k
feat: add automatic resource provisioning documentation #26374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add automatic resource provisioning documentation #26374
Conversation
…tion - Added documentation for automatic provisioning of KV, R2, and D1 bindings without pre-creating resources - Implemented removeSchema prop in WranglerConfig component to conditionally exclude JSON schema reference - Reformatted redirected configuration section for improved readability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds documentation for the automatic resource provisioning feature in Wrangler and implements a removeSchema prop for the WranglerConfig component to make configuration snippets easier to copy-paste.
Key changes:
- Added a new "Automatic provisioning" section to the Wrangler configuration documentation
- Implemented a
removeSchemaprop for theWranglerConfigcomponent to optionally exclude the JSON schema reference - Fixed indentation issues in existing FileTree and code block examples
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/content/docs/workers/wrangler/configuration.mdx |
Added automatic provisioning documentation section with examples, imported InlineBadge component, and fixed indentation in FileTree examples |
src/content/docs/style-guide/components/wrangler-config.mdx |
Documented the new removeSchema prop with usage examples and removed trailing whitespace |
src/components/WranglerConfig.astro |
Implemented the removeSchema prop using Zod validation and refactored JSON generation logic |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Summary
Documentation checklist
…tion