From e771b339398fc23658642f14500d107255738e81 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Wed, 19 Apr 2023 22:11:04 -0500 Subject: [PATCH] Give decorators their own folder --- profectus-theme/theme.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profectus-theme/theme.ts b/profectus-theme/theme.ts index 581f64c6..97feabec 100644 --- a/profectus-theme/theme.ts +++ b/profectus-theme/theme.ts @@ -83,7 +83,7 @@ export class ProfectusTheme extends MarkdownTheme { toUrl(mapping: any, reflection: DeclarationReflection) { let name = reflection.getFullName(); - if (name.match(/features\/.*\/.*/) != null && !name.includes("/tabs/")) { + if (name.match(/features\/.*\/.*/) != null && !name.includes("/tabs/") && !name.includes("/decorators/")) { name = name.replace(/features\/.*\/(.*)/, "features/$1"); } return `${mapping.directory}/${name}.md`;