summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Syg <872633+sygint@users.noreply.github.com> 2024-01-02 12:12:58 +0000
committerGravatar GitHub <noreply@github.com> 2024-01-02 12:12:58 +0000
commit8b873bf1f343efc1f486d8ef53c38380e2373c08 (patch)
tree28a7d7bc09f1519c1eda3e4d68f18676de74ae1e
parent86b05491f0c18969e64b6b9361aacc9445fc3b68 (diff)
downloadastro-8b873bf1f343efc1f486d8ef53c38380e2373c08.tar.gz
astro-8b873bf1f343efc1f486d8ef53c38380e2373c08.tar.zst
astro-8b873bf1f343efc1f486d8ef53c38380e2373c08.zip
Add 'starlight' to displayed options under 'add' option in CLI (#9559)
* Add 'starlight' to displayed options under 'add' option in CLI * Create tall-mayflies-deliver.md * Update tall-mayflies-deliver.md --------- Co-authored-by: syg <sygint@users.noreply.github.com> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
-rw-r--r--.changeset/tall-mayflies-deliver.md5
-rw-r--r--packages/astro/src/cli/add/index.ts3
2 files changed, 8 insertions, 0 deletions
diff --git a/.changeset/tall-mayflies-deliver.md b/.changeset/tall-mayflies-deliver.md
new file mode 100644
index 000000000..736aeb0d0
--- /dev/null
+++ b/.changeset/tall-mayflies-deliver.md
@@ -0,0 +1,5 @@
+---
+"astro": patch
+---
+
+Adds 'starlight' to the displayed options for `astro add`
diff --git a/packages/astro/src/cli/add/index.ts b/packages/astro/src/cli/add/index.ts
index 06c20eab3..77abd51a6 100644
--- a/packages/astro/src/cli/add/index.ts
+++ b/packages/astro/src/cli/add/index.ts
@@ -114,6 +114,9 @@ export async function add(names: string[], { flags }: AddOptions) {
['lit', 'astro add lit'],
['alpinejs', 'astro add alpinejs'],
],
+ 'Documentation Frameworks': [
+ ['starlight', 'astro add starlight'],
+ ],
'SSR Adapters': [
['netlify', 'astro add netlify'],
['vercel', 'astro add vercel'],