diff --git a/docs/Web/_category_.json b/docs/Web/_category_.json index d2dba5d..01579d2 100644 --- a/docs/Web/_category_.json +++ b/docs/Web/_category_.json @@ -1,5 +1,5 @@ { - "label": "Basic Web", + "label": "Web基础", "position": 2, "link": { "type": "generated-index" diff --git a/docs/Web/archive/_category_.json b/docs/Web/archive/_category_.json new file mode 100644 index 0000000..71103bd --- /dev/null +++ b/docs/Web/archive/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "垃圾桶", + "position": 5, + "link": { + "type": "generated-index" + } +} diff --git a/docs/Web/post-10.md b/docs/Web/archive/post-10.md similarity index 100% rename from docs/Web/post-10.md rename to docs/Web/archive/post-10.md diff --git a/docs/Web/post-2.md b/docs/Web/archive/post-2.md similarity index 100% rename from docs/Web/post-2.md rename to docs/Web/archive/post-2.md diff --git a/docs/Web/post-3.md b/docs/Web/archive/post-3.md similarity index 100% rename from docs/Web/post-3.md rename to docs/Web/archive/post-3.md diff --git a/docs/Web/post-4-1.png b/docs/Web/archive/post-4-1.png similarity index 100% rename from docs/Web/post-4-1.png rename to docs/Web/archive/post-4-1.png diff --git a/docs/Web/post-4.md b/docs/Web/archive/post-4.md similarity index 100% rename from docs/Web/post-4.md rename to docs/Web/archive/post-4.md diff --git a/docs/Web/post-5-1.png b/docs/Web/archive/post-5-1.png similarity index 100% rename from docs/Web/post-5-1.png rename to docs/Web/archive/post-5-1.png diff --git a/docs/Web/post-5-2.png b/docs/Web/archive/post-5-2.png similarity index 100% rename from docs/Web/post-5-2.png rename to docs/Web/archive/post-5-2.png diff --git a/docs/Web/post-5.md b/docs/Web/archive/post-5.md similarity index 100% rename from docs/Web/post-5.md rename to docs/Web/archive/post-5.md diff --git a/docs/Web/post-6-1.png b/docs/Web/archive/post-6-1.png similarity index 100% rename from docs/Web/post-6-1.png rename to docs/Web/archive/post-6-1.png diff --git a/docs/Web/post-6.md b/docs/Web/archive/post-6.md similarity index 100% rename from docs/Web/post-6.md rename to docs/Web/archive/post-6.md diff --git a/docs/Web/post-7.md b/docs/Web/archive/post-7.md similarity index 100% rename from docs/Web/post-7.md rename to docs/Web/archive/post-7.md diff --git a/docs/Web/post-8-1.png b/docs/Web/archive/post-8-1.png similarity index 100% rename from docs/Web/post-8-1.png rename to docs/Web/archive/post-8-1.png diff --git a/docs/Web/post-8.mdx b/docs/Web/archive/post-8.mdx similarity index 100% rename from docs/Web/post-8.mdx rename to docs/Web/archive/post-8.mdx diff --git a/docs/Web/post-9.mdx b/docs/Web/archive/post-9.mdx similarity index 100% rename from docs/Web/post-9.mdx rename to docs/Web/archive/post-9.mdx diff --git a/docs/Web/helloworld/_category_.json b/docs/Web/helloworld/_category_.json new file mode 100644 index 0000000..95b472f --- /dev/null +++ b/docs/Web/helloworld/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "快速开始", + "position": 2, + "link": { + "type": "generated-index" + } +} diff --git a/docs/Web/helloworld/first_page.md b/docs/Web/helloworld/first_page.md new file mode 100644 index 0000000..501b755 --- /dev/null +++ b/docs/Web/helloworld/first_page.md @@ -0,0 +1,24 @@ +--- +sidebar_position: 1 +--- + +# 第一个页面(hello world) + +```html title="examples/hello-world/index.html" + + + + + + + Document + + +
hello world
+ + +``` + +将文件在浏览器中打开,你将会看到 `hello world` 字样 + +![预览效果](./hello_world.png) diff --git a/docs/Web/helloworld/hello_world.png b/docs/Web/helloworld/hello_world.png new file mode 100644 index 0000000..4470bb3 Binary files /dev/null and b/docs/Web/helloworld/hello_world.png differ diff --git a/docs/Web/helloworld/simple_server.md b/docs/Web/helloworld/simple_server.md new file mode 100644 index 0000000..60c0331 --- /dev/null +++ b/docs/Web/helloworld/simple_server.md @@ -0,0 +1,11 @@ +--- +sidebar_position: 2 +--- + +# 简单的服务 + +在 `examples/hello-world/index.html` 文件夹下输入 + +``` +npx http +``` diff --git a/docs/Web/install/_category_.json b/docs/Web/install/_category_.json new file mode 100644 index 0000000..9db37a8 --- /dev/null +++ b/docs/Web/install/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "安装工具-win", + "position": 1, + "link": { + "type": "generated-index" + } +} diff --git a/docs/Web/install/nodejs.md b/docs/Web/install/nodejs.md new file mode 100644 index 0000000..aafb16b --- /dev/null +++ b/docs/Web/install/nodejs.md @@ -0,0 +1,13 @@ +--- +sidebar_position: 2 +--- + +# 安装 nodejs + +访问网站 https://nodejs.org/zh-cn/ + +点击下载长期维护版 并且安装 + +全默认选项安装 + +> 安装完成重启电脑 diff --git a/docs/Web/install/vscode.md b/docs/Web/install/vscode.md new file mode 100644 index 0000000..6689983 --- /dev/null +++ b/docs/Web/install/vscode.md @@ -0,0 +1,13 @@ +--- +sidebar_position: 1 +--- + +# 安装 vscode 编辑器 + +访问网站 https://code.visualstudio.com/ + +点击下载并且安装 + +## 下载速度慢 + +参考 https://zhuanlan.zhihu.com/p/112215618 diff --git a/docs/Web/more example/_category_.json b/docs/Web/more example/_category_.json new file mode 100644 index 0000000..e16ac85 --- /dev/null +++ b/docs/Web/more example/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "更多示例", + "position": 3, + "link": { + "type": "generated-index" + } +} diff --git a/docs/Web/more example/float.md b/docs/Web/more example/float.md new file mode 100644 index 0000000..e69de29 diff --git a/examples/post-4/hello.html b/examples/hello-world/index.html similarity index 100% rename from examples/post-4/hello.html rename to examples/hello-world/index.html