29 lines
770 B
TypeScript
29 lines
770 B
TypeScript
import { defineConfig } from 'vitepress';
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
export default defineConfig({
|
|
title: 'axios-miniprogram',
|
|
description: '基于 Promise 的 HTTP 请求库,适用于各大小程序平台。',
|
|
themeConfig: {
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
nav: [
|
|
{ text: 'Home', link: '/' },
|
|
{ text: 'Examples', link: '/markdown-examples' },
|
|
],
|
|
|
|
sidebar: [
|
|
{
|
|
text: 'Examples',
|
|
items: [
|
|
{ text: 'Markdown Examples', link: '/markdown-examples' },
|
|
{ text: 'Runtime API Examples', link: '/api-examples' },
|
|
],
|
|
},
|
|
],
|
|
|
|
socialLinks: [
|
|
{ icon: 'github', link: 'https://github.com/zjx0905/axios-miniprogram' },
|
|
],
|
|
},
|
|
});
|