@yunyoujun/docs / node / getVitepressConfig
Function: getVitepressConfig()
getVitepressConfig(
options):UserConfig
Defined in: node/config/vitepress.ts:69
获取默认配置
- 例如:
- 当传入
repo时,默认设置editLink和socialLinks editLink为 repo +/edit/main/docs/:path
Parameters
options
repo?
string
Returns
UserConfig