Add files via upload

This commit is contained in:
Feng Gao
2024-12-06 06:41:21 +08:00
committed by GitHub
parent 69e2cd44ae
commit 47759ce098
+96 -101
View File
@@ -1,101 +1,96 @@
import { defineConfig } from "vitepress"; import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config // https://vitepress.dev/reference/site-config
export default defineConfig({ export default defineConfig({
title: "爱特工作室(CCF海大学生分会)WIKI", title: "爱特工作室(CCF海大学生分会)WIKI",
description: "Wiki for ITStudio.", description: "Wiki for ITStudio.",
head: [["link", { rel: "icon", href: "/favicon.ico" }]], head: [["link", { rel: "icon", href: "/favicon.ico" }]],
lang: "zh-CN", lang: "zh-CN",
srcDir: "src", srcDir: "src",
themeConfig: { themeConfig: {
// https://vitepress.dev/reference/default-theme-config logo: "/logo.png",
logo: "/logo.png", siteTitle: "ITSTUDIO WIKI",
siteTitle: "ITSTUDIO WIKI", search: {
search: { provider: "local",
provider: "local", },
}, nav: [
nav: [ { text: "Home", link: "/" },
{ text: "Home", link: "/" }, { text: "Wiki", link: "/wiki/about/intro" }
{ text: "Wiki", link: "/wiki/about/intro" }, ],
{ text: "Contact", link: "/contact/contactus" },
], sidebar: {
"/wiki": [
sidebar: { // {
"/wiki": [ // text: "ITStudio Wiki",
// { // link: "/wiki",
// text: "ITStudio Wiki", // },
// link: "/wiki", {
// }, text: "团队介绍",
{ // link: "/wiki/about",
text: "团队介绍", items: [{ text: "爱特工作室简介", link: "/wiki/about/intro" }],
// link: "/wiki/about", },
items: [{ text: "爱特工作室简介", link: "/wiki/about/intro" }], {
}, text: "新闻公告",
{ // link: "/wiki/news",
text: "新闻公告", items: [
// link: "/wiki/news", {
items: [ text: "近期新闻",
{ link: "/wiki/news/recent-news",
text: "近期新闻", collapsed: false,
link: "/wiki/news/recent-news", items: [],
collapsed: false, },
items: [], {
}, text: "活动公告",
{ link: "/wiki/news/events",
text: "活动公告", collapsed: false,
link: "/wiki/news/events", items: [],
collapsed: false, },
items: [], ],
}, },
], {
}, text: "技术与专业领域",
{ // link: "/wiki/tech",
text: "技术与专业领域", items: [
// link: "/wiki/tech", {
items: [ text: "技术博客",
{ link: "/wiki/tech/blog",
text: "技术博客", collapsed: false,
link: "/wiki/tech/blog", items: [],
collapsed: false, },
items: [], {
}, text: "成员项目",
{ link: "/wiki/tech/projects",
text: "成员项目", collapsed: false,
link: "/wiki/tech/projects", items: [],
collapsed: false, },
items: [], ],
}, },
], {
}, text: "生活感悟",
{ link: "/wiki/life",
text: "生活与感悟", },
// link: "/wiki/life", {
items: [ text: "联系方式与友情链接",
{ items: [
text: "生活感悟", {
link: "/wiki/life/reflections", text: "联系方式",
collapsed: false, link: "/wiki/contact/contatusus",
items: [], collapsed: false,
}, items: [],
], },
}, {
], text: "友情链接",
"/contact": [ link: "/wiki/contact/link",
{ collapsed: false,
text: "联系我们", items: [],
// link: "/contact", },
items: [ ],
{ text: "联系方式", link: "/contact/contactus" }, },
{ text: "加入我们", link: "/contact/joinus" }, ],
{ text: "问题反馈", link: "/contact/feedback" }, },
], socialLinks: [
}, { icon: "googlehome", link: "https://www.itstudio.club/" },
], { icon: "github", link: "https://github.com/ITStudioOUC" },
}, ],
},
socialLinks: [ });
{ icon: "googlehome", link: "https://www.itstudio.club/" },
{ icon: "github", link: "https://github.com/ITStudioOUC" },
],
},
});