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
92
92
93
93
Check our migration docs for breaking changes:
94
94
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 )
98
98
4 . 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 )
101
101
7 . [ 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 )
102
102
8 . [ 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 )
103
103
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { visit } from 'unist-util-visit';
3
3
export default function transformLinks ( ) {
4
4
return ( tree ) => {
5
5
visit ( tree , 'link' , ( node ) => {
6
- if ( node . url . endsWith ( '.md' ) ) {
6
+ if ( node . url . endsWith ( '.md' ) && ! node . url . startsWith ( 'https://' ) ) {
7
7
// Remove the .md extension from the URL and transform it from camelCase to kebab-case
8
8
// e.g. `customIcons.md` -> `custom-icons`
9
9
// 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