Skip to content

Commit 0b198dc

Browse files
committed
fix(docs): fix and prevent broken docs landing page
1 parent 3ff7798 commit 0b198dc

2 files changed

Lines changed: 15 additions & 18 deletions

File tree

docs/content/index.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,24 @@ seo:
44
description: A fast, modern browser for the npm registry
55
---
66

7-
## ::u-page-hero
8-
7+
::u-page-hero
8+
---
99
title: npmx.dev
1010
description: A fast, modern browser for the npm registry. Speed first, URL compatible, and simple.
1111
links:
12-
13-
- label: Get Started
14-
to: /getting-started/introduction
15-
color: neutral
16-
size: xl
17-
trailingIcon: i-lucide-arrow-right
18-
- label: View on GitHub
19-
to: https://github.com/npmx-dev/npmx.dev
20-
target: \_blank
21-
color: neutral
22-
size: xl
23-
icon: i-simple-icons-github
24-
variant: outline
25-
12+
- label: Get Started
13+
to: /getting-started/introduction
14+
color: neutral
15+
size: xl
16+
trailingIcon: i-lucide-arrow-right
17+
- label: View on GitHub
18+
to: https://github.com/npmx-dev/npmx.dev
19+
target: _blank
20+
color: neutral
21+
size: xl
22+
icon: i-simple-icons-github
23+
variant: outline
2624
---
27-
2825
::
2926

3027
::u-page-section{title="What you can do"}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"*.{js,ts,mjs,cjs,vue}": [
108108
"vite lint --fix"
109109
],
110-
"*.{js,ts,mjs,cjs,vue,json,yml,md,html,css}": [
110+
"!(docs/content/index.md)*.{js,ts,mjs,cjs,vue,json,yml,md,html,css}": [
111111
"vite fmt"
112112
]
113113
},

0 commit comments

Comments
 (0)