Visit root directory,add in md
files and edit them based on Markdown format. You can also refer to Vitepress Documentation to learn more.
- Install node
- Go to the root directory,
npm install
to install all the dependency - Run
npm run docs:dev
under root directory to start the service
Save images to /public
folder, and accesss them via ![](/xxx.png)
in the Markdown files.
Visit .vitepress
directory and look for config.mts
file, find sidebarService
functions.
[
// Each object represents one group
{
// group title
text: 'Introduction',
collapsible: true,
// multiple timers under each group
items: [
{ text: 'getting-started', link: '/service/getting-started' },
]
}
]
To understand the meaning of each parameter, just preview the docs