File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
packages/documentation/docs/pages Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ ui5 config
180180
181181| Command | Description |
182182| --- | --- |
183- | ui5 config set < option > [ value] | Set the value for a given configuration option. Clear an existing configuration by omitting the value |
184- | ui5 config get < option > | Get the value for a given configuration option |
183+ | ui5 config set & lt ; option& gt ; [ value] | Set the value for a given configuration option. Clear an existing configuration by omitting the value |
184+ | ui5 config get & lt ; option& gt ; | Get the value for a given configuration option |
185185| ui5 config list | Display the current configuration |
186186
187187
Original file line number Diff line number Diff line change @@ -179,15 +179,19 @@ function generateDoc() {
179179 commands : commandsArray
180180 } ) ;
181181
182- content = content . split ( "<" ) . join ( "<" ) . split ( ">" ) . join ( ">" ) ;
182+ content = content
183+ . split ( "<" ) . join ( "<" )
184+ . split ( ">" ) . join ( ">" )
185+ // Escape <option> as it's considered HTML tag to prevent rendering issues
186+ . replaceAll ( "<option>" , "<option>" ) ;
183187 content = content . split ( "=" ) . join ( "=" ) ;
184188 try {
185189 writeFileSync ( "./packages/documentation/docs/pages/CLI.md" , content ) ;
186190 } catch ( err ) {
187191 console . error ( `Failed to generate docs/pages/CLI.md: ${ err . message } .` ) ;
188192 throw err ;
189193 }
190- console . log ( "Generated docs/pages/CLI.md" ) ;
194+ console . log ( "Generated packages/documentation/ docs/pages/CLI.md" ) ;
191195}
192196
193197function splitString ( temp ) {
You can’t perform that action at this time.
0 commit comments