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