doc: fix logo and link (#1021)

This commit is contained in:
左风 2023-04-11 17:56:54 +08:00 committed by GitHub
parent f2e2c4dbd9
commit 4e05678f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ import mdItCustomAttrs from "markdown-it-custom-attrs";
* @type {DefaultTheme.NavItem[]}
*/
const NavConfig = [
{ text: "主页", link: "/" },
{ text: "主页", link: "https://laf.run" },
{ text: "开发指南", link: "/guide/", activeMatch: "^/guide/" },
{ text: "API", link: "/api/cloud", activeMatch: "^/api/" },
{ text: "范例", link: "/examples/aliyun-sms", activeMatch: "^/examples/" },
@ -199,10 +199,10 @@ export default defineConfig({
message: "Apache License V2.0",
copyright: "Copyright © 2021-present labring/laf",
},
// editLink: {
// pattern: "https://github.com/labring/laf/edit/main/docs/:path",
// text: "在 GitHub 上编辑此页",
// },
editLink: {
pattern: "https://github.com/labring/laf/edit/main/docs/:path",
text: "在 GitHub 上编辑此页",
},
lastUpdated: "更新于",
nav: NavConfig,
socialLinks: [{ icon: "github", link: "https://github.com/labring/laf" }],

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB