Skip to content

Commit 3eba637

Browse files
committed
docs: beta
1 parent a9c8c46 commit 3eba637

File tree

6 files changed

+48
-165
lines changed

6 files changed

+48
-165
lines changed

docs/.vitepress/config.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,22 @@ export default defineConfig({
99
// https://vitepress.dev/reference/default-theme-config
1010
nav: [
1111
{ text: "Home", link: "/" },
12-
{ text: "Examples", link: "/markdown-examples" },
12+
{ text: "Guide", link: "/v1/guide" },
13+
{ text: "API", link: "/v1/api" },
1314
],
1415

15-
sidebar: [
16-
{
17-
text: "Examples",
18-
items: [
19-
{ text: "Markdown Examples", link: "/markdown-examples" },
20-
{ text: "Runtime API Examples", link: "/api-examples" },
21-
],
22-
},
23-
],
16+
// sidebar: [
17+
// {
18+
// text: "Examples",
19+
// items: [
20+
// { text: "Markdown Examples", link: "/markdown-examples" },
21+
// { text: "Runtime API Examples", link: "/api-examples" },
22+
// ],
23+
// },
24+
// ],
2425

2526
socialLinks: [
26-
{ icon: "github", link: "https://github.com/vuejs/vitepress" },
27+
{ icon: "github", link: "https://github.com/phphe/he-tree-react" },
2728
],
2829
},
2930
markdown: {

docs/api-examples.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

docs/index.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,21 @@ layout: home
44

55
hero:
66
name: "He Tree React"
7-
text: "A VitePress Site"
8-
tagline: My great project tagline
7+
# text: ""
8+
tagline: React draggable sortable tree component
99
actions:
1010
- theme: brand
11-
text: Markdown Examples
12-
link: /markdown-examples
11+
text: Get started
12+
link: ./v1/guide
1313
- theme: alt
14-
text: API Examples
15-
link: /api-examples
14+
text: API
15+
link: ./v1/api
1616

1717
features:
18-
- title: Feature A
19-
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
20-
- title: Feature B
21-
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
22-
- title: Feature C
23-
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
18+
- title: Draggable
19+
details: When drag, show a placeholder to help user.
20+
- title: High-performance
21+
details: Supports virtual list to handle large data calmly.
22+
- title: Easy to customize
23+
details: Simple structure, few built-in style, so the style and UI can be easily customized.
2424
---
25-

docs/markdown-examples.md

Lines changed: 0 additions & 91 deletions
This file was deleted.

docs/test.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/zh/index.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
# https://vitepress.dev/reference/default-theme-home-page
3+
layout: home
4+
5+
hero:
6+
name: "He Tree React"
7+
# text: ""
8+
tagline: React 可拖拽树组件
9+
actions:
10+
- theme: brand
11+
text: 开始使用
12+
link: ./v1/guide
13+
- theme: alt
14+
text: API
15+
link: ./v1/api
16+
17+
features:
18+
- title: 可拖拽
19+
details: 拖拽时显示占位框辅助用户选择位置.
20+
- title: 高性能
21+
details: 支持虚拟列表, 从容处理大量数据.
22+
- title: 易定制
23+
details: 结构简单, 很少内置样式, 可以容易的修改样式和UI.
24+
---

0 commit comments

Comments
 (0)