Skip to content

Commit b350922

Browse files
committed
chore: update to madwizard 0.9.0
This includes the breaking change from madwizard: guidebook relative imports now need to use a `./` or `../` prefix to indicate that they are relative (rather than store-absolute) references.
1 parent df1bc3a commit b350922

27 files changed

+158
-60
lines changed

package-lock.json

Lines changed: 106 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/plugin-madwizard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"madwizard": "^0.8.12"
26+
"madwizard": "^0.9.0"
2727
}
2828
}

tests/plugin-madwizard/markdowns/guidebook-tree-model1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
imports:
3-
- snippets-in-tab3.md
3+
- ./snippets/snippets-in-tab3.md
44
---
55

66
<!-- You should see a tree view. This is the Imports.tsx component -->

tests/plugin-madwizard/markdowns/guidebook-tree-model2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
imports:
3-
- snippets-in-tab4.md
3+
- ./snippets/snippets-in-tab4.md
44
---
55

66
<!-- You should see a tree view. This is the Imports.tsx component -->

tests/plugin-madwizard/markdowns/guidebook-tree-model3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
imports:
3-
- snippets-in-tab5.md
3+
- ./snippets/snippets-in-tab5.md
44
---
55

66
<!-- You should see a tree view. This is the Imports.tsx component -->

tests/plugin-madwizard/markdowns/guidebook-tree-model4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
imports:
3-
- importd.md
4-
- snippets-in-tab5.md
3+
- ./snippets/importd.md
4+
- ./snippets/snippets-in-tab5.md
55
---
66

77
<!-- You should see a tree view. This is the Imports.tsx component -->
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
imports:
3-
- snippets-in-tab6.md
3+
- ./snippets/snippets-in-tab6.md
44
---
55

66
::imports
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
imports:
3-
- importg.md
4-
- importa.md
5-
- importd.md
3+
- ./snippets/importg.md
4+
- ./snippets/importa.md
5+
- ./snippets/importd.md
66
---
77

88
::imports
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
imports:
3-
- importgg.md
4-
- importaa.md
5-
- importdd.md
3+
- ./snippets/importgg.md
4+
- ./snippets/importaa.md
5+
- ./snippets/importdd.md
66
---
77

88
::imports
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{% include "importa.md" %}
1+
{% include "./importa.md" %}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# DDD
22

33
=== "SubTab1"
4-
--8<-- "importa.md"
5-
--8<-- "importa.md"
6-
--8<-- "importa.md"
4+
--8<-- "./importa.md"
5+
--8<-- "./importa.md"
6+
--8<-- "./importa.md"
77

88
=== "SubTab2"
9-
--8<-- "importb.md"
9+
--8<-- "./importb.md"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{% include "importd.md" %}
1+
{% include "./importd.md" %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
imports:
3-
- importd.md
3+
- ./importd.md
44
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{% include "importg.md" %}
1+
{% include "./importg.md" %}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
AAA
22

3-
--8<-- "importa.md"
3+
--8<-- "./importa.md"
44

55
=== "Tab1"
6-
--8<-- "snippets-in-tab0a.md"
6+
--8<-- "./snippets-in-tab0a.md"
77

88
=== "Tab2"
9-
--8<-- "snippets-in-tab0b.md"
9+
--8<-- "./snippets-in-tab0b.md"
1010

1111
DDD
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
BBB
22

3-
--8<-- "importb.md"
3+
--8<-- "./importb.md"
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--8<-- "importc.md"
1+
--8<-- "./importc.md"
22

33
???+ tip "TipTitle"
44
TipContent

tests/plugin-madwizard/markdowns/snippets/snippets-in-tab1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout:
33
1: right
44
imports:
5-
- importa.md
5+
- ./importa.md
66
---
77

88
::imports
@@ -12,9 +12,9 @@ imports:
1212
AAA
1313

1414
=== "Tab1"
15-
--8<-- "snippets-in-tab1a.md"
15+
--8<-- "./snippets-in-tab1a.md"
1616

1717
=== "Tab2"
18-
--8<-- "snippets-in-tab1b.md"
18+
--8<-- "./snippets-in-tab1b.md"
1919

2020
DDD
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
imports:
3-
- importb.md
3+
- ./importb.md
44
---
55

66
BBB

tests/plugin-madwizard/markdowns/snippets/snippets-in-tab1b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
imports:
3-
- importc.md
3+
- ./importc.md
44
---
55

66
???+ tip "TipTitle"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
AAA
22

33
=== "Tab1"
4-
--8<-- "snippets-in-tab1b.md"
4+
--8<-- "./snippets-in-tab1b.md"
55

66
=== "Tab2"
7-
--8<-- "snippets-in-tab1a.md"
7+
--8<-- "./snippets-in-tab1a.md"
88

99
DDD

tests/plugin-madwizard/markdowns/snippets/snippets-in-tab3.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
layout:
33
1: right
44
imports:
5-
- importa.md
6-
- importe.md
7-
- importf.md
5+
- ./importa.md
6+
- ./importe.md
7+
- ./importf.md
88
---
99

1010
::imports
@@ -14,9 +14,9 @@ imports:
1414
# AAA
1515

1616
=== "Tab1"
17-
--8<-- "snippets-in-tab3a.md"
17+
--8<-- "./snippets-in-tab3a.md"
1818

1919
=== "Tab2"
20-
--8<-- "snippets-in-tab1b.md"
20+
--8<-- "./snippets-in-tab1b.md"
2121

2222
DDD
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
imports:
3-
- importd.md
3+
- ./importd.md
44
---
55

66
BBBoo

tests/plugin-madwizard/markdowns/snippets/snippets-in-tab4.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
layout:
33
1: right
44
imports:
5-
- importa.md
6-
- importe.md
5+
- ./importa.md
6+
- ./importe.md
77
---
88

99
::imports
@@ -13,9 +13,9 @@ imports:
1313
# AAA
1414

1515
=== "Tab1"
16-
--8<-- "snippets-in-tab3a.md"
16+
--8<-- "./snippets-in-tab3a.md"
1717

1818
=== "Tab2"
19-
--8<-- "snippets-in-tab4b.md"
19+
--8<-- "./snippets-in-tab4b.md"
2020

2121
DDD

0 commit comments

Comments
 (0)