Skip to content

Commit

Permalink
Update gen-theme-reference.js
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan committed Feb 20, 2023
1 parent 176764c commit b880fc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/api-docs/gen-theme-reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ autogen += '## customTemplates' + '\n\n';
autogen += themejson.properties.customTemplates.description + '\n';
autogen +=
'Type: `' + themejson.properties.customTemplates.items.type + '`.\n\n';
const ctSections = keys( customTemplates );
ctSections.forEach( ( key ) => {
keys( customTemplates ).forEach( ( key ) => {
autogen += '`' + key + '`: ';
autogen += customTemplates[ key ].description + ' ';
autogen += 'Type: `' + customTemplates[ key ].type + '`.\n';
Expand Down

0 comments on commit b880fc9

Please sign in to comment.