-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.docgenirc.js
88 lines (86 loc) · 1.63 KB
/
.docgenirc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/**
* @type {import('@docgeni/core').DocgeniLibrary[]}
*/
const docsLibs = [
{
name: 'ng-zorro-antd-extension',
abbrName: 'nzx',
rootDir: './components',
include: [],
exclude: '',
categories: [
{
id: 'component',
title: '组件',
locales: {
'en-us': {
title: 'Component',
},
},
},
{
id: 'directive',
title: '指令',
locales: {
'en-us': {
title: 'Directive',
},
},
},
{
id: 'pipe',
title: '管道',
locales: {
'en-us': {
title: 'Pipe',
},
},
},
{
id: 'util',
title: '工具函数',
locales: {
'en-us': {
title: 'Util',
},
},
},
],
},
];
/**
* @type {import('@docgeni/core').DocgeniConfig}
*/
module.exports = {
mode: "full",
theme: "angular",
switchTheme: true,
title: "ng-zorro-antd-extension",
description: "ng zorro 拓展包",
siteProjectName: "docs-site",
logoUrl: "assets/images/logo.png",
repoUrl: "https://github.com/EnochGao/ng-zorro-antd-extension",
footer:
'Open-source MIT Licensed | Copyright © 2022-present Powered by EnochGao',
navs: [
{
title: '组件',
path: 'components',
lib: 'ng-zorro-antd-extension',
locales: {
'en-us': {
title: 'Components',
},
},
},
],
libs: docsLibs,
locales: [
{
key: 'zh-cn',
name: '中文',
},
{ key: 'en-us', name: 'English' },
],
defaultLocale: 'zh-cn',
};