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