完成footer部分

This commit is contained in:
2025-09-12 10:43:05 +08:00
parent b3b125bf43
commit 01fcc938a4
5 changed files with 160 additions and 6 deletions

View File

@@ -24,13 +24,13 @@ export default defineConfig({
items: [
{
text: 'Devstar介绍文档',
link: '/devstar/index'
link: '/devstar'
},
]
},
{ text: 'Cloudbuild', link: '/cloudbuild' },
{ text: 'Simulator', link: '/simulator' },
{ text: 'Enterprise', link: '/enterprise/index' },
{ text: 'Enterprise', link: '/enterprise' },
],
sidebar: {
'/devstar/': sidebarDocument(), // 直接返回 SidebarItem[]
@@ -44,10 +44,10 @@ export default defineConfig({
// [Copyright © 2025-present Devstar Contributors](https://github.com/mengning/DevStar)
// { copyright: 'Copyright © 2025-present devstar contributors', link: 'https://github.com/mengning/DevStar' }
// ] as any,
footer: {
message: '<a href="/copyright/index">苏ICP备2024068144号-1 ©Mengning Software. 2025- All rights reserved.</a>',
copyright: '' // 留空避免重复
},
// footer: {
// message: '<a href="/copyright/index">苏ICP备2024068144号-1 ©Mengning Software. 2025- All rights reserved.</a>',
// copyright: ''
// },
// 设置搜索框的样式
search: {
provider: "local",