Skip to content

Add .anvil/marketing.yml for marketing-site language pages - #506

Merged
Jonesy464 merged 5 commits into
mainfrom
rj/marketing-yml-language-declaration
Aug 14, 2026
Merged

Add .anvil/marketing.yml for marketing-site language pages#506
Jonesy464 merged 5 commits into
mainfrom
rj/marketing-yml-language-declaration

Conversation

@Jonesy464

@Jonesy464 Jonesy464 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Adds .anvil/marketing.yml so anvilco/marketing-site sources this repo's JavaScript and TypeScript SDK pages at build time (language identity, install command, products, and per-product example paths) instead of hardcoding them in the marketing site.

One repo serves both languages, so the block declares javascript and typescript. supported is omitted so the marketing site derives live/coming-soon from this repo's visibility. JavaScript maps to the example/script/*.js files; TypeScript has no separate .ts examples here, so its samples fall back to the marketing site's committed content until .ts examples are added.

Related to anvilco/marketing-site#3505.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@Jonesy464
Jonesy464 requested a review from a team August 11, 2026 20:28
Comment thread .anvil/marketing.yml Outdated
Products and examples are derived from the repo's examples/ dir by the
marketing-site sourcing, so they no longer need declaring here.
@Jonesy464
Jonesy464 requested a review from fostimus August 14, 2026 17:11
Comment thread .anvil/marketing.yml
Addresses review feedback: surface the common npm/yarn/pnpm install commands.
@Jonesy464
Jonesy464 merged commit fc510e2 into main Aug 14, 2026
9 checks passed
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.

2 participants