File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ async function pushToAlgoliaDoc(): Promise<void> {
5151 await run ( `cp ${ toAbsolutePath ( 'specs/major-breaking-changes-rename.json' ) } ${ pathToSpecs } ` ) ;
5252 await run ( `cp ${ toAbsolutePath ( 'specs/bundled/*.doc.yml' ) } ${ pathToSpecs } ` ) ;
5353 await run ( `cp ${ toAbsolutePath ( 'config/clients.config.json' ) } ${ pathToSpecs } ` ) ;
54- await run ( `cp ${ toAbsolutePath ( 'snippets/ guides/*.json' ) } ${ pathToSpecs } ` ) ;
54+ await run ( `cp ${ toAbsolutePath ( 'guides/*.json' ) } ${ pathToSpecs } ` ) ;
5555 // add block extension ban words like `analytics` so we use a different file name just so the doc dans render it
5656 await run ( `mv ${ pathToSpecs } /analytics.doc.yml ${ pathToSpecs } /searchstats.doc.yml` ) ;
5757
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export async function transformBundle({
6464
6565 if ( docs ) {
6666 const snippets = transformCodeSamplesToGuideMethods ( JSON . parse ( JSON . stringify ( snippetSamples ) ) ) ;
67- await fsp . writeFile ( toAbsolutePath ( `snippets/ guides/${ clientName } -snippets.json` ) , snippets ) ;
67+ await fsp . writeFile ( toAbsolutePath ( `guides/${ clientName } -snippets.json` ) , snippets ) ;
6868 }
6969
7070 for ( const [ pathKey , pathMethods ] of Object . entries ( bundledSpec . paths ) ) {
You can’t perform that action at this time.
0 commit comments