0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

chore: fix alignment docs (#9920)

* chore: fix alignment docs

* apply Sarah suggestion
This commit is contained in:
Emanuele Stoppa 2024-02-01 10:29:07 +00:00 committed by GitHub
parent 2561c99598
commit b31a46673e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"
* },
* }
* },
* })
* ```
*