mirror of
https://github.com/timeshiftsauce/CeruMusic.git
synced 2025-11-25 03:15:07 +08:00
89 lines
2.8 KiB
TypeScript
89 lines
2.8 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
||
import note from 'markdown-it-footnote'
|
||
|
||
export default defineConfig({
|
||
lang: 'zh-CN',
|
||
title: 'Ceru Music',
|
||
base: '/',
|
||
head: [
|
||
['link', { rel: 'icon', href: '/logo.svg' }],
|
||
['meta', { name: 'author', href: '时迁酱,无聊的霜霜,star' }],
|
||
['meta', { name: 'keywords', content: 'Ceru Music,音乐播放器,音乐播放器工具,音乐播放器软件,音乐播放器下载,音乐播放器下载地址,澜音播放器,免费的音乐播放器,cerumusic,时迁酱,周晨鹭,无聊的霜霜,star,洛雪音乐,洛雪'}]
|
||
],
|
||
description:
|
||
'Ceru Music 是基于 Electron 和 Vue 开发的跨平台桌面音乐播放器工具,一个跨平台的音乐播放器应用,支持基于合规插件获取公开音乐信息与播放功能。',
|
||
markdown: {
|
||
config(md) {
|
||
md.use(note)
|
||
}
|
||
},
|
||
themeConfig: {
|
||
returnToTopLabel: '返回顶部',
|
||
// https://vitepress.dev/reference/default-theme-config
|
||
logo: '/logo.svg',
|
||
nav: [
|
||
{ text: '首页', link: '/' },
|
||
{ text: '使用文档', link: '/guide/' }
|
||
],
|
||
|
||
sidebar: [
|
||
{
|
||
text: 'CeruMusic',
|
||
items: [
|
||
{ text: '安装教程', link: '/guide/' },
|
||
{
|
||
text: '使用教程',
|
||
items: [{ text: '音乐播放列表', link: '/guide/used/playList' }]
|
||
},
|
||
{ text: '更新日志', link: '/guide/updateLog' },
|
||
{ text: '更新计划', link: '/guide/update' }
|
||
]
|
||
},
|
||
{
|
||
text: '澜音&插件',
|
||
items: [
|
||
{ text: '插件类使用', link: '/guide/CeruMusicPluginHost' },
|
||
{ text: '澜音插件开发文档(重点)', link: '/guide/CeruMusicPluginDev' }
|
||
]
|
||
},
|
||
{
|
||
text: '鸣谢名单',
|
||
link: '/guide/sponsorship'
|
||
}
|
||
],
|
||
|
||
socialLinks: [
|
||
{ icon: 'github', link: 'https://github.com/timeshiftsauce/CeruMusic' },
|
||
{ icon: 'gitee', link: 'https://gitee.com/sqjcode/CeruMuisc' },
|
||
{ icon: 'qq', link: 'https://qm.qq.com/q/IDpQnbGd06' },
|
||
{ icon: 'beatsbydre', link: 'https://shiqianjiang.cn' },
|
||
{ icon: 'bilibili', link: 'https://space.bilibili.com/696709986' }
|
||
],
|
||
footer: {
|
||
message: 'Released under the Apache License 2.0 License.',
|
||
copyright: `Copyright © 2025-${new Date().getFullYear()} 时迁酱`
|
||
},
|
||
editLink: {
|
||
pattern: 'https://github.com/timeshiftsauce/CeruMusic/edit/main/docs/:path'
|
||
},
|
||
search: {
|
||
provider: 'local'
|
||
},
|
||
outline: {
|
||
level: [2, 4],
|
||
label: '文章导航'
|
||
},
|
||
docFooter: {
|
||
next: '下一篇',
|
||
prev: '上一篇'
|
||
},
|
||
lastUpdatedText: '上次更新'
|
||
},
|
||
sitemap: {
|
||
hostname: 'https://ceru.docs.shiqianjiang.cn'
|
||
},
|
||
lastUpdated: true
|
||
})
|
||
console.log(process.env.BASE_URL_DOCS)
|
||
// Smooth scrolling functions
|