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:
parent
2561c99598
commit
b31a46673e
1 changed files with 10 additions and 9 deletions
|
@ -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"
|
||||
* },
|
||||
* }
|
||||
* },
|
||||
* })
|
||||
* ```
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue