diff options
author | 2023-02-25 18:54:36 +0000 | |
---|---|---|
committer | 2023-02-25 19:54:36 +0100 | |
commit | 9f0ae4e6eb4ed17b0d1997cadc62673f631aa2ce (patch) | |
tree | f0694dfb4b43a210f755fd80a0c8cb89f6c2fdea | |
parent | d94aae77656f14f56898d33c6d3f83c59112212e (diff) | |
download | astro-9f0ae4e6eb4ed17b0d1997cadc62673f631aa2ce.tar.gz astro-9f0ae4e6eb4ed17b0d1997cadc62673f631aa2ce.tar.zst astro-9f0ae4e6eb4ed17b0d1997cadc62673f631aa2ce.zip |
Update doc link in non-html-pages example README (#6369)
-rw-r--r-- | examples/non-html-pages/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/non-html-pages/README.md b/examples/non-html-pages/README.md index 24450d436..98f0d5f9c 100644 --- a/examples/non-html-pages/README.md +++ b/examples/non-html-pages/README.md @@ -2,7 +2,7 @@ Documentation for "Non-HTML Pages": -https://docs.astro.build/en/core-concepts/astro-pages/#non-html-pages +https://docs.astro.build/en/core-concepts/endpoints/#static-file-endpoints ``` npm create astro@latest -- --template non-html-pages @@ -28,7 +28,7 @@ Inside of your Astro project, you'll see the following folders and files: └── package.json ``` -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. +Astro looks for `.astro`, `.js` or `.ts` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. |