Skip to content

Commit 9105fc5

Browse files
committed
chore: update docs
1 parent 9618abc commit 9105fc5

8 files changed

+44
-41
lines changed

docs/bun.lockb

0 Bytes
Binary file not shown.

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"typescript": "^5.0.0"
2121
},
2222
"dependencies": {
23-
"@grapp/nextra-theme": "^0.3.2"
23+
"@grapp/nextra-theme": "^0.3.8"
2424
}
2525
}

docs/pages/_meta.json

-6
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,5 @@
1717
"theme": {
1818
"typesetting": "article"
1919
}
20-
},
21-
"sponsor_link": {
22-
"type": "page",
23-
"title": "Sponsor ↗",
24-
"href": "https://github.com/sponsors/mobily",
25-
"newWindow": true
2620
}
2721
}

docs/pages/docs/_meta.json

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"title": "More"
1515
},
1616
"showcase": "",
17+
"sponsor_link": {
18+
"title": "Sponsor ↗",
19+
"href": "https://github.com/sponsors/mobily",
20+
"newWindow": true
21+
},
1722
"github_link": {
1823
"title": "GitHub ↗",
1924
"href": "https://github.com/grapp-dev/nui-components.nvim",

docs/pages/docs/getting-started.mdx

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
import { Tabs } from 'nextra/components'
2+
13
## Installation
24

35
To install NuiComponents, you should use your preferred plugin manager.
46

5-
[Lazy](https://github.com/folke/lazy.nvim)
6-
7+
<Tabs items={['Lazy', 'Packer']}>
8+
<Tabs.Tab>
79
```lua
810
{
911
"grapp-dev/nui-components.nvim",
@@ -12,9 +14,8 @@ To install NuiComponents, you should use your preferred plugin manager.
1214
}
1315
}
1416
```
15-
16-
[Packer](https://github.com/wbthomason/packer.nvim)
17-
17+
</Tabs.Tab>
18+
<Tabs.Tab>
1819
```lua
1920
use {
2021
"grapp-dev/nui-components.nvim",
@@ -23,6 +24,8 @@ use {
2324
}
2425
}
2526
```
27+
</Tabs.Tab>
28+
</Tabs>
2629

2730
## Your first UI implementation
2831

docs/pages/index.mdx

+24-25
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,28 @@ import { Homepage, Hero, Features, Feature } from '@grapp/nextra-theme';
2020
}
2121
/>
2222
}
23-
features={
24-
<Features>
25-
<Feature
26-
title="Reactive UI"
27-
description="The library automatically handles UI updates based on input and events received."
28-
/>
29-
<Feature
30-
title="Flexbox"
31-
description="NuiComponents supports a simple flexbox layout system, which provides a more flexible way to layout UIs."
32-
/>
33-
<Feature
34-
title="State Management"
35-
description="The library provides a state management system that allows managing data and UI state with ease."
36-
/>
23+
>
24+
<Features>
25+
<Feature
26+
title="Reactive UI"
27+
description="The library automatically handles UI updates based on input and events received."
28+
/>
29+
<Feature
30+
title="Flexbox"
31+
description="NuiComponents supports a simple flexbox layout system, which provides a more flexible way to layout UIs."
32+
/>
33+
<Feature
34+
title="State Management"
35+
description="The library provides a state management system that allows managing data and UI state with ease."
36+
/>
3737

38-
<Feature
39-
title="Extensibility"
40-
description="Create your custom components by using Component API."
41-
/>
42-
<Feature
43-
title="Reusability"
44-
description="Reuse components between different parts of UI, reduce the amount of code you need to write."
45-
/>
46-
</Features>
47-
}
48-
/>
38+
<Feature
39+
title="Extensibility"
40+
description="Create your custom components by using Component API."
41+
/>
42+
<Feature
43+
title="Reusability"
44+
description="Reuse components between different parts of UI, reduce the amount of code you need to write."
45+
/>
46+
</Features>
47+
</Homepage>

docs/theme.config.jsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ export default getDefaultConfig({
1111
discord: 'https://discord.gg/Rj2V3keVS4',
1212
docs: 'https://nui-components.grapp.dev',
1313
logo: () => {
14-
return <Logo image={NuiComponentsLogo} title="Nui.Components" />;
14+
return <Logo image={NuiComponentsLogo} title="nui-components.nvim" />;
1515
},
1616
footer: () => {
1717
return (
1818
<Footer
19-
github="https://github.com/grapp-dev/nui-components.nvim"
2019
sections={[
2120
{
2221
title: 'FAQ',

docs/tsconfig.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"extends": "@grapp/nextra-theme/default.json",
2+
"extends": "@grapp/nextra-theme/tsconfig.json",
33
"include": [
44
"next-env.d.ts",
55
"./docs/**/*.ts",
66
"./docs/**/*.tsx"
7-
]
7+
],
8+
"compilerOptions": {
9+
"incremental": true
10+
}
811
}

0 commit comments

Comments
 (0)