Skip to content

Latest commit

 

History

History
47 lines (45 loc) · 910 Bytes

readme.md

File metadata and controls

47 lines (45 loc) · 910 Bytes

SubIT Handbook

尝试成为社团的百宝书,一些知识库积累 一些资源积累 或许

Description

before all, run

npm install

First

to run this project

npm run docs:dev

build

npm run docs:build

preview

npm run docs:preview

Configurations

配置侧边栏

请在.vitepress/configComponents/sidebar.mjs创建对应的侧边栏,在.vitepress/config.mjsimport然后配置对应路径

Example

// configComponents/sidebar.mjs
export let developmentSidebar = [
    {
        text: '开发指南',
        items:[
            { text: 'Get Started', link: '/guide/development/starter' },
        ]
    }
]
// config.mjs
import { ..., developmentSidebar } from './configComponents/sidebar.mjs'
...
sidebar: {
    "/guide/study": examinationsSidebar,
    "/guide/development": developmentSidebar,
},
...