Skip to content

Commit 430ce12

Browse files
committed
call them Properties instead of types as aws does
1 parent bfc9d5d commit 430ce12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fetchDocsToc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function identifyDocType(tocItem: TocItem): string {
6262
if ( tocItem.href.startsWith('AWS_') ) {
6363
docType = 'Service'
6464
} else if ( tocItem.href.startsWith('aws-properties-') ) {
65-
docType = 'Type'
65+
docType = 'Property'
6666
} else if ( tocItem.href.startsWith('aws-resource-') ) {
6767
docType = 'Resource'
6868
} else if (tocItem.href.startsWith('aws-attribute-')) {
@@ -78,7 +78,7 @@ export function identifyDocType(tocItem: TocItem): string {
7878
} else if ( tocItem.href.startsWith('Alexa_') ) {
7979
docType ='Service'
8080
} else if (tocItem.href.startsWith('alexa-properties-')) {
81-
docType = 'Type'
81+
docType = 'Property'
8282
} else if (tocItem.href.startsWith('alexa-resource-')) {
8383
docType = 'Resource'
8484
} else if ( tocItem.href == 'aws-template-resource-type-ref.html' ) {

0 commit comments

Comments
 (0)