Skip to content

Commit b7f9683

Browse files
committed
Add diff language support
1 parent bffdb8b commit b7f9683

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

docs/.vitepress/config.mts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,13 @@ const vitepressOptions: UserConfig = {
113113
}]
114114
}).then(_ => {
115115
})
116+
shiki.loadLanguage({
117+
name: 'diff',
118+
scopeName: 'source.diff'
119+
}).then(_ => {
120+
})
116121
},
117-
config: (md) => {
122+
config: ( md) => {
118123
tabsPlugin(md);
119124
injectUpgradingPartsPlugin(md);
120125
mermaidSpaceConverter(md);

docs/en/upgrading-parts/9.7.1-to-10.0.0.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ For 10.0.0, the `commandapi-bukkit-xxx` modules have mostly been removed in favo
99

1010
In order to update please replace your `commandapi-bukkit-xxx` dependency with either `commandapi-paper-xxx` or `commandapi-spigot-xxx`.
1111

12+
More dependency-related changes have taken place, here they all are listed:
13+
14+
```diff
15+
commandapi-bukkit-xxx // [!code --]
16+
commandapi-paper-xxx // [!code ++]
17+
commandapi-spigot-xxx // [!code ++]
18+
19+
commandapi-core-kotlin // [!code --]
20+
commandapi-kotlin-core // [!code ++]
21+
22+
commandapi-bukkit-kotlin // [!code --]
23+
commandapi-kotlin-paper // [!code ++]
24+
commandapi-kotlin-spigot // [!code ++]
25+
```
26+
1227
:::danger **Developer's Note:**
1328

1429
The fact that Paper is a fork of Spigot does not mean that the Spigot modules work on Paper. Paper has, especially in newer versions, made changes to internal systems the CommandAPI
@@ -19,11 +34,6 @@ There again is no guarantee for any kind of compatibility.
1934

2035
:::
2136

22-
Additionally, the Kotlin module artifact names have changed. Instead of following the pattern `commandapi-bukkit-xxx`, they have now been updated as follows:
23-
24-
- `commandapi-core-kotlin`: was changed to `commandapi-kotlin-core`
25-
- `commandapi-bukkit-kotlin`: was changed to `commandapi-kotlin-bukkit`
26-
2737
#### Code changes
2838

2939
The `CommandAPIBukkitConfig` class has been converted into an abstract class and is no longer used to construct a config instance. Instead, use the new `CommandAPIPaperConfig` or

0 commit comments

Comments
 (0)