Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add web-ide page and VS Code plugin documentation, and adjust the documentation structure #1109

Merged
merged 2 commits into from
May 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 23 additions & 7 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const NavConfig = [
text: "Laf 云开发介绍",
link: "/guide/",
},
{
text: "Web IDE",
link: "/guide/web-ide/",
},
],
},
{
Expand Down Expand Up @@ -51,12 +55,19 @@ const NavConfig = [
text: "命令行工具",
link: "/guide/cli/",
},
{
text: "VSCode 本地开发",
link: "/guide/laf-assistant/",
},
],
},
],
},
{ text: "范例", link: "/examples/aliyun-sms", activeMatch: "^/examples/" },
{ text: "预览图", link: "/screenshots" },
{
text: "三分钟实验室",
// target: "_self",
link: "/3min/",
},
{
text: "立即使用",
// target: "_self",
Expand All @@ -75,6 +86,10 @@ const guideSiderbarConfig = [
text: "概览",
link: "/guide/",
},
{
text: "Web IDE 在线开发",
link: "/guide//web-ide/",
},
],
},
{
Expand Down Expand Up @@ -105,7 +120,6 @@ const guideSiderbarConfig = [
{
text: "云函数 SDK",
collapsed: false,
// link: "/guide/function/function-sdk",
items: [
{
text: "SDK 简介",
Expand Down Expand Up @@ -227,10 +241,7 @@ const guideSiderbarConfig = [
},
{
text: "静态网站托管",
items: [
{ text: "快速开始", link: "/guide/website-hosting/" },
// { text: "快速开始", link: "/guide/website-hosting/quick-start" },
],
items: [{ text: "快速托管", link: "/guide/website-hosting/" }],
},
{
text: "laf-cli 命令行工具",
Expand All @@ -243,6 +254,10 @@ const guideSiderbarConfig = [
{ text: "数据库访问策略", link: "/guide/db/policy" },
],
},
{
text: "VSCode 本地开发",
items: [{ text: "laf assistant", link: "/guide/laf-assistant/" }],
},
];

/**
Expand Down Expand Up @@ -319,6 +334,7 @@ export default defineConfig({
},
},
head: [
["link", { rel: "icon", href: "/logo.png" }],
[
"link",
{
Expand Down
7 changes: 7 additions & 0 deletions docs/3min/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: 三分钟实验室
---

# {{ $frontmatter.title }}

> TODO
Loading