Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion content/docs/iac/concepts/stacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ Stack outputs respect secret annotations and are encrypted appropriately. If a s

To add a README to a stack, export a stack output named `readme` whose value is the rendered markdown — most commonly by reading from a template file checked into your project (for example, `Pulumi.README.md`):

{{< chooser language "typescript,python,go,csharp,java" / >}}
{{< chooser language "typescript,python,go,csharp,java" >}}

{{% choosable language typescript %}}

Expand Down Expand Up @@ -474,6 +474,8 @@ public class App {

{{% /choosable %}}

{{< /chooser >}}

The template file can reference other stack outputs (or resource properties) with `${...}` placeholders that Pulumi Cloud resolves when rendering. For example:

```markdown
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/example-program.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
<div data-program-path="{{ $path }}" data-program-language="{{ $language }}" data-program-file="{{ $program }}" data-program-depfile="{{ $depfile }}">
{{ highlight $code $language }}
</div>
<div class="example-program-footer bg-white">
<pulumi-tooltip>
<div class="example-program-footer">
<pulumi-tooltip position="left">
<a href="https://github.com/pulumi/docs/tree/master/static/programs/{{ $path }}-{{ $language }}" target="_blank">
{{ partial "icon.html" (dict "name" "brand/github") }}
</a>
Expand Down
4 changes: 2 additions & 2 deletions layouts/shortcodes/example-program.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
<div data-program-path="{{ $path }}" data-program-language="{{ $language }}" data-program-file="{{ $program }}" data-program-depfile="{{ $depfile }}">
{{ highlight $code $language }}
</div>
<div class="example-program-footer bg-white">
<pulumi-tooltip>
<div class="example-program-footer">
<pulumi-tooltip position="left">
<a href="https://github.com/pulumi/docs/tree/{{ $.Site.Params.contentRepositoryBaseBranch }}/static/programs/{{ $path }}-{{ $language }}" target="_blank">
{{ partial "icon.html" (dict "name" "brand/github") }}
</a>
Expand Down
10 changes: 10 additions & 0 deletions static/images/docs/icons/languages/csharp-color-32-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions static/images/docs/icons/languages/fsharp-color-32-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions static/images/docs/icons/languages/hcl-color-32-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions static/images/docs/icons/languages/javascript-color-32-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions static/images/docs/icons/languages/typescript-color-32-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions static/images/docs/icons/languages/visualbasic-color-32-32.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading