docusaurus-plugin-typedoc 0.18.0 → 1.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +300 -302
- package/dist/front-matter.d.ts +4 -0
- package/dist/front-matter.js +18 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/navigation.d.ts +13 -0
- package/dist/navigation.js +36 -0
- package/dist/options.d.ts +2 -2
- package/dist/options.js +40 -41
- package/dist/plugin.d.ts +6 -7
- package/dist/plugin.js +81 -81
- package/dist/render.d.ts +5 -5
- package/dist/render.js +90 -106
- package/dist/theme.d.ts +19 -26
- package/dist/theme.js +157 -194
- package/dist/types.d.ts +38 -39
- package/dist/types.js +2 -2
- package/package.json +39 -42
package/dist/theme.js
CHANGED
|
@@ -1,194 +1,157 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
-
__setModuleDefault(result, mod);
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.DocusaurusTheme = void 0;
|
|
33
|
-
const fs = __importStar(require("fs"));
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
this.listenTo(this.application.renderer, {
|
|
54
|
-
[typedoc_1.PageEvent.END]: this.onPageEnd,
|
|
55
|
-
[typedoc_1.RendererEvent.END]: this.onRendererEnd,
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
get globalsFile() {
|
|
161
|
-
return 'modules.md';
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
__decorate([
|
|
165
|
-
(0, typedoc_1.BindOption)('sidebar')
|
|
166
|
-
], DocusaurusTheme.prototype, "sidebar", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
(0, typedoc_1.BindOption)('readmeTitle')
|
|
169
|
-
], DocusaurusTheme.prototype, "readmeTitle", void 0);
|
|
170
|
-
__decorate([
|
|
171
|
-
(0, typedoc_1.BindOption)('indexSlug')
|
|
172
|
-
], DocusaurusTheme.prototype, "indexSlug", void 0);
|
|
173
|
-
__decorate([
|
|
174
|
-
(0, typedoc_1.BindOption)('includeExtension')
|
|
175
|
-
], DocusaurusTheme.prototype, "includeExtension", void 0);
|
|
176
|
-
__decorate([
|
|
177
|
-
(0, typedoc_1.BindOption)('frontmatter')
|
|
178
|
-
], DocusaurusTheme.prototype, "frontmatter", void 0);
|
|
179
|
-
exports.DocusaurusTheme = DocusaurusTheme;
|
|
180
|
-
const writeCategoryYaml = (categoryPath, label, position, collapsed) => {
|
|
181
|
-
const yaml = [`label: "${label}"`];
|
|
182
|
-
if (position !== null) {
|
|
183
|
-
yaml.push(`position: ${position}`);
|
|
184
|
-
}
|
|
185
|
-
if (!collapsed) {
|
|
186
|
-
yaml.push(`collapsed: false`);
|
|
187
|
-
}
|
|
188
|
-
if (fs.existsSync(categoryPath)) {
|
|
189
|
-
fs.writeFileSync(categoryPath + '/_category_.yml', yaml.join('\n'));
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
const groupUrlsByKind = (urls) => {
|
|
193
|
-
return urls.reduce((r, v, i, a, k = v.model.kind) => ((r[k] || (r[k] = [])).push(v), r), {});
|
|
194
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
+
if (mod && mod.__esModule) return mod;
|
|
26
|
+
var result = {};
|
|
27
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
+
__setModuleDefault(result, mod);
|
|
29
|
+
return result;
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.DocusaurusTheme = void 0;
|
|
33
|
+
const fs = __importStar(require("fs"));
|
|
34
|
+
const typedoc_1 = require("typedoc");
|
|
35
|
+
const typedoc_plugin_markdown_1 = require("typedoc-plugin-markdown");
|
|
36
|
+
const front_matter_1 = require("./front-matter");
|
|
37
|
+
const navigation_1 = require("./navigation");
|
|
38
|
+
class DocusaurusTheme extends typedoc_plugin_markdown_1.MarkdownTheme {
|
|
39
|
+
constructor(renderer) {
|
|
40
|
+
super(renderer);
|
|
41
|
+
this.writeCategoryYaml = (categoryPath, label, position, collapsed) => {
|
|
42
|
+
const yaml = [`label: "${label}"`];
|
|
43
|
+
if (position !== null) {
|
|
44
|
+
yaml.push(`position: ${position}`);
|
|
45
|
+
}
|
|
46
|
+
if (!collapsed) {
|
|
47
|
+
yaml.push(`collapsed: false`);
|
|
48
|
+
}
|
|
49
|
+
if (fs.existsSync(categoryPath)) {
|
|
50
|
+
fs.writeFileSync(categoryPath + '/_category_.yml', yaml.join('\n'));
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
this.listenTo(this.application.renderer, {
|
|
54
|
+
[typedoc_1.PageEvent.END]: this.onPageEnd,
|
|
55
|
+
[typedoc_1.RendererEvent.END]: this.onRendererEnd,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
onPageEnd(page) {
|
|
59
|
+
if (page.contents) {
|
|
60
|
+
page.contents = (0, front_matter_1.prependYAML)(page.contents.replace(/\\</g, '<'), this.getYamlItems(page));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
onRendererEnd(renderer) {
|
|
64
|
+
if (this.sidebar.autoConfiguration) {
|
|
65
|
+
this.writeCategoryYaml(renderer.outputDirectory, this.sidebar.categoryLabel, this.sidebar.position, this.sidebar.collapsed);
|
|
66
|
+
this.loopAndWriteCategories(renderer.outputDirectory);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
loopAndWriteCategories(path) {
|
|
70
|
+
const directory = fs.readdirSync(path);
|
|
71
|
+
directory.forEach((segment) => {
|
|
72
|
+
const fullPath = `${path}/${segment}`;
|
|
73
|
+
const isDirectory = fs.lstatSync(fullPath).isDirectory();
|
|
74
|
+
if (isDirectory) {
|
|
75
|
+
const mapping = Object.entries(this.mappings)
|
|
76
|
+
.filter((entry) => {
|
|
77
|
+
return entry[1].directory === segment;
|
|
78
|
+
})
|
|
79
|
+
.map((entry) => entry[1])[0];
|
|
80
|
+
if (mapping) {
|
|
81
|
+
this.writeCategoryYaml(fullPath, (0, navigation_1.getKindPlural)(mapping.kind), navigation_1.CATEGORY_POSITION[mapping.kind], true);
|
|
82
|
+
}
|
|
83
|
+
this.loopAndWriteCategories(fullPath);
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
getYamlItems(page) {
|
|
88
|
+
const sidebarLabel = this.getSidebarLabel(page);
|
|
89
|
+
const sidebarPosition = this.getSidebarPosition(page);
|
|
90
|
+
let items = {};
|
|
91
|
+
if (page.url === this.entryDocument && this.indexSlug) {
|
|
92
|
+
items = { ...items, slug: this.indexSlug };
|
|
93
|
+
}
|
|
94
|
+
if (this.sidebar.autoConfiguration) {
|
|
95
|
+
if (sidebarLabel) {
|
|
96
|
+
items = { ...items, sidebar_label: sidebarLabel };
|
|
97
|
+
}
|
|
98
|
+
if (sidebarPosition) {
|
|
99
|
+
items = { ...items, sidebar_position: parseFloat(sidebarPosition) };
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if (page.url === page.project.url && this.entryPoints.length > 1) {
|
|
103
|
+
items = { ...items, hide_table_of_contents: true };
|
|
104
|
+
}
|
|
105
|
+
items = { ...items, custom_edit_url: null };
|
|
106
|
+
if (this.frontmatter) {
|
|
107
|
+
items = { ...items, ...this.frontmatter };
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
...items,
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
getSidebarLabel(page) {
|
|
114
|
+
const indexLabel = this.sidebar.indexLabel ||
|
|
115
|
+
(this.entryPoints.length > 1 ? 'Table of Contents' : 'Exports');
|
|
116
|
+
if (page.url === this.entryDocument) {
|
|
117
|
+
return page.url === page.project.url
|
|
118
|
+
? indexLabel
|
|
119
|
+
: this.sidebar.readmeLabel;
|
|
120
|
+
}
|
|
121
|
+
if (page.url === this.globalsFile) {
|
|
122
|
+
return indexLabel;
|
|
123
|
+
}
|
|
124
|
+
return this.sidebar.fullNames ? page.model.getFullName() : page.model.name;
|
|
125
|
+
}
|
|
126
|
+
getSidebarPosition(page) {
|
|
127
|
+
if (page.url === this.entryDocument) {
|
|
128
|
+
return page.url === page.project.url ? '0.5' : '0';
|
|
129
|
+
}
|
|
130
|
+
if (page.url === this.globalsFile) {
|
|
131
|
+
return '0.5';
|
|
132
|
+
}
|
|
133
|
+
if (page.model.getFullName().split('.').length === 1) {
|
|
134
|
+
return '0';
|
|
135
|
+
}
|
|
136
|
+
return null;
|
|
137
|
+
}
|
|
138
|
+
get globalsFile() {
|
|
139
|
+
return 'modules.md';
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, typedoc_1.BindOption)('sidebar')
|
|
144
|
+
], DocusaurusTheme.prototype, "sidebar", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, typedoc_1.BindOption)('readmeTitle')
|
|
147
|
+
], DocusaurusTheme.prototype, "readmeTitle", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, typedoc_1.BindOption)('indexSlug')
|
|
150
|
+
], DocusaurusTheme.prototype, "indexSlug", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, typedoc_1.BindOption)('includeExtension')
|
|
153
|
+
], DocusaurusTheme.prototype, "includeExtension", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, typedoc_1.BindOption)('frontmatter')
|
|
156
|
+
], DocusaurusTheme.prototype, "frontmatter", void 0);
|
|
157
|
+
exports.DocusaurusTheme = DocusaurusTheme;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,39 +1,38 @@
|
|
|
1
|
-
export interface PluginOptions {
|
|
2
|
-
id: string;
|
|
3
|
-
docsRoot: string;
|
|
4
|
-
out: string;
|
|
5
|
-
sidebar: SidebarOptions;
|
|
6
|
-
readmeTitle?: string;
|
|
7
|
-
globalsTitle?: string;
|
|
8
|
-
plugin: string[];
|
|
9
|
-
readme?: string;
|
|
10
|
-
disableOutputCheck?: boolean;
|
|
11
|
-
cleanOutputDir?: boolean;
|
|
12
|
-
entryPoints?: string[];
|
|
13
|
-
watch: boolean;
|
|
14
|
-
hideInPageTOC: boolean;
|
|
15
|
-
hideBreadcrumbs: boolean;
|
|
16
|
-
hidePageTitle: boolean;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export type SidebarItem = SidebarCategory | string;
|
|
1
|
+
export interface PluginOptions {
|
|
2
|
+
id: string;
|
|
3
|
+
docsRoot: string;
|
|
4
|
+
out: string;
|
|
5
|
+
sidebar: SidebarOptions;
|
|
6
|
+
readmeTitle?: string;
|
|
7
|
+
globalsTitle?: string;
|
|
8
|
+
plugin: string[];
|
|
9
|
+
readme?: string;
|
|
10
|
+
disableOutputCheck?: boolean;
|
|
11
|
+
cleanOutputDir?: boolean;
|
|
12
|
+
entryPoints?: string[];
|
|
13
|
+
watch: boolean;
|
|
14
|
+
hideInPageTOC: boolean;
|
|
15
|
+
hideBreadcrumbs: boolean;
|
|
16
|
+
hidePageTitle: boolean;
|
|
17
|
+
entryDocument: string;
|
|
18
|
+
includeExtension?: boolean;
|
|
19
|
+
indexSlug?: string;
|
|
20
|
+
theme?: string;
|
|
21
|
+
frontmatter: FrontMatter;
|
|
22
|
+
}
|
|
23
|
+
export type FrontMatter = Record<string, string | boolean | number | null> | undefined;
|
|
24
|
+
export interface SidebarOptions {
|
|
25
|
+
fullNames?: boolean;
|
|
26
|
+
categoryLabel: string;
|
|
27
|
+
collapsed: boolean;
|
|
28
|
+
indexLabel?: string;
|
|
29
|
+
readmeLabel?: string;
|
|
30
|
+
position: number | null;
|
|
31
|
+
autoConfiguration: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface SidebarCategory {
|
|
34
|
+
type: string;
|
|
35
|
+
label: string;
|
|
36
|
+
items: SidebarItem[];
|
|
37
|
+
}
|
|
38
|
+
export type SidebarItem = SidebarCategory | string;
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
|
@@ -1,42 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "docusaurus-plugin-typedoc",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "A Docusaurus v2 plugin to build API documentation with TypeDoc.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist/"
|
|
8
|
-
],
|
|
9
|
-
"bugs": {
|
|
10
|
-
"url": "https://github.com/tgreyuk/typedoc-plugin-markdown/issues"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/tgreyuk/typedoc-plugin-markdown.git",
|
|
15
|
-
"directory": "packages/docusaurus-plugin-typedoc"
|
|
16
|
-
},
|
|
17
|
-
"homepage": "https://github.com/tgreyuk/typedoc-plugin-markdown/tree/master/packages/docusaurus-plugin-typedoc",
|
|
18
|
-
"peerDependencies": {
|
|
19
|
-
"typedoc": ">=0.23.0",
|
|
20
|
-
"typedoc-plugin-markdown": ">=
|
|
21
|
-
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"api"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "docusaurus-plugin-typedoc",
|
|
3
|
+
"version": "1.0.0-next.0",
|
|
4
|
+
"description": "A Docusaurus v2 plugin to build API documentation with TypeDoc.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/"
|
|
8
|
+
],
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/tgreyuk/typedoc-plugin-markdown/issues"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/tgreyuk/typedoc-plugin-markdown.git",
|
|
15
|
+
"directory": "packages/docusaurus-plugin-typedoc"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/tgreyuk/typedoc-plugin-markdown/tree/master/packages/docusaurus-plugin-typedoc",
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"typedoc": ">=0.23.0",
|
|
20
|
+
"typedoc-plugin-markdown": ">=4.0.0-next.0"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"lint": "eslint ./src --ext .ts",
|
|
24
|
+
"prepublishOnly": "npm run lint && npm run build && npm run test",
|
|
25
|
+
"build": "rm -rf ./dist && tsc",
|
|
26
|
+
"build-and-test": "npm run build && npm run test",
|
|
27
|
+
"test": "jest --colors"
|
|
28
|
+
},
|
|
29
|
+
"author": "Thomas Grey",
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"keywords": [
|
|
32
|
+
"docusaurus",
|
|
33
|
+
"typedoc",
|
|
34
|
+
"plugin",
|
|
35
|
+
"markdown",
|
|
36
|
+
"typescript",
|
|
37
|
+
"api"
|
|
38
|
+
]
|
|
39
|
+
}
|