File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,12 @@ const { api: apiType, source: sourceFile } = yargs
39
39
. version ( false )
40
40
. help ( ) . argv ;
41
41
42
- const docPath = path . resolve ( `${ __dirname } /html/${ apiType } ` ) ;
42
+ const destinationDir = apiType === 'js' ? 'js/v8' : apiType ;
43
+ const docPath = path . resolve ( `${ __dirname } /html/${ destinationDir } ` ) ;
43
44
const contentPath = path . resolve ( `${ __dirname } /content-sources/${ apiType } ` ) ;
44
45
const tempHomePath = path . resolve ( `${ contentPath } /HOME_TEMP.md` ) ;
45
46
const tempNodeSourcePath = path . resolve ( `${ __dirname } /index.node.d.ts` ) ;
46
- const devsitePath = `/docs/reference/${ apiType } /` ;
47
+ const devsitePath = `/docs/reference/${ destinationDir } /` ;
47
48
48
49
/**
49
50
* Strips path prefix and returns only filename.
You can’t perform that action at this time.
0 commit comments