From d9b70c50f9b23cd696925fef88986c74057c12fc Mon Sep 17 00:00:00 2001 From: HarshCasper Date: Wed, 25 Jun 2025 07:11:31 +0530 Subject: [PATCH] add the edit URL option --- astro.config.mjs | 3 +++ src/content/docs/aws/capabilities/index.mdx | 1 + src/content/docs/aws/enterprise/index.mdx | 1 + src/content/docs/aws/getting-started/index.md | 1 + src/content/docs/aws/index.mdx | 1 + src/content/docs/aws/integrations/index.mdx | 1 + src/content/docs/aws/services/index.mdx | 1 + src/content/docs/aws/tooling/index.mdx | 1 + src/content/docs/aws/tutorials/index.mdx | 1 + src/content/docs/index.md | 3 ++- src/content/docs/snowflake/capabilities/index.mdx | 1 + src/content/docs/snowflake/changelog.md | 1 + src/content/docs/snowflake/features/index.md | 1 + src/content/docs/snowflake/integrations/index.mdx | 1 + src/content/docs/snowflake/snowflake-services.md | 5 ----- 15 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 src/content/docs/snowflake/snowflake-services.md diff --git a/astro.config.mjs b/astro.config.mjs index 96d6697f..c4be67bc 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -39,6 +39,9 @@ export default defineConfig({ title: 'Docs', favicon: '/images/favicons/favicon.ico', customCss: ['./src/styles/global.css'], + editLink: { + baseUrl: 'https://github.com/localstack/localstack-docs/edit/master/', + }, components: { PageTitle: './src/components/PageTitleWithBadges.astro', }, diff --git a/src/content/docs/aws/capabilities/index.mdx b/src/content/docs/aws/capabilities/index.mdx index ce1ebc91..8bca66e5 100644 --- a/src/content/docs/aws/capabilities/index.mdx +++ b/src/content/docs/aws/capabilities/index.mdx @@ -2,6 +2,7 @@ title: Capabilities description: This section describes the capabilities of LocalStack, that go beyond the core cloud service emulation, and provide additional features and capabilities for LocalStack users. template: doc +editUrl: false sidebar: order: 5 --- diff --git a/src/content/docs/aws/enterprise/index.mdx b/src/content/docs/aws/enterprise/index.mdx index 4bd5e474..e33b94d8 100644 --- a/src/content/docs/aws/enterprise/index.mdx +++ b/src/content/docs/aws/enterprise/index.mdx @@ -2,6 +2,7 @@ title: Overview description: LocalStack Enterprise provides the most sophisticated and secure setup we offer, with advanced features and capabilities for large organizations and teams. template: doc +editUrl: false sidebar: order: 1 --- diff --git a/src/content/docs/aws/getting-started/index.md b/src/content/docs/aws/getting-started/index.md index f23aa0cb..aa374b15 100644 --- a/src/content/docs/aws/getting-started/index.md +++ b/src/content/docs/aws/getting-started/index.md @@ -2,6 +2,7 @@ title: Overview description: This section describes how to get started with LocalStack using a variety of options, and provides details on how LocalStack can be configured to fit the needs of a local cloud sandbox for development, testing, and experimentation. template: doc +editUrl: false sidebar: order: 1 --- diff --git a/src/content/docs/aws/index.mdx b/src/content/docs/aws/index.mdx index ba8c30bb..ba784a4f 100644 --- a/src/content/docs/aws/index.mdx +++ b/src/content/docs/aws/index.mdx @@ -2,6 +2,7 @@ title: Welcome to LocalStack Docs description: Get started with LocalStack Docs. template: doc +editUrl: false sidebar: label: Welcome order: 1 diff --git a/src/content/docs/aws/integrations/index.mdx b/src/content/docs/aws/integrations/index.mdx index b4c4c6f4..1332e34f 100644 --- a/src/content/docs/aws/integrations/index.mdx +++ b/src/content/docs/aws/integrations/index.mdx @@ -2,6 +2,7 @@ title: Overview description: Use your favorite cloud development tools with LocalStack. template: doc +editUrl: false --- import SectionCards from '../../../../components/SectionCards.astro'; diff --git a/src/content/docs/aws/services/index.mdx b/src/content/docs/aws/services/index.mdx index 4449f0d7..29a58a3f 100644 --- a/src/content/docs/aws/services/index.mdx +++ b/src/content/docs/aws/services/index.mdx @@ -2,6 +2,7 @@ title: Local AWS Services description: Browse LocalStack's implemented AWS services and explore their capabilities template: doc +editUrl: false sidebar: order: 3 --- diff --git a/src/content/docs/aws/tooling/index.mdx b/src/content/docs/aws/tooling/index.mdx index 642c6c3d..a6c01c10 100644 --- a/src/content/docs/aws/tooling/index.mdx +++ b/src/content/docs/aws/tooling/index.mdx @@ -2,6 +2,7 @@ title: Overview description: Increase your development efficiency with LocalStack Cloud Developer Tools. template: doc +editUrl: false --- import SectionCards from '../../../../components/SectionCards.astro'; diff --git a/src/content/docs/aws/tutorials/index.mdx b/src/content/docs/aws/tutorials/index.mdx index 615e670a..2c9bf938 100644 --- a/src/content/docs/aws/tutorials/index.mdx +++ b/src/content/docs/aws/tutorials/index.mdx @@ -2,6 +2,7 @@ title: Tutorials description: These tutorials enhance your comprehension of LocalStack's functionality by providing detailed information on how it works for specific use cases using diverse resources. template: doc +editUrl: false sidebar: order: 9 --- diff --git a/src/content/docs/index.md b/src/content/docs/index.md index 49b3aa1f..00210b33 100644 --- a/src/content/docs/index.md +++ b/src/content/docs/index.md @@ -2,6 +2,7 @@ title: This is a dummy title description: This is a dummy description template: doc +editUrl: false --- -Foo bar \ No newline at end of file +Foo bar diff --git a/src/content/docs/snowflake/capabilities/index.mdx b/src/content/docs/snowflake/capabilities/index.mdx index 2a67e310..4190c6b8 100644 --- a/src/content/docs/snowflake/capabilities/index.mdx +++ b/src/content/docs/snowflake/capabilities/index.mdx @@ -2,6 +2,7 @@ title: Overview description: Advanced capabilities and features available in LocalStack for Snowflake. template: doc +editUrl: false --- import SectionCards from '../../../../components/SectionCards.astro'; diff --git a/src/content/docs/snowflake/changelog.md b/src/content/docs/snowflake/changelog.md index 23b9e27a..5f080b87 100644 --- a/src/content/docs/snowflake/changelog.md +++ b/src/content/docs/snowflake/changelog.md @@ -2,6 +2,7 @@ title: Changelog description: Changelog for the latest releases of the LocalStack for Snowflake. template: doc +editUrl: false --- ### 1.0.0 diff --git a/src/content/docs/snowflake/features/index.md b/src/content/docs/snowflake/features/index.md index 9b7703a6..1071dc32 100644 --- a/src/content/docs/snowflake/features/index.md +++ b/src/content/docs/snowflake/features/index.md @@ -2,6 +2,7 @@ title: "Feature Coverage" description: Overview of the implemented Snowflake features in LocalStack template: doc +editUrl: false --- ## Resource Types and Operations diff --git a/src/content/docs/snowflake/integrations/index.mdx b/src/content/docs/snowflake/integrations/index.mdx index aa93862e..80a803d4 100644 --- a/src/content/docs/snowflake/integrations/index.mdx +++ b/src/content/docs/snowflake/integrations/index.mdx @@ -2,6 +2,7 @@ title: Overview description: Use your favorite development tools with LocalStack for Snowflake. template: doc +editUrl: false --- import SectionCards from '../../../../components/SectionCards.astro'; diff --git a/src/content/docs/snowflake/snowflake-services.md b/src/content/docs/snowflake/snowflake-services.md deleted file mode 100644 index 08d3329e..00000000 --- a/src/content/docs/snowflake/snowflake-services.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Snowflake Services -description: Develop your understanding of various Snowflake emulator features and check their coverage. -template: doc ----