File tree 2 files changed +11
-6
lines changed
2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 472
472
path : /docs/reference/js/vertexai-preview.date_2.md
473
473
- title : EnhancedGenerateContentResponse
474
474
path : /docs/reference/js/vertexai-preview.enhancedgeneratecontentresponse.md
475
- - title : ErrorDetails
476
- path : /docs/reference/js/vertexai-preview.errordetails.md
477
475
- title : FileData
478
476
path : /docs/reference/js/vertexai-preview.filedata.md
479
477
- title : FileDataPart
517
515
path : /docs/reference/js/vertexai-preview.groundingattribution.md
518
516
- title : GroundingMetadata
519
517
path : /docs/reference/js/vertexai-preview.groundingmetadata.md
520
- - title : HTTPErrorDetails
521
- path : /docs/reference/js/vertexai-preview.httperrordetails.md
522
518
- title : InlineDataPart
523
519
path : /docs/reference/js/vertexai-preview.inlinedatapart.md
524
520
- title : ModelParams
545
541
path : /docs/reference/js/vertexai-preview.usagemetadata.md
546
542
- title : VertexAI
547
543
path : /docs/reference/js/vertexai-preview.vertexai.md
548
- - title : VertexAIError
549
- path : /docs/reference/js/vertexai-preview.vertexaierror.md
550
544
- title : VertexAIOptions
551
545
path : /docs/reference/js/vertexai-preview.vertexaioptions.md
552
546
- title : VideoMetadata
Original file line number Diff line number Diff line change @@ -152,12 +152,23 @@ async function generateToc() {
152
152
'toc' ,
153
153
'--input' ,
154
154
'temp' ,
155
+ '--output' ,
156
+ 'docs-devsite' ,
155
157
'-p' ,
156
158
'/docs/reference/js' ,
157
159
'-j'
158
160
] ,
159
161
{ stdio : 'inherit' }
160
162
) ;
163
+ // The toc on the devsite must be named _toc.yaml
164
+ await spawn (
165
+ 'mv' ,
166
+ [
167
+ 'docs-devsite/toc.yaml' ,
168
+ 'docs-devsite/_toc.yaml'
169
+ ] ,
170
+ { stdio : 'inherit' }
171
+ ) ;
161
172
} finally {
162
173
cleanup ( ) ;
163
174
}
You can’t perform that action at this time.
0 commit comments