Skip to content

Commit 16ad110

Browse files
committed
Refactor spell checking
1 parent d876719 commit 16ad110

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
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: 2 additions & 0 deletions
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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ A more verbose way of defining colors
104104
Tag
105105
* `<color:_colorNameOrHex_>`
106106

107+
{/* spellchecker:off */}
107108
Aliases
108109
* `colour`, `c`
110+
{/* spellchecker:on */}
109111

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

0 commit comments

Comments
 (0)