From b31a46673efecaf884f8596deabd30c7a041dd14 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Thu, 1 Feb 2024 10:29:07 +0000 Subject: [PATCH] chore: fix alignment docs (#9920) * chore: fix alignment docs * apply Sarah suggestion --- packages/astro/src/@types/astro.ts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 38675898fc..6c409224a5 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -796,7 +796,7 @@ export interface AstroUserConfig { * { * build: { * // Example: Generate `page.html` instead of `page/index.html` during build. - * format: 'preserve' + * format: 'file' * } * } * ``` @@ -1551,19 +1551,20 @@ export interface AstroUserConfig { * ```js * //astro.config.mjs * export default defineConfig({ - * site: "https://example.com", - * output: "server", // required, with no prerendered pages + * site: "https://example.com", + * output: "server", // required, with no prerendered pages * adapter: node({ * mode: 'standalone', * }), - * i18n: { - * defaultLocale: "en", - * locales: ["en", "fr", "pt-br", "es"], + * i18n: { + * defaultLocale: "en", + * locales: ["en", "fr", "pt-br", "es"], * prefixDefaultLocale: false, - * domains: { - * fr: "https://fr.example.com", + * domains: { + * fr: "https://fr.example.com", * es: "https://example.es" - * }, + * } + * }, * }) * ``` *