docs(idp): add copyable Deploy with Pulumi button snippet#20086
docs(idp): add copyable Deploy with Pulumi button snippet#20086joeduffy wants to merge 2 commits into
Conversation
Add a ready-to-copy Markdown snippet directly beneath the intro example button so users no longer have to right-click the image to find its URL and hand-craft the Markdown link themselves. Also switch the existing Markdown/HTML examples in "Creating a Pulumi Button" from relative image paths to fully qualified pulumi.com URLs, since a relative path only resolves on pulumi.com and renders as a broken image once pasted into a README hosted elsewhere. Fixes #12057
Pre-merge Review — Last updated 2026-07-05T14:24:34ZTip Summary: This is a small docs change to the IDP "Deploy with Pulumi button" integration page ( Review confidence:
Investigation log
🔍 Verification trail8 claims extracted · 7 verified · 0 unverifiable · 0 contradicted
🚨 Outstanding in this PRNo outstanding findings in this PR.
|
|
@claude #update-review |
|
Your site preview for commit 3bae273 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-20086-3bae273a.s3-website.us-west-2.amazonaws.com |
|
🤖 Review updated on @joeduffy's request. |
What
Adds a ready-to-copy Markdown snippet directly beneath the intro "Deploy with Pulumi" button example, so a reader can grab the exact source for that button without right-clicking the rendered image to find its URL. It also fixes the existing "Creating a Pulumi Button" example snippets, which used relative image paths (
/images/deploy-with-pulumi/dark.svg) that only resolve on pulumi.com — once copied into a README hosted elsewhere, the button image renders broken. Those snippets now use the fully qualifiedhttps://www.pulumi.com/...URL, matching the pattern already used correctly in the "Button Image" reference list further down the page.Why
Fixes #12057. The reporter noted that producing a button snippet required right-clicking the rendered button to recover its image URL and hand-crafting the Markdown link, a step that's easy to get wrong. This change surfaces the snippet directly, and closes a related gap where even the page's existing example snippets would have broken once copied outside pulumi.com.
Verification
app.pulumi.com/new?template=...target URL return200.🧠 This PR was created by workprentice on behalf of @joeduffy.