Skip to content

Commit d8e8684

Browse files
committed
fix remaining links in integrations, minor fixes
1 parent 81bcbb4 commit d8e8684

File tree

12 files changed

+35
-31
lines changed

12 files changed

+35
-31
lines changed

src/content/docs/aws/integrations/app-frameworks/spring-cloud-function.mdx

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ template: doc
55
sidebar:
66
order: 4
77
---
8+
import { Tabs, TabItem } from '@astrojs/starlight/components';
89

910
## Overview
1011

@@ -197,7 +198,7 @@ shadowJar {
197198
198199
assemble.dependsOn shadowJar
199200
```
200-
{/* {/* {/* {/* {/* {/* {/* {/* {/* {/* {{< / highlight >}} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */}
201+
{/* {{< / highlight >}} */} {/* mdx-disabled */}
201202

202203
Please note that we will be using `org.localstack.sampleproject` as a
203204
working namespace, and `org.localstack.sampleproject.Application` as an
@@ -257,7 +258,7 @@ org.springframework.cloud.function.adapter.aws.FunctionInvoker::handleRequest
257258
Now our application needs an entry-class, the one we referenced earlier.
258259
Let's add it under `src/main/kotlin/org/localstack/sampleproject/Application.kt`.
259260

260-
{/* {/* {/* {/* {/* {/* {/* {/* {/* {{< highlight kotlin "linenos=table" >}} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */}
261+
{/* {{< highlight kotlin "linenos=table" >}} */} {/* mdx-disabled */}
261262
{/* TODO: packing this into a java block for now */}
262263
```java
263264
package org.localstack.sampleproject
@@ -559,23 +560,23 @@ class LambdaApi : SpringBootStreamHandler() {
559560
companion object : Logger()
560561
561562
@Bean
562-
{/* fun functionOne(): Function<Any, String> { */} {/* mdx-disabled */}
563+
fun functionOne(): Function<Any, String> {
563564
return Function {
564565
LOGGER.info("calling function one")
565566
return@Function "ONE";
566567
}
567568
}
568569
569570
@Bean
570-
{/* fun functionTwo(): Function<SampleModel, SampleModel> { */} {/* mdx-disabled */}
571+
fun functionTwo(): Function<SampleModel, SampleModel> {
571572
return Function {
572573
LOGGER.info("calling function two")
573574
return@Function it;
574575
}
575576
}
576577
577578
@Bean
578-
{/* fun dynamoDbStreamHandlerExample(): Function<DynamodbEvent, Unit> { */} {/* mdx-disabled */}
579+
fun dynamoDbStreamHandlerExample(): Function<DynamodbEvent, Unit> {
579580
return Function {
580581
LOGGER.info("handling DynamoDB stream event")
581582
}
@@ -601,8 +602,8 @@ The `Lambda-Events` package comes with a set of predefined wrappers that you can
601602
Check our [sample project](https://github.com/localstack/localstack-pro-samples/tree/master/sample-archive/spring-cloud-function-microservice)
602603
for usage examples.
603604
604-
{/* {{< tabpane >}} */} {/* mdx-disabled */}
605-
{/* {{< tab header="Serverless" lang="yaml" >}} */} {/* mdx-disabled */}
605+
<Tabs>
606+
<TabItem label="Serverless">
606607
```yaml
607608
service: localstack-sampleproject-serverless
608609
@@ -653,9 +654,9 @@ functions:
653654
handler: org.localstack.sampleproject.api.LambdaApi
654655
environment:
655656
FUNCTION_NAME: functionTwo
656-
```yaml
657-
{/* {/* {/* {{< /tab >}} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */}
658-
{/* {{< tab header="AWS CDK" lang="kotlin" >}} */} {/* mdx-disabled */}
657+
```
658+
</TabItem>
659+
<TabItem label="AWS CDK">
659660
```java
660661
package org.localstack.cdkstack
661662
@@ -728,8 +729,10 @@ class ApplicationStack(parent: Construct, name: String) : Stack(parent, name) {
728729
.build()
729730
}
730731
}
731-
{{< /tab >}}
732-
{/* {{< tab header="Terraform" lang="tf" >}} */} {/* mdx-disabled */}
732+
```
733+
</TabItem>
734+
<TabItem label="Terraform">
735+
```
733736
variable "STAGE" {
734737
type = string
735738
default = "local"
@@ -877,9 +880,9 @@ resource "aws_lambda_function" "exampleFunctionTwo" {
877880
}
878881
}
879882
}
880-
{{< /tab >}}
881-
{/* {{< /tabpane >}} */} {/* mdx-disabled */}
882883
```
884+
</TabItem>
885+
</Tabs>
883886
## Testing, Debugging and Hot Reloading
884887

885888
Please read our [Lambda Tools](/content/en/tools/lambda-tools/_index.md)

src/content/docs/aws/integrations/aws-native-tools/aws-cdk.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ When this lambda is executed locally from the `/tmp` folder, the package can not
101101

102102
## Other resources
103103

104-
{/* * [Hot-reloading Lambda functions with CDK]({{< ref "user-guide/lambda-tools/hot-reloading#aws-cloud-development-kit-cdk-configuration" >}}) */} {/* mdx-disabled */}
104+
[Hot-reloading Lambda functions with CDK](/aws/tooling/lambda-tools/hot-reloading#aws-cloud-development-kit-cdk-configuration) {/*TODO: #aws-cloud-development-kit-cdk-configuration does not exist in the current docs either */}
105105

106106
## External resources
107107

src/content/docs/aws/integrations/aws-native-tools/aws-cli.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar:
99
## Introduction
1010

1111
The [AWS Command Line Interface (CLI)](https://aws.amazon.com/cli/) is a unified tool for creating and managing AWS services via a command line interface.
12-
{/* All CLI commands applicable to services implemented within [LocalStack]({{< ref "references/coverage/" >}}) can be executed when operating against LocalStack. */} {/* mdx-disabled */}
12+
All CLI commands applicable to services implemented within {/*[LocalStack](references/coverage/) TODO: I couldn't find this page in the new docs*/} can be executed when operating against LocalStack.
1313

1414
You can use the AWS CLI with LocalStack using either of the following approaches:
1515

@@ -104,7 +104,7 @@ pip install awscli-local
104104

105105
:::note
106106

107-
{/* Automatic installation of AWS CLI version 2 is currently not supported yet (at the time of writing there is no official pypi package for `v2` available), but the `awslocal` technically also works with AWS CLI v2 (see [this section]({{< ref "#limitations" >}}) for more details). */} {/* mdx-disabled */}
107+
Automatic installation of AWS CLI version 2 is currently not supported yet (at the time of writing there is no official pypi package for `v2` available), but the `awslocal` technically also works with AWS CLI v2 (see [this section](#current-limitations) for more details).
108108
:::
109109

110110
### Usage

src/content/docs/aws/integrations/containers/kubernetes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ helm install my-release localstack-charts/localstack -f pro-values.yaml
9797

9898
## Parameters
9999

100-
{/* {{< github-markdown repo="localstack/helm-charts" file="charts/localstack/README.md#parameters" lang="markdown" >}} */} {/* mdx-disabled */}
100+
{/* {{< github-markdown repo="localstack/helm-charts" file="charts/localstack/README.md#parameters" lang="markdown" >}} */} {/* TODO: properly embedd this*/}

src/content/docs/aws/integrations/containers/rancher-desktop.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ These setups enable LocalStack to run smoothly with Rancher Desktop across vario
3434

3535
### Linux/macOS
3636

37-
{/* {{<alert type="info">}} */} {/* mdx-disabled */}
37+
{/*TODO: this was an "alert" before, change container accordingly (or remove this TODO)*/}
38+
:::note
3839
### Recommended Settings for Rancher Desktop on macOS
3940

4041
If you're using Rancher Desktop on macOS, particularly on Apple Silicon (M1, M2, etc.), it's crucial to adjust both the emulation engine and the volume-sharing method.
@@ -66,7 +67,7 @@ To switch the volume sharing method from reverse-SSHFS to VirtioFS:
6667
2. Proceed to the **Virtual Machine** section, where you'll find the volume mount options.
6768
3. Select the **File Sharing** setting and change it from `reverse-sshfs` to `VirtioFS`.
6869
4. Restart Rancher Desktop to implement the changes.
69-
{/* {{</alert>}} */} {/* mdx-disabled */}
70+
:::
7071

7172
#### Rancher Desktop with dockerd
7273

src/content/docs/aws/integrations/continuous-integration/codebuild.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ sidebar:
1212
CodeBuild allows you to define your build project, set the source code location, and handles the building and testing, while supporting various programming languages, build tools, and runtime environments.
1313
LocalStack supports CodeBuild out of the box and can be easily integrated into your pipeline to run your tests against a cloud emulator.
1414

15-
{/* {{< alert title="Requirement" >}} */} {/* mdx-disabled */}
15+
{/* TODO: this was an alert before, title=Requirement, change container or remove TODO */}
16+
:::note
1617
LocalStack depends on the Docker socket to emulate your infrastructure.
1718
To enable it, update your project by ticking **Environment > Additional Configuration > Privileged > Enable this flag if you want to build Docker Images or want your builds to get elevated privileges**.
18-
{/* {{< / alert >}} */} {/* mdx-disabled */}
19+
:::
1920

2021
## Snippets
2122

src/content/docs/aws/integrations/continuous-integration/gitlab-ci.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,4 @@ Find out more about ephemeral instances [here](/user-guide/cloud-sandbox/).
227227

228228
## Examples
229229

230-
{/* - [End-to-End Testing in Gitlab CI with Testcontainers and LocalStack: Understanding Runners and Docker in Docker]({{< ref "tutorials/gitlab_ci_testcontainers/" >}}) - A readily configured demo project, that will walk you through the process of setting up end-to-end testing for a backend application using Testcontainers and LocalStack within GitLab CI. */} {/* mdx-disabled */}
230+
[End-to-End Testing in Gitlab CI with Testcontainers and LocalStack: Understanding Runners and Docker in Docker](/aws/tutorials/gitlab_ci_testcontainers) {/*TODO: link target doesn't exist yet*/} - A readily configured demo project, that will walk you through the process of setting up end-to-end testing for a backend application using Testcontainers and LocalStack within GitLab CI.

src/content/docs/aws/integrations/infrastructure-as-code/former2.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ You can verify that the resources were created successfully by running the follo
6666

6767
```bash
6868
localstack logs
69-
{/* {/* {/* {/* <disable-copy> */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */}
69+
{/* <disable-copy> */} {/* mdx-disabled */}
7070
2023-10-14T15:31:08.852 INFO --- [ asgi_gw_0] localstack.request.aws : AWS s3.CreateBucket => 200
7171
2023-10-14T15:31:09.356 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.CreateQueue => 200
7272
2023-10-14T15:31:12.920 INFO --- [ asgi_gw_0] botocore.credentials : Found credentials in environment variables.

src/content/docs/aws/integrations/infrastructure-as-code/pulumi.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ You can now use the `pulumilocal` command to interact with your Pulumi project.
5959

6060
```bash
6161
pulumilocal --help
62-
{/* {/* <disable-copy> */} {/* mdx-disabled */} */} {/* mdx-disabled */}
62+
{/* <disable-copy> */} {/* mdx-disabled */}
6363
Pulumi - Modern Infrastructure as Code
6464
...
6565
<disable-copy>
@@ -130,7 +130,7 @@ project description: (A minimal AWS TypeScript Pulumi program)
130130
Created project 'quickstart'
131131
132132
Please enter your desired stack name.
133-
{/* To create a stack in an organization, use the format <org-name>/<stack-name> (e.g. `acmecorp/dev`). */} {/* mdx-disabled */}
133+
To create a stack in an organization, use the format <org-name>/<stack-name> (e.g. `acmecorp/dev`).
134134
stack name: (dev)
135135
Created stack 'dev'
136136

src/content/docs/aws/integrations/infrastructure-as-code/terraform.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ After installation, you can use the `tflocal` command, which has the same interf
5151

5252
```bash
5353
tflocal --help
54-
{/* {/* {/* <disable-copy> */} {/* mdx-disabled */} */} {/* mdx-disabled */} */} {/* mdx-disabled */}
54+
{/* <disable-copy> */} {/* mdx-disabled */}
5555
Usage: terraform [global options] <subcommand> [args]
5656
...
5757
<disable-copy>
@@ -340,7 +340,6 @@ AwsProvider(self, "Aws", **AWS_CONFIG)
340340
...
341341
```
342342
</TabItem>
343-
{/* {/* {{< tab header="main.ts" lang="ts" >}} */} {/* mdx-disabled */} */} {/* mdx-disabled */}
344343
<TabItem label="main.ts">
345344
```javascript
346345
...

0 commit comments

Comments
 (0)