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 @@ -118,7 +118,7 @@ export async function buildSnippets(languages: Language[]): Promise<void> {
118
118
export async function buildGuides ( languages : Language [ ] ) : Promise < void > {
119
119
await Promise . all (
120
120
languages . map ( ( lang ) => {
121
- if ( ! existsSync ( toAbsolutePath ( `guides/${ lang } ` ) ) ) {
121
+ if ( ! existsSync ( toAbsolutePath ( `docs/ guides/${ lang } ` ) ) ) {
122
122
return Promise . resolve ( ) ;
123
123
}
124
124
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ async function pushToAlgoliaDoc(): Promise<void> {
51
51
await run ( `cp ${ toAbsolutePath ( 'specs/major-breaking-changes-rename.json' ) } ${ pathToSpecs } ` ) ;
52
52
await run ( `cp ${ toAbsolutePath ( 'specs/bundled/*.doc.yml' ) } ${ pathToSpecs } ` ) ;
53
53
await run ( `cp ${ toAbsolutePath ( 'config/clients.config.json' ) } ${ pathToSpecs } ` ) ;
54
- await run ( `cp ${ toAbsolutePath ( 'guides /*.json' ) } ${ pathToSpecs } ` ) ;
54
+ await run ( `cp ${ toAbsolutePath ( 'docs/bundled /*.json' ) } ${ pathToSpecs } ` ) ;
55
55
// add block extension ban words like `analytics` so we use a different file name just so the doc dans render it
56
56
await run ( `mv ${ pathToSpecs } /analytics.doc.yml ${ pathToSpecs } /searchstats.doc.yml` ) ;
57
57
You can’t perform that action at this time.
0 commit comments