Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c96597e
update english deploy guides with service and scaffold new test compo…
sarah11918 Nov 18, 2025
8c37dfc
update de and es deploy guides to include `service`
sarah11918 Nov 18, 2025
823760b
add service to more translated guides
sarah11918 Nov 18, 2025
e305ed4
more ko translations
sarah11918 Nov 18, 2025
88b006f
all ko translations done
sarah11918 Nov 18, 2025
df4a75a
all translations except zh-cn
sarah11918 Nov 18, 2025
f11ebfb
all translated guides now have service property
sarah11918 Nov 18, 2025
f263fdc
remove static paragraph text
sarah11918 Nov 18, 2025
c5bdd61
remove unused import
sarah11918 Nov 19, 2025
5b80d27
Merge branch 'main' into deploy-guides-alpha
sarah11918 Nov 19, 2025
9356d20
add service to new translated guide
sarah11918 Nov 19, 2025
9a48991
component working with hardcoded supports array
sarah11918 Nov 19, 2025
5545d3f
works by setting a default static value in the schema
sarah11918 Nov 19, 2025
6768d3f
updated two test cases, they seem to work
sarah11918 Nov 19, 2025
112d3ff
all deploy guides updated to include a supports array
sarah11918 Nov 19, 2025
967dac3
removed default supports value; all files working on their own
sarah11918 Nov 19, 2025
c5cfc3b
completely replace nav component; fix one guide
sarah11918 Nov 19, 2025
f74f429
remove old list of services from component
sarah11918 Nov 19, 2025
90f35bb
consistent not Google Firebase not hosting
sarah11918 Nov 20, 2025
24eaeef
rename Deno Deploy label
sarah11918 Nov 20, 2025
7976a7d
feat: deploy logo
HiDeoo Nov 20, 2025
7a99a24
Update _redirects
sarah11918 Nov 20, 2025
810bbbc
committing Firebase rename while I can, even though there might be er…
sarah11918 Nov 20, 2025
2a094cf
add Firebase to redirects
sarah11918 Nov 20, 2025
e07b403
update backend guides to use logo instead of service frontmatter prop…
sarah11918 Nov 21, 2025
ae44741
consistent spaces in redirects file
sarah11918 Nov 21, 2025
0dad51a
leftover copy/paste from Deploy Guide structure
sarah11918 Nov 21, 2025
92fc402
Merge branch 'main' into backend-guides-update
sarah11918 Nov 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@
/:lang/tutorials/add-view-transitions/ /:lang/guides/view-transitions/
/:lang/guides/rss/ /:lang/recipes/rss/
/:lang/basics/astro-syntax/ /:lang/reference/astro-syntax/
/:lang/reference/experimental-flags/sessions/ /:lang/guides/sessions/
/:lang/reference/experimental-flags/svg/ /:lang/guides/images/
/:lang/reference/experimental-flags/serialized-configuration/ /:lang/reference/modules/astro-config/
/:lang/reference/experimental-flags/responsive-images/ /:lang/guides/images/
/:lang/guides/deploy/sst/ /:lang/guides/deploy/aws-via-sst/
/:lang/guides/deploy/flightcontrol/ /:lang/guides/deploy/aws-via-flightcontrol/
/:lang/guides/deploy/google-firebase/ /:lang/guides/deploy/firebase/
/:lang/reference/experimental-flags/sessions/ /:lang/guides/sessions/
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noting that these earlier ones that appear changed is just a matter of using consistent spaces. This PR only introduces two new redirects (at the bottom)

/:lang/reference/experimental-flags/svg/ /:lang/guides/images/
/:lang/reference/experimental-flags/serialized-configuration/ /:lang/reference/modules/astro-config/
/:lang/reference/experimental-flags/responsive-images/ /:lang/guides/images/
/:lang/guides/deploy/sst/ /:lang/guides/deploy/aws-via-sst/
/:lang/guides/deploy/flightcontrol/ /:lang/guides/deploy/aws-via-flightcontrol/
/:lang/guides/deploy/google-firebase/ /:lang/guides/deploy/firebase/
/:lang/guides/backend/google-firebase/ /:lang/guides/backend/firebase/
/:lang/guides/backend/appwriteio/ /:lang/guides/backend/appwrite/


# Very old docs site redirects
Expand Down
13 changes: 5 additions & 8 deletions src/components/BackendGuidesNav.astro
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
---
import { englishPages } from '~/content';
import { isBackendEntry } from '~/content.config';
import { isLogoKey } from '~/data/logos';
import { getLanguageFromURL } from '~/util/path-utils';
import CardsNav from './NavGrid/CardsNav.astro';

const lang = getLanguageFromURL(Astro.url.pathname);
const enPages = englishPages.filter(isBackendEntry);

const links = enPages
.sort((a, b) => {
// Sort alphabetically.
return a.data.service.toLowerCase() > b.data.service.toLowerCase() ? 1 : -1;
})
.sort((a, b) => (a.id > b.id ? 1 : -1))
.map((page) => {
const { service } = page.data;
const { logo, sidebar } = page.data;
if (!sidebar.label) throw new Error('Backend guides must always include a sidebar label.');
const pageUrl = '/' + page.id.replace('en/', `${lang}/`) + '/';
const logo = isLogoKey(page.id.split('/').pop());
return { title: service, href: pageUrl, logo };
return { title: sidebar.label, href: pageUrl, logo };
});
---

<section>
<CardsNav minimal links={links} />
<CardsNav links={links} />
</section>
2 changes: 1 addition & 1 deletion src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const deploySchema = baseSchema.extend({
export const backendSchema = baseSchema.extend({
type: z.literal('backend'),
stub: z.boolean().default(false),
service: z.string(),
logo: z.enum(logoKeys),
});

export const cmsSchema = baseSchema.extend({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Add a backend to your project with Appwrite
sidebar:
label: Appwrite
type: backend
service: Appwrite
logo: appwrite
stub: true
i18nReady: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Add a backend to your project with Firebase
sidebar:
label: Firebase
type: backend
service: Firebase
logo: firebase
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noting that the sidebar.label for these was already "Firebase", so no label changes (and therefore no translation considerations!) needed here.

stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/backend/neon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Add a serverless Postgres database to your Astro project with Neon
sidebar:
label: Neon
type: backend
service: Neon
logo: neon
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/backend/prisma-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Add a serverless Postgres database to your Astro project with Prism
sidebar:
label: Prisma Postgres
type: backend
service: Prisma Postgres
logo: 'prisma-postgres'
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/backend/sentry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: How to monitor your Astro site with Sentry
sidebar:
label: Sentry
type: backend
service: Sentry
logo: sentry
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/backend/supabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Add a backend to your project with Supabase
sidebar:
label: Supabase
type: backend
service: Supabase
logo: supabase
i18nReady: true
---
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/backend/turso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Build locally with a SQLite file and deploy globally using Turso.
sidebar:
label: Turso
type: backend
service: Turso
logo: turso
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/backend/xata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Add a serverless database with full-text search to your project wit
sidebar:
label: Xata
type: backend
service: Xata
logo: xata
stub: false
i18nReady: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Añade un backend a tu proyecto con Appwrite
sidebar:
label: Appwrite
type: backend
service: Appwrite
logo: appwrite
stub: true
i18nReady: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Agrega un backend a tu proyecto con Firebase
sidebar:
label: Firebase
type: backend
service: Firebase
logo: firebase
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/backend/neon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Agrega una base de datos serverless de Postgres a tu proyecto de As
sidebar:
label: Neon
type: backend
service: Neon
logo: neon
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/backend/prisma-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Añade una base de datos Postgres sin servidor a tu proyecto de Ast
sidebar:
label: Prisma Postgres
type: backend
service: Prisma Postgres
logo: 'prisma-postgres'
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/backend/sentry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Cómo monitorear tu sitio Astro con Sentry
sidebar:
label: Sentry
type: backend
service: Sentry
logo: sentry
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/backend/supabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Añade un backend a tu proyecto con Supabase
sidebar:
label: Supabase
type: backend
service: Supabase
logo: supabase
i18nReady: true
---
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/backend/turso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Construye localmente con un archivo SQLite y despliega globalmente
sidebar:
label: Turso
type: backend
service: Turso
logo: turso
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/es/guides/backend/xata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Agrega una base de datos sin servidor con búsqueda de texto comple
sidebar:
label: Xata
type: backend
service: Xata
logo: xata
stub: false
i18nReady: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Ajouter un backend à son projet avec Appwrite
sidebar:
label: Appwrite
type: backend
service: Appwrite
logo: appwrite
stub: true
i18nReady: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Ajouter un backend à votre projet avec Firebase
sidebar:
label: Firebase
type: backend
service: Firebase
logo: firebase
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/backend/neon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Ajouter une base de données Postgres sans serveur à votre projet
sidebar:
label: Neon
type: backend
service: Neon
logo: neon
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/backend/prisma-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Ajoutez une base de données Postgres serverless à votre projet As
sidebar:
label: Prisma Postgres
type: backend
service: Prisma Postgres
logo: 'prisma-postgres'
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/backend/sentry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Comment surveiller votre site Astro avec Sentry
sidebar:
label: Sentry
type: backend
service: Sentry
logo: sentry
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/backend/supabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Ajouter un backend à votre projet avec Supabase
sidebar:
label: Supabase
type: backend
service: Supabase
logo: supabase
i18nReady: true
---
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/backend/turso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Construisez localement avec un fichier SQLite et déployez globalem
sidebar:
label: Turso
type: backend
service: Turso
logo: turso
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/fr/guides/backend/xata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Ajoutez une base de données sans serveur avec recherche de texte c
sidebar:
label: Xata
type: backend
service: Xata
logo: xata
stub: false
i18nReady: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Appwriteでプロジェクトにバックエンドを追加する
sidebar:
label: Appwrite
type: backend
service: Appwrite
logo: appwrite
stub: true
i18nReady: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Firebaseでプロジェクトにバックエンドを追加する
sidebar:
label: Firebase
type: backend
service: Firebase
logo: firebase
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ja/guides/backend/neon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Neonを使用してAstroプロジェクトにサーバーレスPost
sidebar:
label: Neon
type: backend
service: Neon
logo: neon
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ja/guides/backend/sentry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Sentryを使用してAstro サイトを監視する方法
sidebar:
label: Sentry
type: backend
service: Sentry
logo: sentry
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ja/guides/backend/supabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Supabaseでプロジェクトにバックエンドを追加する
sidebar:
label: Supabase
type: backend
service: Supabase
logo: supabase
i18nReady: true
---
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ja/guides/backend/turso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: SQLiteファイルでローカルに構築し、Tursoを使用し
sidebar:
label: Turso
type: backend
service: Turso
logo: turso
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ja/guides/backend/xata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: XataとAstro
description: サーバーレスデータベースをプロジェクトに追加し、Xataで全文検索を行いましょう。
type: backend
service: Xata
logo: xata
stub: false
i18nReady: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Appwrite를 사용하여 프로젝트에 백엔드 추가
sidebar:
label: Appwrite
type: backend
service: Appwrite
logo: appwrite
stub: true
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Firebase를 사용하여 프로젝트에 백엔드 추가
sidebar:
label: Firebase
type: backend
service: Firebase
logo: firebase
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ko/guides/backend/neon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Neon을 사용하여 Astro 프로젝트에 서버리스 Postgres
sidebar:
label: Neon
type: backend
service: Neon
logo: neon
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ko/guides/backend/prisma-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Prisma Postgres를 사용하여 Astro 프로젝트에 서버리스
sidebar:
label: Prisma Postgres
type: backend
service: Prisma Postgres
logo: 'prisma-postgres'
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ko/guides/backend/sentry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Sentry로 Astro 사이트를 모니터링하는 방법
sidebar:
label: Sentry
type: backend
service: Sentry
logo: 'sentry'
stub: false
i18nReady: true
---
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/ko/guides/backend/supabase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Supabase를 사용하여 프로젝트에 백앤드 추가
sidebar:
label: Supabase
type: backend
service: Supabase
logo: supabase
---
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
import { FileTree } from '@astrojs/starlight/components';
Expand Down
Loading
Loading