Skip to content

Commit 300014f

Browse files
committed
Refactor spell checking
1 parent d876719 commit 300014f

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.typos.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[files]
22
extend-exclude = [
3-
"public/d2", # D2 output shouldn't be checked
4-
"src/content/docs/adventure/minimessage/format.mdx", # This file contains british spelling because of tag aliases
5-
"src/content/docs/adventure/community-libraries.mdx" # This file contains project names which might get flagged by typos
3+
"public/d2" # D2 output shouldn't be checked
64
]
75

86
[default]

src/content/docs/adventure/community-libraries.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ They typically have no dependencies on a specific platform, just Adventure and p
2424

2525
{/* Elements in this table should be alphabetized */}
2626

27+
{/* spellchecker:off */}
2728
Name | Description | Link
2829
----------------------------|-----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------
2930
adventure-binary-serializer | Serializer for converting to packed bytes | [Moulberry/adventure-binary-serializer](https://github.com/Moulberry/adventure-binary-serializer/>)
3031
EnhancedLegacyText | Alternative input format that is legacy compatible with new features | [Vankka/EnhancedLegacyText](https://github.com/Vankka/EnhancedLegacyText>)
3132
MCDiscordReserializer | Serializers for going between Minecraft & Discord | [Vankka/MCDiscordReserializer](https://github.com/Vankka/MCDiscordReserializer>)
3233
Minedown | A markdown-style format for representing components | [Phoenix616/MineDown](https://github.com/Phoenix616/MineDown>)
34+
{/* spellchecker:on */}
3335

3436
## Libraries that use Adventure
3537

@@ -38,7 +40,7 @@ These libraries will often depend on one or more specific platforms to support t
3840

3941
{/* Elements in this table should be alphabetized */}
4042

41-
43+
{/* spellchecker:off */}
4244
Name | Description | Link
4345
--------------------|-----------------------------------------------------------------------|----------------------------------------------------
4446
Cloud | A general-purpose Java command dispatcher & framework | [Incendo/cloud](https://github.com/Incendo/cloud)
@@ -50,3 +52,4 @@ MiniPlaceholders | A platform-agnostic MiniMessage Component-based Placeholde
5052
ProtocolSidebar | An easy to use sidebar library for Paper/Spigot servers | [CatCoderr/ProtocolSidebar](https://github.com/CatCoderr/ProtocolSidebar)
5153
ScoreboardLibrary | A scoreboard library for Paper/Spigot servers | [MegavexNetwork/scoreboard-library](https://github.com/MegavexNetwork/scoreboard-library)
5254
Triumph GUI | A library made to simplify the creation of inventory GUIs | [Triumph GUI](https://triumphteam.dev/docs/triumph-gui/introduction)
55+
{/* spellchecker:on */}

src/content/docs/adventure/minimessage/format.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ These are the tags included and enabled by default in MiniMessage. Specific pars
7272

7373
### Color
7474

75+
{/* spellchecker:off */}
7576
Color the next parts
7677

7778
Tag
@@ -83,6 +84,7 @@ Arguments
8384

8485
`dark_grey` can be used in place of `dark_gray`, and so can `grey` in place of `gray`.
8586
Hex colors are supported as well, with the format `#RRGGBB`.
87+
{/* spellchecker:on */}
8688

8789
Examples
8890
```mm
@@ -104,8 +106,10 @@ A more verbose way of defining colors
104106
Tag
105107
* `<color:_colorNameOrHex_>`
106108

109+
{/* spellchecker:off */}
107110
Aliases
108111
* `colour`, `c`
112+
{/* spellchecker:on */}
109113

110114
Arguments
111115
* `_colorNameOrHex_`, can be any of the values from above (so named colors or hex colors)

0 commit comments

Comments
 (0)