aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bohdan Yaroslavtsev <reoseah9@gmail.com> 2024-03-05 08:23:33 +0100
committerGravatar GitHub <noreply@github.com> 2024-03-05 15:23:33 +0800
commit5fe98599a3fc6f912995d94ce783c32c06c0b44f (patch)
treeb635d2b8c92fbb4977eb6bf1b5ce7978d001541d
parent3c0b854ac6630bb4ed34fe835128744b67d04e0b (diff)
downloadastro-5fe98599a3fc6f912995d94ce783c32c06c0b44f.tar.gz
astro-5fe98599a3fc6f912995d94ce783c32c06c0b44f.tar.zst
astro-5fe98599a3fc6f912995d94ce783c32c06c0b44f.zip
fix broken link in code examples (#10322)
-rw-r--r--examples/framework-alpine/src/components/Counter.astro2
-rw-r--r--examples/framework-alpine/src/pages/index.astro2
-rw-r--r--examples/framework-lit/src/pages/index.astro2
-rw-r--r--examples/framework-multiple/src/pages/index.astro2
-rw-r--r--examples/framework-preact/src/pages/index.astro2
-rw-r--r--examples/framework-react/src/pages/index.astro2
-rw-r--r--examples/framework-solid/src/pages/index.astro2
-rw-r--r--examples/framework-svelte/src/pages/index.astro2
-rw-r--r--examples/framework-vue/src/pages/index.astro2
-rw-r--r--examples/portfolio/src/pages/index.astro2
-rw-r--r--examples/with-tailwindcss/src/pages/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/client-only/src/pages/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/multiple-frameworks/src/pages/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/nested-in-preact/src/pages/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/nested-in-react/src/pages/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/nested-in-solid/src/pages/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/nested-in-svelte/src/pages/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/nested-in-vue/src/pages/index.astro2
-rw-r--r--packages/astro/test/fixtures/hydration-race/src/pages/slot.astro2
19 files changed, 19 insertions, 19 deletions
diff --git a/examples/framework-alpine/src/components/Counter.astro b/examples/framework-alpine/src/components/Counter.astro
index b895d57be..00182f006 100644
--- a/examples/framework-alpine/src/components/Counter.astro
+++ b/examples/framework-alpine/src/components/Counter.astro
@@ -1,6 +1,6 @@
---
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
interface Props {
initialCount?: number;
diff --git a/examples/framework-alpine/src/pages/index.astro b/examples/framework-alpine/src/pages/index.astro
index ecfc8499c..e77744cb2 100644
--- a/examples/framework-alpine/src/pages/index.astro
+++ b/examples/framework-alpine/src/pages/index.astro
@@ -3,7 +3,7 @@
import Counter from '../components/Counter.astro';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/examples/framework-lit/src/pages/index.astro b/examples/framework-lit/src/pages/index.astro
index 5ef314f6f..5fa6fed67 100644
--- a/examples/framework-lit/src/pages/index.astro
+++ b/examples/framework-lit/src/pages/index.astro
@@ -4,7 +4,7 @@ import { CalcAdd } from '../components/calc-add.js';
import { MyCounter } from '../components/my-counter.js';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<!doctype html>
diff --git a/examples/framework-multiple/src/pages/index.astro b/examples/framework-multiple/src/pages/index.astro
index ccf5aaa71..d420111a2 100644
--- a/examples/framework-multiple/src/pages/index.astro
+++ b/examples/framework-multiple/src/pages/index.astro
@@ -12,7 +12,7 @@ import VueCounter from '../components/vue/VueCounter.vue';
import SvelteCounter from '../components/svelte/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/examples/framework-preact/src/pages/index.astro b/examples/framework-preact/src/pages/index.astro
index b37295d7b..639fed70c 100644
--- a/examples/framework-preact/src/pages/index.astro
+++ b/examples/framework-preact/src/pages/index.astro
@@ -5,7 +5,7 @@ import Counter from '../components/Counter';
import { signal } from '@preact/signals';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
const count = signal(0);
---
diff --git a/examples/framework-react/src/pages/index.astro b/examples/framework-react/src/pages/index.astro
index cd7bdc52e..5bc1f8d36 100644
--- a/examples/framework-react/src/pages/index.astro
+++ b/examples/framework-react/src/pages/index.astro
@@ -6,7 +6,7 @@ const someProps = {
};
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/examples/framework-solid/src/pages/index.astro b/examples/framework-solid/src/pages/index.astro
index 5ff8c9fb6..b191ef47f 100644
--- a/examples/framework-solid/src/pages/index.astro
+++ b/examples/framework-solid/src/pages/index.astro
@@ -3,7 +3,7 @@
import Counter from '../components/Counter';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/examples/framework-svelte/src/pages/index.astro b/examples/framework-svelte/src/pages/index.astro
index 3314afe49..c4f0c1efb 100644
--- a/examples/framework-svelte/src/pages/index.astro
+++ b/examples/framework-svelte/src/pages/index.astro
@@ -3,7 +3,7 @@
import Counter from '../components/Counter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/examples/framework-vue/src/pages/index.astro b/examples/framework-vue/src/pages/index.astro
index 85b6594b1..bae5effe8 100644
--- a/examples/framework-vue/src/pages/index.astro
+++ b/examples/framework-vue/src/pages/index.astro
@@ -3,7 +3,7 @@
import Counter from '../components/Counter.vue';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/examples/portfolio/src/pages/index.astro b/examples/portfolio/src/pages/index.astro
index 76761523f..5f67e3860 100644
--- a/examples/portfolio/src/pages/index.astro
+++ b/examples/portfolio/src/pages/index.astro
@@ -22,7 +22,7 @@ const projects = (await getCollection('work'))
.slice(0, 4);
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<BaseLayout>
diff --git a/examples/with-tailwindcss/src/pages/index.astro b/examples/with-tailwindcss/src/pages/index.astro
index 5a0e50ab1..bde5b0d29 100644
--- a/examples/with-tailwindcss/src/pages/index.astro
+++ b/examples/with-tailwindcss/src/pages/index.astro
@@ -3,7 +3,7 @@
import Button from '../components/Button.astro';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/packages/astro/e2e/fixtures/client-only/src/pages/index.astro b/packages/astro/e2e/fixtures/client-only/src/pages/index.astro
index 0b4299600..d8b30b9cf 100644
--- a/packages/astro/e2e/fixtures/client-only/src/pages/index.astro
+++ b/packages/astro/e2e/fixtures/client-only/src/pages/index.astro
@@ -6,7 +6,7 @@ import VueCounter from '../components/vue/VueCounter.vue';
import SvelteCounter from '../components/svelte/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/packages/astro/e2e/fixtures/multiple-frameworks/src/pages/index.astro b/packages/astro/e2e/fixtures/multiple-frameworks/src/pages/index.astro
index 747744852..ded58d8aa 100644
--- a/packages/astro/e2e/fixtures/multiple-frameworks/src/pages/index.astro
+++ b/packages/astro/e2e/fixtures/multiple-frameworks/src/pages/index.astro
@@ -10,7 +10,7 @@ import VueCounter from '../components/vue/VueCounter.vue';
import SvelteCounter from '../components/svelte/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/packages/astro/e2e/fixtures/nested-in-preact/src/pages/index.astro b/packages/astro/e2e/fixtures/nested-in-preact/src/pages/index.astro
index 7512b86f4..19ab50427 100644
--- a/packages/astro/e2e/fixtures/nested-in-preact/src/pages/index.astro
+++ b/packages/astro/e2e/fixtures/nested-in-preact/src/pages/index.astro
@@ -6,7 +6,7 @@ import VueCounter from '../components/vue/VueCounter.vue';
import SvelteCounter from '../components/svelte/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/packages/astro/e2e/fixtures/nested-in-react/src/pages/index.astro b/packages/astro/e2e/fixtures/nested-in-react/src/pages/index.astro
index fe18a3151..1ab459f74 100644
--- a/packages/astro/e2e/fixtures/nested-in-react/src/pages/index.astro
+++ b/packages/astro/e2e/fixtures/nested-in-react/src/pages/index.astro
@@ -6,7 +6,7 @@ import VueCounter from '../components/vue/VueCounter.vue';
import SvelteCounter from '../components/svelte/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/packages/astro/e2e/fixtures/nested-in-solid/src/pages/index.astro b/packages/astro/e2e/fixtures/nested-in-solid/src/pages/index.astro
index 7b2c8da8d..91552a836 100644
--- a/packages/astro/e2e/fixtures/nested-in-solid/src/pages/index.astro
+++ b/packages/astro/e2e/fixtures/nested-in-solid/src/pages/index.astro
@@ -6,7 +6,7 @@ import VueCounter from '../components/vue/VueCounter.vue';
import SvelteCounter from '../components/svelte/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/packages/astro/e2e/fixtures/nested-in-svelte/src/pages/index.astro b/packages/astro/e2e/fixtures/nested-in-svelte/src/pages/index.astro
index aa11de7fd..5648a2581 100644
--- a/packages/astro/e2e/fixtures/nested-in-svelte/src/pages/index.astro
+++ b/packages/astro/e2e/fixtures/nested-in-svelte/src/pages/index.astro
@@ -6,7 +6,7 @@ import VueCounter from '../components/vue/VueCounter.vue';
import SvelteCounter from '../components/svelte/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/packages/astro/e2e/fixtures/nested-in-vue/src/pages/index.astro b/packages/astro/e2e/fixtures/nested-in-vue/src/pages/index.astro
index e89554755..ea0a88f84 100644
--- a/packages/astro/e2e/fixtures/nested-in-vue/src/pages/index.astro
+++ b/packages/astro/e2e/fixtures/nested-in-vue/src/pages/index.astro
@@ -6,7 +6,7 @@ import VueCounter from '../components/vue/VueCounter.vue';
import SvelteCounter from '../components/svelte/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">
diff --git a/packages/astro/test/fixtures/hydration-race/src/pages/slot.astro b/packages/astro/test/fixtures/hydration-race/src/pages/slot.astro
index 7d70f561e..e64158b1a 100644
--- a/packages/astro/test/fixtures/hydration-race/src/pages/slot.astro
+++ b/packages/astro/test/fixtures/hydration-race/src/pages/slot.astro
@@ -4,7 +4,7 @@ import Demo from '../components/One.jsx';
import WithSlot from '../components/WithSlot.astro';
// Full Astro Component Syntax:
-// https://docs.astro.build/core-concepts/astro-components/
+// https://docs.astro.build/basics/astro-components/
---
<html lang="en">