Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenShadeZhang committed Jan 17, 2025
1 parent 82054ac commit f4fc9c6
Show file tree
Hide file tree
Showing 6 changed files with 5,177 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {

export const shared = defineConfig({
title: 'BotSharp',

ignoreDeadLinks: true,
rewrites: {
'en/:rest*': ':rest*'
},
Expand All @@ -34,7 +34,6 @@ export const shared = defineConfig({
const { localeIndex = 'root' } = env
const codeCopyButtonTitle = (() => {
switch (localeIndex) {

case 'zh':
return '复制代码'
default:
Expand All @@ -59,20 +58,20 @@ export const shared = defineConfig({

/* prettier-ignore */
head: [
['link', { rel: 'icon', type: 'image/png', href: '/Logo.png' }],
['link', { rel: 'icon', type: 'image/png', href: '/Logo.png' }],
['link', { rel: 'icon', type: 'image/png', href: '/logo.png' }],
['link', { rel: 'icon', type: 'image/png', href: '/logo.png' }],
['meta', { name: 'theme-color', content: '#5f67ee' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:locale', content: 'en' }],
['meta', { property: 'og:title', content: 'BotSharp | The Open Source LLM Application Framework' }],
['meta', { property: 'og:site_name', content: 'BotSharp' }],
['meta', { property: 'og:image', content: 'https://botsharp.verdure-hiro.cn/Logo.png' }],
['meta', { property: 'og:image', content: 'https://botsharp.verdure-hiro.cn/logo.png' }],
['meta', { property: 'og:url', content: 'https://botsharp.verdure-hiro.cn/' }],
['script', { src: 'https://cdn.usefathom.com/script.js', 'data-site': 'AZBRSFGG', 'data-spa': 'auto', defer: '' }]
],

themeConfig: {
logo: { src: '/Logo.png', width: 24, height: 24 },
logo: { src: '/logo.png', width: 24, height: 24 },

socialLinks: [
{ icon: 'github', link: 'https://github.com/SciSharp/BotSharp' }
Expand All @@ -98,7 +97,7 @@ export const shared = defineConfig({
customIcon: {
vitepress: localIconLoader(
import.meta.url,
'../../public/Logo.png'
'../../public/logo.png'
),
firebase: 'logos:firebase'
}
Expand Down
2 changes: 1 addition & 1 deletion en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hero:
text: GitHub
link: https://github.com/SciSharp/BotSharp
image:
src: /BotSharp.gif
src: /botsharp.gif
alt: BotSharp

features:
Expand Down
Loading

0 comments on commit f4fc9c6

Please sign in to comment.