From c611f2ced63eec90efae848a49446695c84d67f7 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Wed, 21 Jul 2021 07:50:13 -0700 Subject: [PATCH] add note that collections api is new --- docs/src/pages/core-concepts/collections.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/pages/core-concepts/collections.md b/docs/src/pages/core-concepts/collections.md index 7da454884..e9ca931c2 100644 --- a/docs/src/pages/core-concepts/collections.md +++ b/docs/src/pages/core-concepts/collections.md @@ -3,6 +3,9 @@ layout: ~/layouts/Main.astro title: Collections --- +> Important: These API was recently redesigned, and these docs are specific to the next version of Astro, currently only available from npm at `astro@next`. This will be released in the next day or so, but you can try it today with `npm install astro@next`. Otherwise, you'll want to check out the [legacy Collections API docs.](https://astro-docs-preview.vercel.app/core-concepts/collections) + + **Collections** are a special type of [page](/core-concepts/astro-pages) in Astro that can generate multiple pages at different URLs for a larger set of data. If you've seen an Astro file that starts with a dollar sign (ex: `$posts.astro`), that's a collection. Example use-cases include: