Skip to content

Add canonical examples/ scripts for marketing SDK pages - #507

Closed
Jonesy464 wants to merge 1 commit into
mainfrom
rj/canonical-examples
Closed

Add canonical examples/ scripts for marketing SDK pages#507
Jonesy464 wants to merge 1 commit into
mainfrom
rj/canonical-examples

Conversation

@Jonesy464

Copy link
Copy Markdown
Contributor

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-examples and into this repo so the SDK owns its own examples. Each is self-contained and runnable with ANVIL_API_KEY set (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.

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.
@Jonesy464

Copy link
Copy Markdown
Contributor Author

Superseded by #509 (the refreshed, verified canonical-examples set).

@Jonesy464 Jonesy464 closed this Aug 21, 2026
@Jonesy464
Jonesy464 deleted the rj/canonical-examples branch August 21, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant