Skip to content

Commit

Permalink
chore: update example formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo committed Jun 3, 2024
1 parent 2a780c4 commit 93c595e
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 14 deletions.
4 changes: 3 additions & 1 deletion example/src/content/docs/1.0/another-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ This is a random page of the Starlight Versions plugin example.
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.

</Steps>

## Random Content
Expand Down
4 changes: 3 additions & 1 deletion example/src/content/docs/1.0/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ You can browse through the various pages and versions of the documentation to se
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.

</Steps>
4 changes: 3 additions & 1 deletion example/src/content/docs/1.0/guides/guide-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ This is a random page of the Starlight Versions plugin example.
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.

</Steps>

## Random Content
Expand Down
4 changes: 3 additions & 1 deletion example/src/content/docs/1.0/guides/guide-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ This is a random page of the Starlight Versions plugin example.
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.

</Steps>

## Random Content
Expand Down
4 changes: 3 additions & 1 deletion example/src/content/docs/1.0/guides/guide-3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ This is a random page of the Starlight Versions plugin example.
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.

</Steps>

## Random Content
Expand Down
6 changes: 4 additions & 2 deletions example/src/content/docs/2.0/another-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ Here is an asset:
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation. 2.
This page was **updated** in the version `2.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.
2. This page was **updated** in the version `2.0` of the documentation.

</Steps>

## Random Content
Expand Down
6 changes: 4 additions & 2 deletions example/src/content/docs/2.0/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Here is a [link](/2.0/another-page/) to another page.
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation. 2.
This page was **updated** in the version `2.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.
2. This page was **updated** in the version `2.0` of the documentation.

</Steps>
6 changes: 4 additions & 2 deletions example/src/content/docs/2.0/guides/guide-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ This is a random page of the Starlight Versions plugin example.
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation. 2.
This page was **updated** in the version `2.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.
2. This page was **updated** in the version `2.0` of the documentation.

</Steps>

## Random Content
Expand Down
4 changes: 3 additions & 1 deletion example/src/content/docs/2.0/guides/guide-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ This is a random page of the Starlight Versions plugin example.
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.

</Steps>

## Random Content
Expand Down
6 changes: 4 additions & 2 deletions example/src/content/docs/2.0/guides/guide-3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ This is a random page of the Starlight Versions plugin example.
import { Steps } from '@astrojs/starlight/components'

<Steps>
1. This page was **created** in the version `1.0` of the documentation. 2.
This page was **updated** in the version `2.0` of the documentation.

1. This page was **created** in the version `1.0` of the documentation.
2. This page was **updated** in the version `2.0` of the documentation.

</Steps>

## Random Content
Expand Down

0 comments on commit 93c595e

Please sign in to comment.