mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
feat(docgen): support for ignore tag
This commit is contained in:
@@ -61,6 +61,7 @@ export class Documentation {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let items = data as RootTypes[];
|
let items = data as RootTypes[];
|
||||||
|
items = items.filter((i) => !i.ignore);
|
||||||
|
|
||||||
for (const item of items) {
|
for (const item of items) {
|
||||||
switch (item.kind) {
|
switch (item.kind) {
|
||||||
|
|||||||
@@ -5,4 +5,5 @@ export interface Item {
|
|||||||
kind: string;
|
kind: string;
|
||||||
description: string;
|
description: string;
|
||||||
order: number;
|
order: number;
|
||||||
|
ignore?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user