Skip to content

Commit

Permalink
docs: 📚更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
llq0802 committed Dec 22, 2024
1 parent ecf1ada commit f29a158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ const configs = defineConfig({
// favicon: 'https://llq0802.github.io/180x180.png',
favicon: isDev ? '/lighting-design.png' : '/lighting-design/lighting-design.png',
logo: isDev ? '/lighting-design.png' : '/lighting-design/lighting-design-192x192.png',
outputPath: 'docs-dist',
outputPath: 'latest',
mode: 'site',
// 单语言配置方式如下
navs: [
null, // null 值代表保留约定式生成的导航,只做增量配置
{
title: 'GitHub',
path: 'https://github.com/llq0802/lighting-design',
path: 'https://github.com/llq0802/lighting-design/latest',
},
],
menus,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"build:watch": "father dev",
"dev": "dumi dev --port=5173",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d latest",
"doctor": "father doctor",
"lint": "npm run lint:es && npm run lint:css",
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
Expand Down

0 comments on commit f29a158

Please sign in to comment.