summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-07-21 07:50:13 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2021-07-21 07:50:20 -0700
commitc611f2ced63eec90efae848a49446695c84d67f7 (patch)
treee74a654a9a56d1b501dcf3c21db81852b5615175
parent56cc008bb22513d7408e9f7922defb5db7d63f4e (diff)
downloadastro-c611f2ced63eec90efae848a49446695c84d67f7.tar.gz
astro-c611f2ced63eec90efae848a49446695c84d67f7.tar.zst
astro-c611f2ced63eec90efae848a49446695c84d67f7.zip
add note that collections api is new
-rw-r--r--docs/src/pages/core-concepts/collections.md3
1 files changed, 3 insertions, 0 deletions
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: