跳至内容

@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

v0.1.14