Add canonical examples/ scripts for marketing SDK pages - #507
Closed
Jonesy464 wants to merge 1 commit into
Closed
Conversation
Runnable fill / generate-markdown / generate-html / create-etch-packet examples (js + ts) under examples/, named to match what the marketing-site SDK-page sourcing scans (anvilco/marketing-site#3646). Migrates the clean snippets off anvil-api-usage-examples. The existing example/script dev scripts are unchanged.
Contributor
Author
|
Superseded by #509 (the refreshed, verified canonical-examples set). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds runnable example scripts under
examples/in the canonical layout the marketing-site SDK pages source from (anvilco/marketing-site#3646):examples/fill.{js,ts}examples/generate-markdown.{js,ts}examples/generate-html.{js,ts}examples/create-etch-packet.{js,ts}These migrate the clean, published-package snippets off
anvil-api-usage-examplesand into this repo so the SDK owns its own examples. Each is self-contained and runnable withANVIL_API_KEYset (no shared repo scaffolding).The existing
example/script/*dev scripts are left untouched; making the on-page code panel runnable is separate work (#3508).Draft while the marketing sourcing wiring lands.