-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kongjing
committed
Apr 13, 2023
1 parent
030e0e1
commit b251f60
Showing
29 changed files
with
302 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { join } from 'path' | ||
import { defineConfig, IDocMenuNavs } from '@antmjs/types' | ||
|
||
const CWD = process.cwd() | ||
|
||
export default defineConfig({ | ||
warning: { | ||
monitorFiles: [ | ||
'./packages/[!node_modules]**/package.json', | ||
'./package.json', | ||
], | ||
webhooks: { | ||
url: 'https://oapi.dingtalk.com/robot/send?access_token=c2ca61d59a4e22f5d60b8d841494ab5ab570ec190accb16bbee10562092c8fe8', | ||
}, | ||
}, | ||
docs: { | ||
title: 'antmjs', | ||
src: join(CWD, './packages'), | ||
route: { | ||
exclude: [join(CWD, './packages/doc/*'), join(CWD, './packages/types/*')], | ||
}, | ||
menu: getMenus(), | ||
}, | ||
}) | ||
|
||
function getMenus(): IDocMenuNavs { | ||
return [ | ||
{ | ||
name: '使用指南', | ||
items: [ | ||
{ | ||
path: 'introduce', | ||
title: '介绍', | ||
}, | ||
], | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"target": "ES5", | ||
"module": "commonjs", | ||
"baseUrl": "./", | ||
"noEmit": true, | ||
"skipLibCheck": false | ||
"skipLibCheck": false, | ||
"resolveJsonModule": true | ||
}, | ||
"include": ["*.js", "*.ts", "*.tsx"] | ||
} |
Oops, something went wrong.