0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-03 22:57:08 -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: { * build: {
* // Example: Generate `page.html` instead of `page/index.html` during build. * // Example: Generate `page.html` instead of `page/index.html` during build.
* format: 'preserve' * format: 'file'
* } * }
* } * }
* ``` * ```
@ -1551,19 +1551,20 @@ export interface AstroUserConfig {
* ```js * ```js
* //astro.config.mjs * //astro.config.mjs
* export default defineConfig({ * export default defineConfig({
* site: "https://example.com", * site: "https://example.com",
* output: "server", // required, with no prerendered pages * output: "server", // required, with no prerendered pages
* adapter: node({ * adapter: node({
* mode: 'standalone', * mode: 'standalone',
* }), * }),
* i18n: { * i18n: {
* defaultLocale: "en", * defaultLocale: "en",
* locales: ["en", "fr", "pt-br", "es"], * locales: ["en", "fr", "pt-br", "es"],
* prefixDefaultLocale: false, * prefixDefaultLocale: false,
* domains: { * domains: {
* fr: "https://fr.example.com", * fr: "https://fr.example.com",
* es: "https://example.es" * es: "https://example.es"
* }, * }
* },
* }) * })
* ``` * ```
* *