summaryrefslogtreecommitdiff
path: root/examples/non-html-pages/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/non-html-pages/README.md')
-rw-r--r--examples/non-html-pages/README.md4
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.
/td> 2023-11-24style: highlight markdown Tip Note section CONTRIBUTING (#9123)Gravatar Guspan Tanadi 1-5/+7 2023-11-23fix scroll restoration issue on webKit browsers (#9186)Gravatar Martin Trapp 2-1/+7 2023-11-23fix(middleware): rename internal middleware id (#9173)Gravatar Arsh 2-1/+6 2023-11-23fix: Changelog formatting for 3.6.0 View Transition events (#9176)Gravatar Martin Trapp 1-3/+3 2023-11-22[ci] formatGravatar Eva Decker 1-3/+3 2023-11-22Fix View Transitions code block formatting (#9174)Gravatar Eva Decker 1-3/+3 2023-11-22Rename entryPoint to entrypoint (#9161)Gravatar Bjorn Lu 14-26/+38 2023-11-22Fix esbuild warning for local dev (#9160)Gravatar Bjorn Lu 1-1/+1 2023-11-22[ci] release (#9165)astro@3.6.0Gravatar Houston (Bot) 34-90/+83