[docs content] use "version" not since (#4043)

* [docs content] use "version" not since

Change to use `@version` to create the `<Since />` component for docs. (not `@since)

Also, quick sentence edit.

* Update packages/astro/src/@types/astro.ts

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
Sarah Rainsberger 2022-07-25 16:39:58 -03:00 committed by GitHub
parent 813d392717
commit ab8f4901a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -710,7 +710,7 @@ export interface AstroUserConfig {
* @name Legacy Flags * @name Legacy Flags
* @description * @description
* To help some users migrate between versions of Astro, we occasionally introduce `legacy` flags. * To help some users migrate between versions of Astro, we occasionally introduce `legacy` flags.
* These flags let you to opt-in to some deprecated or otherwise outdated behavior of Astro * These flags allow you to opt in to some deprecated or otherwise outdated behavior of Astro
* in the latest version, so that you can continue to upgrade and take advantage of new Astro releases. * in the latest version, so that you can continue to upgrade and take advantage of new Astro releases.
*/ */
legacy?: { legacy?: {
@ -719,7 +719,7 @@ export interface AstroUserConfig {
* @name legacy.astroFlavoredMarkdown * @name legacy.astroFlavoredMarkdown
* @type {boolean} * @type {boolean}
* @default `false` * @default `false`
* @since 1.0.0-rc * @version 1.0.0-rc.1
* @description * @description
* Enable Astro's pre-v1.0 support for components and JSX expressions in `.md` Markdown files. * Enable Astro's pre-v1.0 support for components and JSX expressions in `.md` Markdown files.
* In Astro `1.0.0-rc`, this original behavior was removed as the default, in favor of our new [MDX integration](/en/guides/integrations-guide/mdx/). * In Astro `1.0.0-rc`, this original behavior was removed as the default, in favor of our new [MDX integration](/en/guides/integrations-guide/mdx/).