diff --git a/packages/astro-rss/src/index.ts b/packages/astro-rss/src/index.ts index 7f8c871bb377..843edd1466bb 100644 --- a/packages/astro-rss/src/index.ts +++ b/packages/astro-rss/src/index.ts @@ -29,7 +29,7 @@ export type RSSOptions = { customData?: z.infer['customData']; /** * Whether to include drafts or not - * @deprecated since version 3.0. Use content collections instead. + * @deprecated Deprecated since version 3.0. Use content collections instead. */ drafts?: z.infer['drafts']; trailingSlash?: z.infer['trailingSlash']; @@ -50,7 +50,7 @@ export type RSSFeedItem = { customData?: z.infer['customData']; /** * Whether draft or not - * @deprecated since version 3.0. Use content collections instead. + * @deprecated Deprecated since version 3.0. Use content collections instead. */ draft?: z.infer['draft']; /** Categories or tags related to the item */ diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 4abc8c0dc956..557ad1ed1b4d 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -856,7 +856,7 @@ export interface AstroUserConfig { * @name build.split * @type {boolean} * @default `false` - * @deprecated since version 3.0 + * @deprecated Deprecated since version 3.0. * @description * The build config option `build.split` has been replaced by the adapter configuration option [`functionPerRoute`](/en/reference/adapter-reference/#functionperroute). * @@ -870,7 +870,7 @@ export interface AstroUserConfig { * @name build.excludeMiddleware * @type {boolean} * @default `false` - * @deprecated since version 3.0 + * @deprecated Deprecated since version 3.0. * @description * The build config option `build.excludeMiddleware` has been replaced by the adapter configuration option [`edgeMiddleware`](/en/reference/adapter-reference/#edgemiddleware). * @@ -1064,7 +1064,7 @@ export interface AstroUserConfig { * @name markdown.drafts * @type {boolean} * @default `false` - * @deprecated since version 3.0. Use content collections instead. + * @deprecated Deprecated since version 3.0. Use content collections instead. * @description * Control whether Markdown draft pages should be included in the build. * diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index cc88d80f2f25..60e78adf69eb 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -42,7 +42,7 @@ export const UnknownCompilerError = { * The `Astro.redirect` function is only available when [Server-side rendering](/en/guides/server-side-rendering/) is enabled. * * To redirect on a static website, the [meta refresh attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta) can be used. Certain hosts also provide config-based redirects (ex: [Netlify redirects](https://docs.netlify.com/routing/redirects/)). - * @deprecated since version 2.6 + * @deprecated Deprecated since version 2.6. */ export const StaticRedirectNotAvailable = { name: 'StaticRedirectNotAvailable',