File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
showcases/patternhub/scripts Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,12 @@ We're providing a detailed migration for each component next to the documentatio
9292
9393Check our migration docs for breaking changes:
9494
95- 1 . [ Alpha ➡ Beta] ( https://github.com/db-ux-design-system/core-web/tree /main/docs/migration/alpha-beta.md ) (0.0.x➡0.x.x)
96- 2 . [ v0.2 ➡ v0.3] ( https://github.com/db-ux-design-system/core-web/tree /main/docs/migration/v0.2.x-to-v0.3.x.md )
97- 3 . [ v0.3 ➡ v0.4] ( https://github.com/db-ux-design-system/core-web/tree /main/docs/migration/v0.3.x-to-v0.4.x.md )
95+ 1 . [ Alpha ➡ Beta] ( https://github.com/db-ux-design-system/core-web/blob /main/docs/migration/alpha-beta.md ) (0.0.x➡0.x.x)
96+ 2 . [ v0.2 ➡ v0.3] ( https://github.com/db-ux-design-system/core-web/blob /main/docs/migration/v0.2.x-to-v0.3.x.md )
97+ 3 . [ v0.3 ➡ v0.4] ( https://github.com/db-ux-design-system/core-web/blob /main/docs/migration/v0.3.x-to-v0.4.x.md )
98984 . v0.4 ➡ v0.5: no migration needed, no breaking changes
99- 5 . [ v0.5 ➡ v0.6] ( https://github.com/db-ux-design-system/core-web/tree /main/docs/migration/v0.5.x-to-v0.6.x.md )
100- 6 . [ v0.6 ➡ v0.7] ( https://github.com/db-ux-design-system/core-web/tree /main/docs/migration/v0.6.x-to-v0.7.x.md )
99+ 5 . [ v0.5 ➡ v0.6] ( https://github.com/db-ux-design-system/core-web/blob /main/docs/migration/v0.5.x-to-v0.6.x.md )
100+ 6 . [ v0.6 ➡ v0.7] ( https://github.com/db-ux-design-system/core-web/blob /main/docs/migration/v0.6.x-to-v0.7.x.md )
1011017 . [ v0.7 ➡ v1.0] ( https://github.com/db-ux-design-system/core-web/blob/main/docs/migration/v0.7.x-to-v1.0.0.md )
1021028 . [ v1.x ➡ v2.0] ( https://github.com/db-ux-design-system/core-web/blob/main/docs/migration/v1.x.x-to-v2.0.0.md )
103103
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { visit } from 'unist-util-visit';
33export default function transformLinks ( ) {
44 return ( tree ) => {
55 visit ( tree , 'link' , ( node ) => {
6- if ( node . url . endsWith ( '.md' ) ) {
6+ if ( node . url . endsWith ( '.md' ) && ! node . url . startsWith ( 'https://' ) ) {
77 // Remove the .md extension from the URL and transform it from camelCase to kebab-case
88 // e.g. `customIcons.md` -> `custom-icons`
99 // This is necessary to match the URL of the page generated by Next.js
You can’t perform that action at this time.
0 commit comments