diff options
author | 2024-02-01 10:29:07 +0000 | |
---|---|---|
committer | 2024-02-01 10:29:07 +0000 | |
commit | b31a46673efecaf884f8596deabd30c7a041dd14 (patch) | |
tree | 4deb7c4dac3f34a4a1a2ea7757c01b4594d6e4fc | |
parent | 2561c99598e325bbd5a70a9c08f9f409ec5994fd (diff) | |
download | astro-b31a46673efecaf884f8596deabd30c7a041dd14.tar.gz astro-b31a46673efecaf884f8596deabd30c7a041dd14.tar.zst astro-b31a46673efecaf884f8596deabd30c7a041dd14.zip |
chore: fix alignment docs (#9920)
* chore: fix alignment docs
* apply Sarah suggestion
-rw-r--r-- | packages/astro/src/@types/astro.ts | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 38675898f..6c409224a 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" - * }, + * } + * }, * }) * ``` * |