-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtypedoc.config.js
More file actions
61 lines (60 loc) · 2.03 KB
/
Copy pathtypedoc.config.js
File metadata and controls
61 lines (60 loc) · 2.03 KB
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
import taskLists from "markdown-it-task-lists";
export default {
$schema: "https://typedoc.org/schema.json",
entryPoints: ["./src"],
readme: "files/index.md",
entryPointStrategy: "resolve",
navigationLinks: {
Benchmark: "https://tbela99.github.io/css-parser/benchmark/index.html",
Docs: "https://tbela99.github.io/css-parser/docs/",
Playground: "https://tbela99.github.io/css-parser/playground/",
GitHub: "https://github.com/tbela99/css-parser",
},
plugin: ["typedoc-unhoax-theme", "typedoc-plugin-coverage", "typedoc-plugin-redirect"],
redirects: {
"documents/Guide.html": "documents/Guide.Getting_started.html",
},
coverageOutputType: "all",
out: "docs",
// Inject the checkbox parser into TypeDoc's markdown engine
markdownItLoader(parser) {
parser.use(taskLists, {
enabled: false, // Set to true if you want users to be able to toggle checkboxes on the web page
label: true, // Wraps the item text in a <label> element for better accessibility
labelAfter: false, // Place the checkbox after the item
});
},
projectDocuments: ["files/index.md"],
groupOrder: ["Functions", "Classes", "TypeAlias", "Enumerations", "*"],
categoryOrder: ["Functions", "Classes", "TypeAlias", "Enumerations", "*"],
kindSortOrder: [
"Document",
"Project",
"Module",
"Namespace",
"Function",
"Class",
"Constructor",
"Property",
"Variable",
"Accessor",
"Method",
"Parameter",
"TypeParameter",
"TypeLiteral",
"CallSignature",
"ConstructorSignature",
"IndexSignature",
"GetSignature",
"SetSignature",
"Enum",
"EnumMember",
"TypeAlias",
"Interface",
"Reference",
],
json: "docs/typedoc.json",
customCss: "./files/assets/typedoc-custom.css",
customJs: ["./files/assets/typedoc-custom.js"],
coverageLabel: "documentation",
};