diff --git a/.changeset/config.json b/.changeset/config.json
index f7733c92b..dfff63249 100644
--- a/.changeset/config.json
+++ b/.changeset/config.json
@@ -6,5 +6,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
- "ignore": ["@example/*", "www"]
+ "ignore": ["@example/*"]
}
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 44e446735..93519be57 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -9,9 +9,6 @@ example:
docs:
- docs/**
-www:
-- www/**
-
test:
- packages/**/*.test.js
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5081e1b6f..bf508d631 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,7 +9,6 @@ on:
- '.vscode/**'
- 'docs/**'
- 'examples/**'
- - 'www/**'
# Automatically cancel in-progress actions on the same branch
concurrency:
diff --git a/.prettierignore b/.prettierignore
index a69dc58cf..5bd4edb7b 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -5,7 +5,6 @@
**/.vercel
examples/docs/**/*.md
examples/blog/**/*.md
-www/**/*.md
.github
.changeset
README.md
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 26bbab20c..bc3ae03db 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -17,7 +17,7 @@ yarn: "^1.22.10"
### Setting up your local repo
-Astro uses yarn workspaces, so you should **always run `yarn install` from the top-level project directory.** running `yarn install` in the top-level project root will install dependencies for `astro`, `www`, `docs`, and every package in the repo.
+Astro uses yarn workspaces, so you should **always run `yarn install` from the top-level project directory.** running `yarn install` in the top-level project root will install dependencies for `astro`, `docs`, and every package in the repo.
```shell
git clone && cd ...
@@ -75,7 +75,7 @@ yarn lint
### Making a Pull Request
-When making a pull request, be sure to add a changeset when something has changed with Astro. Non-packages (`examples/*`, `docs/*`, and `www/*`) do not need changesets.
+When making a pull request, be sure to add a changeset when something has changed with Astro. Non-packages (`examples/*`, `docs/*`) do not need changesets.
```shell
yarn changeset
@@ -144,7 +144,7 @@ To release a snapshot, run the following locally:
# 1:
yarn changeset version --snapshot XXX
# 2: (Manual) review the diff, and make sure that you're not releasing more than you need to.
-git checkout -- examples/ docs/ www/
+git checkout -- examples/ docs/
# 3:
yarn release --tag next--XXX
# 4: (Manual) review the publish, and if you're happy then you can throw out all local changes
@@ -191,7 +191,7 @@ When in prerelease mode, the automatic PR release process will no longer release
1. Run `yarn changeset version` to create your new release.
1. Run `yarn release` to publish your new release.
1. Run `git push && git push --tags` to push your new release to GitHub.
-1. Run `git push release/0.X:latest` to push your release branch to `latest`. This will trigger an update to the docs site, the www site, etc.
+1. Run `git push release/0.X:latest` to push your release branch to `latest`. This will trigger an update to the docs site, etc.
1. Go to https://github.com/withastro/astro/releases/new and create a new release. Copy the new changelog entry from https://github.com/withastro/astro/blob/latest/packages/astro/CHANGELOG.md.
1. Post in Discord #announcements channel, if needed!
diff --git a/netlify.toml b/netlify.toml
index fd6fa2029..47f65bce1 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -1,2 +1,2 @@
[build]
- ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- packages/astro/src docs/ www/"
+ ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- packages/astro/src docs/"
diff --git a/package.json b/package.json
index 398a8523d..fd47a031c 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
"scripts": {
"release": "yarn build && changeset publish",
"build": "turbo run build --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
- "build:examples": "turbo run build --scope=docs --scope=www --scope=\"@example/*\"",
+ "build:examples": "turbo run build --scope=docs --scope=\"@example/*\"",
"dev": "turbo run dev --no-deps --no-cache --parallel --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
"test": "turbo run test --scope=astro",
"test:templates": "turbo run test --scope=create-astro",
@@ -58,7 +58,6 @@
"examples/component/demo",
"examples/component/packages/*",
"scripts",
- "www",
"docs",
"packages/astro/test/fixtures/builtins/packages/*",
"packages/astro/test/fixtures/builtins-polyfillnode",
diff --git a/scripts/smoke/index.js b/scripts/smoke/index.js
index d5412adc0..823e9edfa 100644
--- a/scripts/smoke/index.js
+++ b/scripts/smoke/index.js
@@ -12,7 +12,7 @@ export default async function run() {
.readdirSync(examplesUrl)
.map((filename) => new URL(filename, examplesUrl))
.filter((fileUrl) => fs.statSync(fileUrl).isDirectory());
- const allProjectsToTest = [...examplesToTest, new URL('../../www', import.meta.url), new URL('../../docs', import.meta.url)];
+ const allProjectsToTest = [...examplesToTest, new URL('../../docs', import.meta.url)];
console.log('');
for (const projectToTest of allProjectsToTest) {
diff --git a/www/.gitignore b/www/.gitignore
deleted file mode 100644
index e985853ed..000000000
--- a/www/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-.vercel
diff --git a/www/README.md b/www/README.md
new file mode 100644
index 000000000..1a08ac8b1
--- /dev/null
+++ b/www/README.md
@@ -0,0 +1,3 @@
+# We've moved!
+
+The Astro website source can now be found at [`withastro/astro.build`](https://github.com/withastro/astro.build)
diff --git a/www/astro.config.mjs b/www/astro.config.mjs
deleted file mode 100644
index 1ee290d12..000000000
--- a/www/astro.config.mjs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Full Astro Configuration API Documentation:
-// https://docs.astro.build/reference/configuration-reference
-
-// @type-check enabled!
-// VSCode and other TypeScript-enabled text editors will provide auto-completion,
-// helpful tooltips, and warnings if your exported object is invalid.
-// You can disable this by removing "@ts-check" and `@type` comments below.
-
-// @ts-check
-export default /** @type {import('astro').AstroUserConfig} */ ({
- buildOptions: {
- sitemap: true,
- site: 'https://astro.build/',
- },
-});
diff --git a/www/package.json b/www/package.json
deleted file mode 100644
index f87944a39..000000000
--- a/www/package.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "name": "www",
- "version": "1.1.0",
- "private": true,
- "scripts": {
- "dev": "astro dev",
- "start": "astro dev",
- "build": "astro build",
- "preview": "astro preview"
- },
- "devDependencies": {
- "astro": "^0.22.9"
- }
-}
diff --git a/www/public/_redirects b/www/public/_redirects
deleted file mode 100644
index 2478caf5a..000000000
--- a/www/public/_redirects
+++ /dev/null
@@ -1,4 +0,0 @@
-# Netlify Redirects
-/chat https://discord.gg/grF4GTXXYm
-/play/* https://play.astro.build/play/:splat 200
-/v0.21 /blog/astro-021-release/ 301
diff --git a/www/public/assets/blog/astro-018/lit-element.jpeg b/www/public/assets/blog/astro-018/lit-element.jpeg
deleted file mode 100644
index adcfac6bd..000000000
Binary files a/www/public/assets/blog/astro-018/lit-element.jpeg and /dev/null differ
diff --git a/www/public/assets/blog/astro-018/lit-logo.svg b/www/public/assets/blog/astro-018/lit-logo.svg
deleted file mode 100644
index a09b15cdf..000000000
--- a/www/public/assets/blog/astro-018/lit-logo.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
diff --git a/www/public/assets/blog/astro-018/named-slots.png b/www/public/assets/blog/astro-018/named-slots.png
deleted file mode 100644
index 01c805261..000000000
Binary files a/www/public/assets/blog/astro-018/named-slots.png and /dev/null differ
diff --git a/www/public/assets/blog/astro-018/responsive-hydration.jpg b/www/public/assets/blog/astro-018/responsive-hydration.jpg
deleted file mode 100644
index ee98e769c..000000000
Binary files a/www/public/assets/blog/astro-018/responsive-hydration.jpg and /dev/null differ
diff --git a/www/public/assets/blog/astro-018/solid-logo-dark.svg b/www/public/assets/blog/astro-018/solid-logo-dark.svg
deleted file mode 100644
index 5917b2292..000000000
--- a/www/public/assets/blog/astro-018/solid-logo-dark.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/www/public/assets/blog/astro-021-preview/hero.png b/www/public/assets/blog/astro-021-preview/hero.png
deleted file mode 100644
index ca9067ecf..000000000
Binary files a/www/public/assets/blog/astro-021-preview/hero.png and /dev/null differ
diff --git a/www/public/assets/blog/astro-021-preview/social.png b/www/public/assets/blog/astro-021-preview/social.png
deleted file mode 100644
index b1cf7b1d8..000000000
Binary files a/www/public/assets/blog/astro-021-preview/social.png and /dev/null differ
diff --git a/www/public/assets/blog/astro-021-release/hero.png b/www/public/assets/blog/astro-021-release/hero.png
deleted file mode 100644
index 290928c4a..000000000
Binary files a/www/public/assets/blog/astro-021-release/hero.png and /dev/null differ
diff --git a/www/public/assets/blog/astro-021-release/social.png b/www/public/assets/blog/astro-021-release/social.png
deleted file mode 100644
index 15957b8f1..000000000
Binary files a/www/public/assets/blog/astro-021-release/social.png and /dev/null differ
diff --git a/www/public/assets/blog/astro-netlify-social.jpg b/www/public/assets/blog/astro-netlify-social.jpg
deleted file mode 100644
index 4a926cc57..000000000
Binary files a/www/public/assets/blog/astro-netlify-social.jpg and /dev/null differ
diff --git a/www/public/assets/blog/astro-repl/astro-repl-hero.jpg b/www/public/assets/blog/astro-repl/astro-repl-hero.jpg
deleted file mode 100644
index 175d51f69..000000000
Binary files a/www/public/assets/blog/astro-repl/astro-repl-hero.jpg and /dev/null differ
diff --git a/www/public/assets/blog/astro-repl/astro-repl-screenshot.jpg b/www/public/assets/blog/astro-repl/astro-repl-screenshot.jpg
deleted file mode 100644
index 03bfb3634..000000000
Binary files a/www/public/assets/blog/astro-repl/astro-repl-screenshot.jpg and /dev/null differ
diff --git a/www/public/assets/blog/astro-repl/astro-repl-social.jpg b/www/public/assets/blog/astro-repl/astro-repl-social.jpg
deleted file mode 100644
index c7ea9e97d..000000000
Binary files a/www/public/assets/blog/astro-repl/astro-repl-social.jpg and /dev/null differ
diff --git a/www/public/assets/blog/demo-day-2021-09/discord-chat.jpg b/www/public/assets/blog/demo-day-2021-09/discord-chat.jpg
deleted file mode 100644
index 3a0fb3615..000000000
Binary files a/www/public/assets/blog/demo-day-2021-09/discord-chat.jpg and /dev/null differ
diff --git a/www/public/assets/blog/demo-day-2021-09/hero.png b/www/public/assets/blog/demo-day-2021-09/hero.png
deleted file mode 100644
index ca9067ecf..000000000
Binary files a/www/public/assets/blog/demo-day-2021-09/hero.png and /dev/null differ
diff --git a/www/public/assets/blog/demo-day-2021-09/social.png b/www/public/assets/blog/demo-day-2021-09/social.png
deleted file mode 100644
index cb390cc6e..000000000
Binary files a/www/public/assets/blog/demo-day-2021-09/social.png and /dev/null differ
diff --git a/www/public/assets/blog/introducing-astro.jpg b/www/public/assets/blog/introducing-astro.jpg
deleted file mode 100644
index 08f686cbb..000000000
Binary files a/www/public/assets/blog/introducing-astro.jpg and /dev/null differ
diff --git a/www/public/assets/fonts/ibm-plex-mono/ibm-plex-mono-v7-latin-700.woff2 b/www/public/assets/fonts/ibm-plex-mono/ibm-plex-mono-v7-latin-700.woff2
deleted file mode 100644
index 0e7fd7312..000000000
Binary files a/www/public/assets/fonts/ibm-plex-mono/ibm-plex-mono-v7-latin-700.woff2 and /dev/null differ
diff --git a/www/public/assets/fonts/ibm-plex-mono/ibm-plex-mono-v7-latin-regular.woff2 b/www/public/assets/fonts/ibm-plex-mono/ibm-plex-mono-v7-latin-regular.woff2
deleted file mode 100644
index a447d3a73..000000000
Binary files a/www/public/assets/fonts/ibm-plex-mono/ibm-plex-mono-v7-latin-regular.woff2 and /dev/null differ
diff --git a/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-600.woff2 b/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-600.woff2
deleted file mode 100644
index 72f092e23..000000000
Binary files a/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-600.woff2 and /dev/null differ
diff --git a/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-700.woff2 b/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-700.woff2
deleted file mode 100644
index 23bc0e16d..000000000
Binary files a/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-700.woff2 and /dev/null differ
diff --git a/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-regular.woff2 b/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-regular.woff2
deleted file mode 100644
index 295c22fea..000000000
Binary files a/www/public/assets/fonts/ibm-plex-sans/ibm-plex-sans-v9-latin-regular.woff2 and /dev/null differ
diff --git a/www/public/assets/netlify.svg b/www/public/assets/netlify.svg
deleted file mode 100644
index 4abbdcecf..000000000
--- a/www/public/assets/netlify.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/www/public/assets/vercel.svg b/www/public/assets/vercel.svg
deleted file mode 100644
index 108d33f5d..000000000
--- a/www/public/assets/vercel.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/www/public/favicon.ico b/www/public/favicon.ico
deleted file mode 100644
index 578ad458b..000000000
Binary files a/www/public/favicon.ico and /dev/null differ
diff --git a/www/public/favicon.svg b/www/public/favicon.svg
deleted file mode 100644
index 542f90aec..000000000
--- a/www/public/favicon.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
diff --git a/www/public/social.jpg b/www/public/social.jpg
deleted file mode 100644
index 906c76144..000000000
Binary files a/www/public/social.jpg and /dev/null differ
diff --git a/www/public/social.png b/www/public/social.png
deleted file mode 100644
index 1399856f1..000000000
Binary files a/www/public/social.png and /dev/null differ
diff --git a/www/src/components/Article.astro b/www/src/components/Article.astro
deleted file mode 100644
index 4b2d814ac..000000000
--- a/www/src/components/Article.astro
+++ /dev/null
@@ -1,69 +0,0 @@
-
-- - diff --git a/www/src/components/BlogHead.astro b/www/src/components/BlogHead.astro deleted file mode 100644 index 50e9ed69e..000000000 --- a/www/src/components/BlogHead.astro +++ /dev/null @@ -1,8 +0,0 @@ ---- -import BaseHead from './BaseHead.astro'; - -const { title, description, image, canonicalURL } = Astro.props; ---- - -- --{author}
- {source} -
{publishDate}
-{publishDate}
-{String(code).trim().split('\n').map(
- line => {
- line.startsWith('#') ? {line} : line
- })
-}
-
-
diff --git a/www/src/components/Space.astro b/www/src/components/Space.astro
deleted file mode 100644
index 66e9e2702..000000000
--- a/www/src/components/Space.astro
+++ /dev/null
@@ -1,26 +0,0 @@
----
-import Planets from './Planets.astro';
-import Stars from './Stars.astro';
----
-
-