File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,10 @@ function groupEndpointsByPrefix(spec) {
40
40
}
41
41
42
42
function generateDocusaurusMarkdown ( spec , groupedEndpoints , prefix ) {
43
- let markdownContent = `---\nsidebar_label: ${ prefix . charAt ( 0 ) . toUpperCase ( ) + prefix . slice ( 1 ) } \n` ;
44
- markdownContent += `title: ${ prefix . charAt ( 0 ) . toUpperCase ( ) + prefix . slice ( 1 ) } \n---\n` ;
43
+ let markdownContent = `---\nsidebar_label: '${ prefix . charAt ( 0 ) . toUpperCase ( ) + prefix . slice ( 1 ) } '\n` ;
44
+ markdownContent += `title: '${ prefix . charAt ( 0 ) . toUpperCase ( ) + prefix . slice ( 1 ) } '\n` ;
45
+ markdownContent += `slug: /cloud/manage/api/${ prefix } -api-reference\n` ;
46
+ markdownContent += `description: 'Cloud API reference documentation for ${ prefix } '\n---\n` ;
45
47
46
48
for ( const path in groupedEndpoints ) {
47
49
for ( const method in groupedEndpoints [ path ] ) {
You can’t perform that action at this time.
0 commit comments