Skip to content

Commit 6012213

Browse files
authored
chore(content): apply studio formating
1 parent d742ce7 commit 6012213

File tree

3 files changed

+35
-53
lines changed

3 files changed

+35
-53
lines changed

content/1.getting-started/2.installation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ title: Installation
33
description: Get started with Nuxt UI Pro documentation template.
44
---
55

6-
::tip
7-
---
8-
target: _blank
9-
to: https://content.nuxt.com/templates/docs
10-
---
6+
::tip{target="_blank" to="https://content.nuxt.com/templates/docs"}
117
Use this template on Nuxt Studio and start your documentation in seconds.
128
::
139

content/1.getting-started/3.usage.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,13 @@ description: Learn how to write and customize your documentation.
55

66
This is only a basic example of what you can achieve with [Nuxt UI Pro](https://ui.nuxt.com/pro/guide), you can tweak it to match your needs. The template uses several Nuxt modules underneath like [`@nuxt/content`](https://content.nuxt.com) for the content, [`@nuxtjs/fontaine`](https://github.com/nuxt-modules/fontaine) and [`@nuxtjs/google-fonts`](https://github.com/nuxt-modules/google-fonts) to change the font and [`nuxt-og-image`](https://nuxtseo.com/og-image/getting-started/installation) for social previews.
77

8-
::tip
9-
---
10-
target: _blank
11-
to: https://ui.nuxt.com/pro/guide/usage#structure
12-
---
8+
::tip{target="_blank" to="https://ui.nuxt.com/pro/guide/usage#structure"}
139
Learn more on how to customize and structure a Nuxt UI Pro app!
1410
::
1511

1612
## Writing content
1713

18-
You can just start writing `.md` or `.yml` files in the [`content/`](https://content.nuxt.com/usage/content-directory) directory to have your pages updated.
19-
The navigation will be automatically generated in the left aside and in the mobile menu. You will also be able to go through your content with full-text search.
14+
You can just start writing `.md` or `.yml` files in the [`content/`](https://content.nuxt.com/usage/content-directory) directory to have your pages updated. The navigation will be automatically generated in the left aside and in the mobile menu. You will also be able to go through your content with full-text search.
2015

2116
::tip
2217
This template relies on a [catch-all route](https://nuxt.com/docs/guide/directory-structure/pages#catch-all-route) but you can achieve the same thing with the [document-driven mode](https://content.nuxt.com/document-driven/introduction).
@@ -131,10 +126,6 @@ export default defineAppConfig({
131126
})
132127
```
133128

134-
::tip
135-
---
136-
target: _blank
137-
to: https://content.nuxt.com/docs/studio/config
138-
---
129+
::tip{target="_blank" to="https://content.nuxt.com/docs/studio/config"}
139130
A dedicated interface is provided to edit those configurations on Nuxt Studio.
140131
::

content/index.md

Lines changed: 31 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
---
22
seo:
33
title: Nuxt UI Pro - Docs template.
4-
description: Nuxt UI Pro is a collection of premium Vue components built on top of Nuxt UI to create beautiful & responsive Nuxt applications in minutes.
4+
description: Nuxt UI Pro is a collection of premium Vue components built on top
5+
of Nuxt UI to create beautiful & responsive Nuxt applications in minutes.
56
---
67

7-
::u-page-hero{orientation="horizontal"}
8-
#default
9-
:::prose-pre{filename="Terminal"}
10-
```bash
11-
npx nuxi init -t github:nuxt-ui-pro/docs#v3
12-
```
13-
:::
8+
::u-page-hero
9+
---
10+
orientation: horizontal
11+
---
12+
:::prose-pre{filename="Terminal"}
13+
```bash
14+
npx nuxi init -t github:nuxt-ui-pro/docs#v3
15+
```
16+
:::
1417

1518
#title
1619
Build your docs in seconds
@@ -19,39 +22,31 @@ Build your docs in seconds
1922
Create your documentation in seconds with this template!
2023

2124
#headline
22-
::u-button
25+
:::u-button
2326
---
24-
trailingIcon: i-lucide-external-link
27+
class: rounded-full
28+
size: sm
2529
to: https://ui.nuxt.com/pro
30+
trailingIcon: i-lucide-external-link
2631
variant: subtle
27-
class: 'rounded-full'
28-
size: sm
2932
---
30-
#default
3133
Made with Nuxt UI Pro
32-
::
34+
:::
3335

3436
#links
35-
:::u-button
36-
---
37-
size: xl
38-
to: /getting-started
39-
trailingIcon: i-lucide-arrow-right
40-
---
41-
#default
37+
:::u-button{size="xl" to="/getting-started" trailingIcon="i-lucide-arrow-right"}
4238
Get started
4339
:::
4440

4541
:::u-button
4642
---
4743
color: neutral
44+
icon: i-simple-icons-github
4845
size: xl
4946
target: _blank
5047
to: https://ui.nuxt.com/pro
51-
icon: i-simple-icons-github
5248
variant: subtle
5349
---
54-
#default
5550
Use this template
5651
:::
5752
::
@@ -65,7 +60,7 @@ All-in-one docs template
6560
---
6661
color: neutral
6762
size: lg
68-
target: '_blank'
63+
target: _blank
6964
to: /getting-started
7065
trailingIcon: i-lucide-arrow-right
7166
variant: subtle
@@ -77,77 +72,77 @@ All-in-one docs template
7772
:::u-page-feature
7873
---
7974
icon: i-simple-icons-nuxt
75+
target: _blank
8076
to: https://nuxt.com
81-
target: '_blank'
8277
---
8378
#title
8479
Nuxt 3
85-
80+
8681
#description
8782
Powered by Nuxt 3 for optimal performances and SEO.
8883
:::
8984

9085
:::u-page-feature
9186
---
9287
icon: i-simple-icons-markdown
88+
target: _blank
9389
to: https://content.nuxt.com
94-
target: '_blank'
9590
---
9691
#title
9792
Markdown
98-
93+
9994
#description
10095
Write your pages with MDC thanks to Nuxt Content.
10196
:::
10297

10398
:::u-page-feature
10499
---
105100
icon: i-lucide-sparkles
101+
target: _blank
106102
to: https://ui.nuxt.com
107-
target: '_blank'
108103
---
109104
#title
110105
Nuxt UI 3
111-
106+
112107
#description
113108
Offers a very large set of full customizable components.
114109
:::
115110

116111
:::u-page-feature
117112
---
118113
icon: i-simple-icons-typescript
114+
target: _blank
119115
to: https://www.typescriptlang.org
120-
target: '_blank'
121116
---
122117
#title
123118
TypeScript
124-
119+
125120
#description
126121
A fully typed development experience.
127122
:::
128123

129124
:::u-page-feature
130125
---
131126
icon: i-simple-icons-nuxtdotjs
127+
target: _blank
132128
to: https://content.nuxt.com/docs/studio
133-
target: '_blank'
134129
---
135130
#title
136131
Nuxt Studio
137-
132+
138133
#description
139134
Supported by Nuxt Studio for fast updates and previews.
140135
:::
141136

142137
:::u-page-feature
143138
---
144139
icon: i-lucide-search
140+
target: _blank
145141
to: https://ui.nuxt.com/pro/components/docs/docs-search
146-
target: '_blank'
147142
---
148143
#title
149144
Search
150-
145+
151146
#description
152147
A full-text search modal empowered by Fuse.js.
153148
:::

0 commit comments

Comments
 (0)