Skip to content

Commit 43c993b

Browse files
committed
update
1 parent 35313f7 commit 43c993b

File tree

15 files changed

+215
-203
lines changed

15 files changed

+215
-203
lines changed

config/_default/menus/menus.en.toml

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,23 @@
1616
# identifier = "lorem"
1717
# url = "/docs/lorem/"
1818

19-
[[guide]]
20-
name = "Lorem"
21-
weight = 10
22-
identifier = "lorem"
23-
url = "/guide/lorem/"
19+
# [[guide]]
20+
# name = "Lorem"
21+
# weight = 10
22+
# identifier = "lorem"
23+
# url = "/guide/lorem/"
2424

25-
[[tutorial]]
26-
name = "Lorem"
27-
weight = 10
28-
identifier = "lorem"
29-
url = "/tutorial/lorem/"
25+
# [[tutorial]]
26+
# name = "Lorem"
27+
# weight = 10
28+
# identifier = "lorem"
29+
# url = "/tutorial/lorem/"
3030

3131
[[main]]
3232
name = "Docs"
3333
url = "/docs/guides/get-started/"
34-
# url = "/docs/1.0/prologue/introduction/"
3534
weight = 10
3635

37-
[[main]]
38-
name = "Blog"
39-
url = "/blog/"
40-
weight = 30
41-
4236
# [[social]]
4337
# name = "Twitter"
4438
# pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-x" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 4l11.733 16h4.267l-11.733 -16z"></path><path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"></path></svg>'
@@ -79,10 +73,10 @@ weight = 30
7973
# pageRef = "/docs/resources"
8074
# weight = 30
8175

82-
[[footer]]
83-
name = "Privacy Policy"
84-
url = "/privacy/"
85-
weight = 10
76+
# [[footer]]
77+
# name = "Privacy Policy"
78+
# url = "/privacy/"
79+
# weight = 10
8680

8781
# [[footer]]
8882
# name = "Terms of Service"
Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
# [[docs]]
2-
# name = "Prologue"
3-
# weight = 10
4-
# identifier = "prologue"
5-
# url = "/docs/prologue/"
6-
7-
# [[docs]]
8-
# name = "Help"
9-
# weight = 60
10-
# identifier = "help"
11-
# url = "/docs/help/"
12-
13-
# [[docs]]
14-
# name = "Lorem"
15-
# weight = 70
16-
# identifier = "lorem"
17-
# url = "/docs/lorem/"
18-
191
[[guide]]
202
name = "Lorem"
213
weight = 10
@@ -31,60 +13,11 @@ url = "/tutorial/lorem/"
3113
[[main]]
3214
name = "Docs"
3315
url = "/zh-cn/docs/guides/get-started/"
34-
# url = "/docs/1.0/prologue/introduction/"
3516
weight = 10
3617

37-
[[main]]
38-
name = "Blog"
39-
url = "/blog/"
40-
weight = 30
41-
42-
# [[social]]
43-
# name = "Twitter"
44-
# pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-x" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 4l11.733 16h4.267l-11.733 -16z"></path><path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"></path></svg>'
45-
# url = "https://twitter.com/getdoks"
46-
# weight = 10
47-
#
48-
# [[social]]
49-
# name = "Discord"
50-
# pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-discord" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l.975 1.923a11.913 11.913 0 0 1 4.053 0l.972 -1.923c1.5 .16 3.043 .485 4.5 1.5c2 5.667 2.167 9.833 1.5 11.5c-.667 1.333 -2 3 -3.5 3c-.5 0 -2 -2 -2 -3"></path><path d="M7 16.5c3.5 1 6.5 1 10 0"></path></svg>'
51-
# url = "https://getdoks.org/chat"
52-
# weight = 20
53-
5418
[[social]]
5519
name = "GitHub"
5620
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"></path></svg>'
5721
url = "https://github.com/MikaShell/mika-shell"
5822
post = "v0.1.0"
5923
weight = 30
60-
61-
# [[social]]
62-
# name = "LinkedIn"
63-
# pre = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24" fill="currentColor"><path d="M21,21H17V14.25C17,13.19 15.81,12.31 14.75,12.31C13.69,12.31 13,13.19 13,14.25V21H9V9H13V11C13.66,9.93 15.36,9.24 16.5,9.24C19,9.24 21,11.28 21,13.75V21M7,21H3V9H7V21M5,3A2,2 0 0,1 7,5A2,2 0 0,1 5,7A2,2 0 0,1 3,5A2,2 0 0,1 5,3Z"/></svg>'
64-
# url = "https://www.linkedin.com/"
65-
# weight = 40
66-
67-
# [[sidebar_docs]]
68-
# name = "Guides"
69-
# pageRef = "/docs/guides"
70-
# weight = 10
71-
#
72-
# [[sidebar_docs]]
73-
# name = "Reference"
74-
# pageRef = "/docs/reference"
75-
# weight = 20
76-
#
77-
# [[sidebar_docs]]
78-
# name = "Resources"
79-
# pageRef = "/docs/resources"
80-
# weight = 30
81-
82-
[[footer]]
83-
name = "Privacy Policy"
84-
url = "/privacy/"
85-
weight = 10
86-
87-
# [[footer]]
88-
# name = "Terms of Service"
89-
# url = "/terms/"
90-
# weight = 20

content/en/docs/_index.md

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

content/en/docs/guides/_index.md

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

content/en/docs/guides/started.md

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

content/en/docs/resources.md

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

content/en/privacy.md

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

content/zh-cn/docs/guides/use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ seo:
4040
mika-shell daemon
4141
```
4242

43-
如果配置文件目录不存在,则会在运行 `mika-shell daemon` 之后自动创建默认的配置文件。如果一切正常,那么你应该可以看到一个简单的 bar 出现在屏幕顶部。你可以在点击 bar 左侧的 Debug 按钮查看更多示例,鼠标右键可以打开网页调试工具。
43+
如果配置文件目录不存在,则会在运行 `mika-shell daemon` 之后自动创建 [默认的配置文件](https://github.com/MikaShell/mika-shell/tree/main/example)。如果一切正常,那么你应该可以看到一个简单的 bar 出现在屏幕顶部。你可以在点击 bar 左侧的 Debug 按钮查看更多示例,鼠标右键可以打开网页调试工具。
4444

4545
初始配置主要是目的是用于开发测试以及功能探索,并不适合日常使用。下一章节我将介绍如何从头打造属于你自己的配置。

content/zh-cn/docs/resources.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
slug: "before-starting"
3+
title: "开始之前"
4+
description: ""
5+
summary: ""
6+
date: 2025-09-29T15:11:23+08:00
7+
draft: false
8+
weight: 201
9+
toc: true
10+
seo:
11+
title: "" # custom title (optional)
12+
description: "" # custom description (recommended)
13+
canonical: "" # custom canonical URL (optional)
14+
noindex: false # false (default) or true
15+
---
16+
如果你想用 **mika-shell** 创建自定义配置,需要具备一定的前端知识。
17+
即便从未接触过前端,也可以把 mika-shell 当作入门——前端生态非常繁荣,各类工具都能帮助你快速实现想法。
18+
19+
- **已有经验的开发者**<br>
20+
如果你是前端老手,可以直接跳过本章节。
21+
22+
- **初学者**<br>
23+
如果你是新手,希望这里能为你提供一些入门指引。
24+
*作者本人并非前端专家,只是结合自己的经验分享一些建议。若你有更好的想法,欢迎提交 PR 改进文档。*
25+
26+
---
27+
28+
### 必备基础
29+
30+
1. **了解 HTML、CSS、JavaScript**<br>
31+
mika-shell 基于这三项核心技术,掌握它们是必要的。
32+
33+
2. **选择前端框架**<br>
34+
你可以根据自己的偏好选择 React、Vue、Svelte、Solid 等框架,以提升开发效率。
35+
- [React](https://react.dev/)
36+
- [Vue](https://vuejs.org/)
37+
- [Svelte](https://svelte.dev/)
38+
- [Solid](https://www.solidjs.com/)
39+
- 更多框架...
40+
41+
3. **使用其他工具**<br>
42+
- [TypeScipt](https://www.typescriptlang.org/) 具有类型语法的 JavaScript。
43+
- [Tailwind CSS](https://tailwindcss.com/) 可以让你摆脱繁琐的 CSS 代码。
44+
- [Sass](https://sass-lang.com/) 更高级的 CSS。

0 commit comments

Comments
 (0)