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

[docs] remove legacy/experimental flags from config reference (#12487)

* remove legacy and experimental flags from config reference

* only docs tag deleted

* fix indentation
This commit is contained in:
Sarah Rainsberger 2024-11-25 04:41:57 -04:00 committed by GitHub
parent 46b8a71e5e
commit 30c78ba306
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -280,7 +280,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
*
* Deploy to your favorite server, serverless, or edge host with build adapters. Import one of our first-party adapters for [Netlify](https://docs.astro.build/en/guides/deploy/netlify/#adapter-for-ssr), [Vercel](https://docs.astro.build/en/guides/deploy/vercel/#adapter-for-ssr), and more to engage Astro SSR.
*
* [See our Server-side Rendering guide](https://docs.astro.build/en/guides/server-side-rendering/) for more on SSR, and [our deployment guides](https://docs.astro.build/en/guides/deploy/) for a complete list of hosts.
* [See our On-demand Rendering guide](https://docs.astro.build/en/guides/on-demand-rendering/) for more on SSR, and [our deployment guides](https://docs.astro.build/en/guides/deploy/) for a complete list of hosts.
*
* ```js
* import netlify from '@astrojs/netlify';
@ -1668,7 +1668,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
};
/**
* @docs
*
* @kind heading
* @name Legacy Flags
* @description
@ -1678,7 +1678,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
*/
legacy?: {
/**
* @docs
*
* @name legacy.collections
* @type {boolean}
* @default `false`
@ -1715,13 +1715,12 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
* export const collections = { blog };
* ```
*
*/
collections?: boolean;
};
/**
* @docs
*
* @kind heading
* @name Experimental Flags
* @description
@ -1730,7 +1729,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
*/
experimental?: {
/**
* @docs
*
* @name experimental.clientPrerender
* @type {boolean}
* @default `false`
@ -1766,7 +1765,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
clientPrerender?: boolean;
/**
* @docs
*
* @name experimental.contentIntellisense
* @type {boolean}
* @default `false`
@ -1790,7 +1789,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
contentIntellisense?: boolean;
/**
* @docs
*
* @name experimental.responsiveImages
* @type {boolean}
* @default `undefined`
@ -1908,7 +1907,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
responsiveImages?: boolean;
/**
* @docs
*
* @name experimental.svg
* @type {boolean|object}
* @default `undefined`
@ -1943,7 +1942,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig {
*/
svg?: {
/**
* @docs
*
* @name experimental.svg.mode
* @type {string}
* @default 'inline'