Skip to content

Commit 277aeb9

Browse files
committed
Final lil' papercuts
1 parent 0e93e59 commit 277aeb9

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

content/docs/get-started/aws/deploy-changes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ Notice that your `index.html` file has been added to the bucket:
108108
```
109109

110110
{{% choosable language javascript %}}
111+
111112
Now that your `index.html` is in your bucket, modify the program file to have the bucket serve `index.html` as a static website. First, set the `website` property on your bucket.
112113

113114
```javascript
@@ -138,6 +139,7 @@ exports.bucketEndpoint = pulumi.interpolate`http://${bucket.websiteEndpoint}`;
138139
{{% /choosable %}}
139140

140141
{{% choosable language typescript %}}
142+
141143
Now that your `index.html` is in your bucket, modify the program file to have the bucket serve `index.html` as a static website. First, set the `website` property on your bucket.
142144

143145
```typescript
@@ -168,6 +170,7 @@ export const bucketEndpoint = pulumi.interpolate`http://${bucket.websiteEndpoint
168170
{{% /choosable %}}
169171

170172
{{% choosable language python %}}
173+
171174
Now that your `index.html` is in your bucket, modify the program file to have the bucket serve `index.html` as a static website. First, set the `website` property on your bucket.
172175

173176
```python
@@ -198,6 +201,7 @@ pulumi.export('bucket_endpoint', pulumi.Output.concat('http://', bucket.website_
198201
{{% /choosable %}}
199202

200203
{{% choosable language go %}}
204+
201205
Now that your `index.html` is in your bucket, modify the program to have the bucket serve `index.html` as a static website. First, set the `Website` property on your bucket.
202206

203207
```go
@@ -228,6 +232,7 @@ ctx.Export("bucketEndpoint", pulumi.Sprintf("http://%s", bucket.WebsiteEndpoint)
228232
{{% /choosable %}}
229233

230234
{{% choosable language csharp %}}
235+
231236
Now that your `index.html` is in your bucket, modify the program to have the bucket serve `index.html` as a static website. First, set the `Website` property on your bucket.
232237

233238
```csharp

content/docs/guides/adopting/import.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ application.
6262

6363
{{< chooser language "typescript,python,csharp,go" >}}
6464

65-
{{< choosable language typescript >}}
65+
{{% choosable language typescript %}}
6666

6767
```typescript
6868
import * as pulumi from "@pulumi/pulumi";
@@ -77,8 +77,8 @@ const demo = new aws.s3.Bucket("infra-logs", {
7777
});
7878
```
7979

80-
{{< /choosable >}}
81-
{{< choosable language python >}}
80+
{{% /choosable %}}
81+
{{% choosable language python %}}
8282

8383
```python
8484
import pulumi
@@ -91,8 +91,8 @@ demo = aws.s3.Bucket("infra-logs",
9191
opts=ResourceOptions(protect=True))
9292
```
9393

94-
{{< /choosable >}}
95-
{{< choosable language go >}}
94+
{{% /choosable %}}
95+
{{% choosable language go %}}
9696

9797
```go
9898
package main
@@ -117,8 +117,8 @@ func main() {
117117
}
118118
```
119119

120-
{{< /choosable >}}
121-
{{< choosable language csharp >}}
120+
{{% /choosable %}}
121+
{{% choosable language csharp %}}
122122

123123
```csharp
124124
using Pulumi;
@@ -142,7 +142,7 @@ class MyStack : Stack
142142
}
143143
```
144144

145-
{{< /choosable >}}
145+
{{% /choosable %}}
146146
{{< /chooser >}}
147147

148148
After successfully importing a resource and adding the generated code to your program, you can run `pulumi up` and all subsequent operations

content/docs/guides/testing/unit.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ dotnet add package FluentAssertions
233233
Let's add the following code to mock the external calls to the Pulumi CLI.
234234

235235
{{% choosable language "typescript" %}}
236+
236237
**ec2tests.ts**
237238

238239
```ts
@@ -272,6 +273,7 @@ pulumi.runtime.set_mocks(MyMocks())
272273
{{% /choosable %}}
273274

274275
{{% choosable language go %}}
276+
275277
**main_test.go**
276278

277279
```go
@@ -293,6 +295,7 @@ func (mocks) Call(token string, args resource.PropertyMap, provider string) (res
293295
{{% /choosable %}}
294296

295297
{{% choosable language "csharp" %}}
298+
296299
**Testing.cs**
297300

298301
```csharp

0 commit comments

Comments
 (0)