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) {
4040}
4141
4242function 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` ;
4547
4648 for ( const path in groupedEndpoints ) {
4749 for ( const method in groupedEndpoints [ path ] ) {
You can’t perform that action at this time.
0 commit comments