File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ deploy_key
5959jsdocs /
6060site /
6161
62- # Needed for packages/server # Custom files
63- ! packages /** /test /fixtures /** /node_modules
62+ # Needed for packages/server
63+ ! packages /** /test /fixtures /** /node_modules
6464
65- # Documentation
65+ # Documentation
6666packages /documentation /docs /pages /CLI.md
6767packages /documentation /.vitepress /dist
6868packages /documentation /.vitepress /cache
69- packages /documentation /dist
69+ packages /documentation /dist
Original file line number Diff line number Diff line change 1818
1919## Resources
2020
21- - [ Documentation] ( https://ui5.github.io/cli/v4 / )
22- - [ API Reference] ( https://ui5.github.io/cli/v4 /api/ )
23- - [ CLI Documentation] ( https://ui5.github.io/cli/v4 /pages/CLI/ )
24- - [ Project Configuration] ( https://ui5.github.io/cli/v4 /pages/Configuration/ )
21+ - [ Documentation] ( https://ui5.github.io/cli/stable / )
22+ - [ API Reference] ( https://ui5.github.io/cli/stable /api/ )
23+ - [ CLI Documentation] ( https://ui5.github.io/cli/stable /pages/CLI/ )
24+ - [ Project Configuration] ( https://ui5.github.io/cli/stable /pages/Configuration/ )
2525- 🎬 [ UI5con@SAP 2020 Talk] ( https://www.youtube.com/watch?v=8IHoVJLKN34 )
2626- 🎬 [ UI5con@SAP 2018 Talk] ( https://www.youtube.com/watch?v=iQ07oe26y_k )
2727- [ Contribution Guidelines] ( https://github.com/UI5/cli/blob/main/CONTRIBUTING.md )
Original file line number Diff line number Diff line change @@ -183,7 +183,10 @@ function generateDoc() {
183183 . split ( "<" ) . join ( "<" )
184184 . split ( ">" ) . join ( ">" )
185185 // Escape <option> as it's considered HTML tag to prevent rendering issues
186- . replaceAll ( "<option>" , "<option>" ) ;
186+ . replaceAll ( "<option>" , "<option>" )
187+ // Wrap standalone URLs in backticks to prevent VitePress from treating them as live links
188+ // Only target URLs that are not already in markdown link syntax [text](url)
189+ . replace ( / (?< ! \( ) ( h t t p s ? : \/ \/ [ ^ \s ) ] + ) (? ! \) ) / g, "`$1`" ) ;
187190 content = content . split ( "=" ) . join ( "=" ) ;
188191 try {
189192 writeFileSync ( "./packages/documentation/docs/pages/CLI.md" , content ) ;
You can’t perform that action at this time.
0 commit comments