Give decorators their own folder

This commit is contained in:
thepaperpilot 2023-04-19 22:11:04 -05:00
parent 11a8a4b837
commit e771b33939

View file

@ -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`;