Skip to content

Commit

Permalink
call them Properties instead of types as aws does
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Nov 4, 2024
1 parent bfc9d5d commit 430ce12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fetchDocsToc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function identifyDocType(tocItem: TocItem): string {
if ( tocItem.href.startsWith('AWS_') ) {
docType = 'Service'
} else if ( tocItem.href.startsWith('aws-properties-') ) {
docType = 'Type'
docType = 'Property'
} else if ( tocItem.href.startsWith('aws-resource-') ) {
docType = 'Resource'
} else if (tocItem.href.startsWith('aws-attribute-')) {
Expand All @@ -78,7 +78,7 @@ export function identifyDocType(tocItem: TocItem): string {
} else if ( tocItem.href.startsWith('Alexa_') ) {
docType ='Service'
} else if (tocItem.href.startsWith('alexa-properties-')) {
docType = 'Type'
docType = 'Property'
} else if (tocItem.href.startsWith('alexa-resource-')) {
docType = 'Resource'
} else if ( tocItem.href == 'aws-template-resource-type-ref.html' ) {
Expand Down

0 comments on commit 430ce12

Please sign in to comment.