mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
update docs
This commit is contained in:
parent
582067e7e7
commit
f1d07d5341
@ -4,6 +4,7 @@ import { defineConfig } from 'vitepress'
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
lang: 'zh-CN',
|
lang: 'zh-CN',
|
||||||
title: "Mybatis-Flex",
|
title: "Mybatis-Flex",
|
||||||
|
titleTemplate: ':title - Mybatis-Flex 官方网站',
|
||||||
description: "一个优雅的 Mybatis 增强框架",
|
description: "一个优雅的 Mybatis 增强框架",
|
||||||
// logo: '/assets/images/logo02.png',
|
// logo: '/assets/images/logo02.png',
|
||||||
|
|
||||||
@ -15,10 +16,12 @@ export default defineConfig({
|
|||||||
{text: '帮助文档', link: '/zh/what-is-mybatisflex'},
|
{text: '帮助文档', link: '/zh/what-is-mybatisflex'},
|
||||||
{text: '更新日志', link: 'https://gitee.com/mybatis-flex/mybatis-flex/releases'},
|
{text: '更新日志', link: 'https://gitee.com/mybatis-flex/mybatis-flex/releases'},
|
||||||
{text: '示例代码', link: 'https://gitee.com/mybatis-flex/mybatis-flex-samples'},
|
{text: '示例代码', link: 'https://gitee.com/mybatis-flex/mybatis-flex-samples'},
|
||||||
{ text: '源码', items: [
|
{
|
||||||
|
text: '源码', items: [
|
||||||
{text: 'Gitee', link: 'https://gitee.com/mybatis-flex/mybatis-flex'},
|
{text: 'Gitee', link: 'https://gitee.com/mybatis-flex/mybatis-flex'},
|
||||||
{text: 'Github', link: 'https://github.com/mybatis-flex/mybatis-flex'}
|
{text: 'Github', link: 'https://github.com/mybatis-flex/mybatis-flex'}
|
||||||
] },
|
]
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
sidebar: [
|
sidebar: [
|
||||||
@ -81,8 +84,7 @@ export default defineConfig({
|
|||||||
'link', {rel: 'icon', href: '/assets/images/logo02.png'}
|
'link', {rel: 'icon', href: '/assets/images/logo02.png'}
|
||||||
],
|
],
|
||||||
|
|
||||||
[
|
[// 添加百度统计
|
||||||
// 添加百度统计
|
|
||||||
"script",
|
"script",
|
||||||
{},
|
{},
|
||||||
`
|
`
|
||||||
@ -93,6 +95,16 @@ export default defineConfig({
|
|||||||
var s = document.getElementsByTagName("script")[0];
|
var s = document.getElementsByTagName("script")[0];
|
||||||
s.parentNode.insertBefore(hm, s);
|
s.parentNode.insertBefore(hm, s);
|
||||||
})();
|
})();
|
||||||
|
`
|
||||||
|
],
|
||||||
|
|
||||||
|
[// 自动跳转 https
|
||||||
|
"script",
|
||||||
|
{},
|
||||||
|
`
|
||||||
|
if (location.protocol !== 'https:') {
|
||||||
|
location.href = 'https://' + location.hostname + location.pathname + location.search;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user