summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGravatar Caleb Jasik <calebjasik@jasik.xyz> 2021-07-16 06:01:31 -0500
committerGravatar GitHub <noreply@github.com> 2021-07-16 07:01:31 -0400
commit6d06fce6d2f47ee793b98b970212b27e8dc059f2 (patch)
treee8424c9266de0886e8fb3c133da7f87e2eeacb11 /examples
parentf64ff85b267b732dc2598bb9c80418622e435cfb (diff)
downloadastro-6d06fce6d2f47ee793b98b970212b27e8dc059f2.tar.gz
astro-6d06fce6d2f47ee793b98b970212b27e8dc059f2.tar.zst
astro-6d06fce6d2f47ee793b98b970212b27e8dc059f2.zip
Update docs in compiler messages (#710)
* `github.com/snowpackjs/astro/blob/main/docs/*.md` -> `docs.astro.build/*/` * convert links to docs site links * Fix broken links that didn't work w/ the regex. * Add changeset * Delete five-weeks-destroy.md Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/blog-multiple-authors/src/pages/index.astro2
-rw-r--r--examples/blog/src/pages/index.astro2
-rw-r--r--examples/docs/src/layouts/Main.astro2
-rw-r--r--examples/docs/src/pages/getting-started.md22
-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-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/starter/src/pages/index.astro4
-rw-r--r--examples/with-markdown/src/pages/index.astro2
-rw-r--r--examples/with-nanostores/src/pages/index.astro2
-rw-r--r--examples/with-tailwindcss/src/pages/index.astro2
14 files changed, 25 insertions, 25 deletions
diff --git a/examples/blog-multiple-authors/src/pages/index.astro b/examples/blog-multiple-authors/src/pages/index.astro
index f8728f542..e3e86e1da 100644
--- a/examples/blog-multiple-authors/src/pages/index.astro
+++ b/examples/blog-multiple-authors/src/pages/index.astro
@@ -19,7 +19,7 @@ allPosts.sort((a, b) => new Date(b.date) - new Date(a.date));
let firstPage = allPosts.slice(0, 2);
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/blog/src/pages/index.astro b/examples/blog/src/pages/index.astro
index 017daa54a..0ba813eb5 100644
--- a/examples/blog/src/pages/index.astro
+++ b/examples/blog/src/pages/index.astro
@@ -17,7 +17,7 @@ let allPosts = Astro.fetchContent('./posts/*.md');
allPosts = allPosts.sort((a, b) => new Date(b.publishDate) - new Date(a.publishDate));
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/docs/src/layouts/Main.astro b/examples/docs/src/layouts/Main.astro
index fe847496e..ffc94e374 100644
--- a/examples/docs/src/layouts/Main.astro
+++ b/examples/docs/src/layouts/Main.astro
@@ -16,7 +16,7 @@ const currentFile = currentPage === '/' ? 'src/pages/index.md' : `src/pages${cur
const githubEditUrl = `https://github.com/USER/REPO/blob/main/${currentFile}`
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang={ content.lang ?? 'en' }>
<head>
diff --git a/examples/docs/src/pages/getting-started.md b/examples/docs/src/pages/getting-started.md
index eb2826dbc..ab9c79617 100644
--- a/examples/docs/src/pages/getting-started.md
+++ b/examples/docs/src/pages/getting-started.md
@@ -46,14 +46,14 @@ The `src/components/ThemeToggle.tsx` is only responsible for applying the theme,
For more information on how to use Astro components, check the documentation pages:
-- [General Instructions](https://github.com/snowpackjs/astro#readme)
-- [astro.config.mjs](https://github.com/snowpackjs/astro/blob/main/docs/config.md)
-- [API](https://github.com/snowpackjs/astro/blob/main/docs/api.md)
-- [Command Line Interface](https://github.com/snowpackjs/astro/blob/main/docs/cli.md)
-- [Collections](https://github.com/snowpackjs/astro/blob/main/docs/collections.md)
-- [Development Server](https://github.com/snowpackjs/astro/blob/main/docs/dev.md)
-- [Markdown](https://github.com/snowpackjs/astro/blob/main/docs/markdown.md)
-- [Publishing Astro components](https://github.com/snowpackjs/astro/blob/main/docs/publishing.md)
-- [Renderers](https://github.com/snowpackjs/astro/blob/main/docs/renderers.md)
-- [Styling](https://github.com/snowpackjs/astro/blob/main/docs/styling.md)
-- [.astro Syntax](https://github.com/snowpackjs/astro/blob/main/docs/syntax.md)
+- [Quick Start](https://docs.astro.build/quick-start)
+- [astro.config.mjs](https://docs.astro.build/reference/configuration-reference)
+- [API](https://docs.astro.build/reference/api-reference)
+- [Command Line Interface](https://docs.astro.build/reference/cli-reference)
+- [Collections](https://docs.astro.build/core-concepts/collections)
+- [Development Server](https://docs.astro.build/reference/dev/)
+- [Markdown](https://docs.astro.build/guides/markdown-content)
+- [Publishing Astro components](https://docs.astro.build/guides/publish-to-npm)
+- [Renderers](https://docs.astro.build/reference/renderer-reference)
+- [Styling](https://docs.astro.build/guides/styling)
+- [.astro Syntax](https://docs.astro.build/core-concepts/astro-components)
diff --git a/examples/framework-multiple/src/pages/index.astro b/examples/framework-multiple/src/pages/index.astro
index 706e4863f..c49744b18 100644
--- a/examples/framework-multiple/src/pages/index.astro
+++ b/examples/framework-multiple/src/pages/index.astro
@@ -8,7 +8,7 @@ import SvelteCounter from '../components/SvelteCounter.svelte';
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/framework-preact/src/pages/index.astro b/examples/framework-preact/src/pages/index.astro
index ed42e72fd..2d2a15f6b 100644
--- a/examples/framework-preact/src/pages/index.astro
+++ b/examples/framework-preact/src/pages/index.astro
@@ -4,7 +4,7 @@ import Counter from '../components/Counter.jsx'
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/framework-react/src/pages/index.astro b/examples/framework-react/src/pages/index.astro
index 35270638c..851eb6e78 100644
--- a/examples/framework-react/src/pages/index.astro
+++ b/examples/framework-react/src/pages/index.astro
@@ -4,7 +4,7 @@ import Counter from '../components/Counter.jsx'
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/framework-svelte/src/pages/index.astro b/examples/framework-svelte/src/pages/index.astro
index 620510bd0..194e5bfeb 100644
--- a/examples/framework-svelte/src/pages/index.astro
+++ b/examples/framework-svelte/src/pages/index.astro
@@ -4,7 +4,7 @@ import Counter from '../components/Counter.svelte'
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/framework-vue/src/pages/index.astro b/examples/framework-vue/src/pages/index.astro
index 0f89f6047..6001e20e9 100644
--- a/examples/framework-vue/src/pages/index.astro
+++ b/examples/framework-vue/src/pages/index.astro
@@ -4,7 +4,7 @@ import Counter from '../components/Counter.vue'
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/portfolio/src/pages/index.astro b/examples/portfolio/src/pages/index.astro
index 2d0f8a0a1..dbf6a9486 100644
--- a/examples/portfolio/src/pages/index.astro
+++ b/examples/portfolio/src/pages/index.astro
@@ -11,7 +11,7 @@ const projects = Astro.fetchContent('./project/**/*.md');
const featuredProject = projects[0];
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/starter/src/pages/index.astro b/examples/starter/src/pages/index.astro
index 2e5832a3f..30a28212a 100644
--- a/examples/starter/src/pages/index.astro
+++ b/examples/starter/src/pages/index.astro
@@ -11,7 +11,7 @@ import Tour from '../components/Tour.astro';
let title = 'My Astro Site';
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
@@ -48,7 +48,7 @@ let title = 'My Astro Site';
- Note: by default, these components are NOT interactive on the client.
- The `:visible` directive tells Astro to make it interactive.
-
- - See https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/component-hydration.md
+ - See https://docs.astro.build/core-concepts/component-hydration/
-->
<!-- ASTRO:COMPONENT_MARKUP -->
</main>
diff --git a/examples/with-markdown/src/pages/index.astro b/examples/with-markdown/src/pages/index.astro
index b6843f3a5..de6f32303 100644
--- a/examples/with-markdown/src/pages/index.astro
+++ b/examples/with-markdown/src/pages/index.astro
@@ -16,7 +16,7 @@ const variable = 'content';
const items = ['A', 'B', 'C'];
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<Layout content={{ title }}>
<Markdown>
diff --git a/examples/with-nanostores/src/pages/index.astro b/examples/with-nanostores/src/pages/index.astro
index a3f0c7c8c..94afa8b0a 100644
--- a/examples/with-nanostores/src/pages/index.astro
+++ b/examples/with-nanostores/src/pages/index.astro
@@ -6,7 +6,7 @@ import AdminsVue from '../components/AdminsVue.vue';
import AdminsPreact from '../components/AdminsPreact.jsx';
// Full Astro Component Syntax:
-// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>
diff --git a/examples/with-tailwindcss/src/pages/index.astro b/examples/with-tailwindcss/src/pages/index.astro
index 09891eed3..d70b3457b 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://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
+// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
<head>