Skip to content

Commit ab6017f

Browse files
authored
Merge pull request #7 from MockBukkit/feat/various-improvements
feat(docs): Fix Spelling and update dependencies
2 parents 30f5487 + c213dab commit ab6017f

File tree

8 files changed

+889
-445
lines changed

8 files changed

+889
-445
lines changed

docs/en/contribution/maintainers/pr_guide.md

+13-9
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Maintainer PR Guide
77

88
::: info
99

10-
This information is mostly relevant to the team members of Mockbukkit.
10+
This information is mostly relevant to the team members of MockBukkit.
1111
We nevertheless provide this information publicly as to encourage transparency
1212
and attract new people to help drive this project forward!
1313

@@ -19,14 +19,18 @@ to automatically tag PRs with a version number on merge. This removes the
1919
tedious work of keeping version numbers up
2020
to date across several PRs at a time and eliminate Human error. The following
2121
custom labels, all of them following the
22-
pattern of `release/*`, are used by Mockbukkit:
23-
24-
| Label | Semantic Version Type | | Description | <!-- markdownlint-disable-line MD033 MD013 -->
25-
|----------------------------------------------|:----------------------|:----|:---------------------------------------| <!-- markdownlint-disable-line MD033 MD013 -->
26-
| <Badge type="danger" text="release/major"/> | Major Version (X.0.0) | | Only used for breaking changes | <!-- markdownlint-disable-line MD033 MD013 -->
27-
| <Badge type="warning" text="release/minor"/> | Minor Version (0.X.0) | | New Features | <!-- markdownlint-disable-line MD033 MD013 -->
28-
| <Badge type="tip" text="release/patch"/> | Patch Version (0.0.X) | | Bugfixes | <!-- markdownlint-disable-line MD033 MD013 -->
29-
| <Badge type="info" text="release/none"/> | None (-) | | Method Stubs or non code related fixes | <!-- markdownlint-disable-line MD033 MD013 -->
22+
pattern of `release/*`, are used by MockBukkit:
23+
24+
<!-- markdownlint-disable line-length -->
25+
26+
| Label | Semantic Version Type | Description |
27+
| -------------------------------------------- | :-------------------- | :------------------------------------- |
28+
| <Badge type="danger" text="release/major"/> | Major Version (X.0.0) | Only used for breaking changes |
29+
| <Badge type="warning" text="release/minor"/> | Minor Version (0.X.0) | New Features |
30+
| <Badge type="tip" text="release/patch"/> | Patch Version (0.0.X) | Bugfixes |
31+
| <Badge type="info" text="release/none"/> | None (-) | Method Stubs or non code related fixes |
32+
33+
<!-- markdownlint-disable line-length -->
3034

3135
As you can probably tell, this project
3236
uses [Semantic Versioning](https://semver.org/).

docs/en/user_guide/advanced/adventure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ prev:
1212
::: info
1313

1414
This talks about the
15-
[Kyori Adventure](https://github.com/KyoriPowered/adventure-platform)Library.
15+
[Kyori Adventure](https://github.com/KyoriPowered/adventure-platform) Library.
1616
This has no connection to the Adventure Gamemode
1717

1818
:::

docs/en/user_guide/advanced/custom_server_mock.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class. This could be if you want to implement some of the unimplemented methods
1616
or simply provide your own mocks for certain methods.
1717

1818
To do that you can simply pass your custom mock that extends `ServerMock` to the
19-
`MockBukkit#mock(ServerNock)` method.
19+
`MockBukkit.mock(ServerMock)` method.
2020

2121
::: code-group
2222

docs/en/user_guide/advanced/events.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Mockbukkit provides a way to check if Events are fired.Events are Classes that
2020
extend `org.bukkit.event.Event` and are fired by Bukkit.
2121

2222
To check if an event is fired, you can use the
23-
`PluginManagerMock#assertEventFired(Class<? extends Event>)`method. This method
23+
`PluginManagerMock.assertEventFired(Class<? extends Event>)`method. This method
2424
takes a class that extends `org.bukkit.event.Event`. It will then check if an
2525
event of that type was fired.
2626

@@ -81,7 +81,7 @@ class MyPluginTests {
8181

8282
If you want to check if an event was fired with a specific value, you can use
8383
the
84-
`PluginManagerMock#assertEventFired(Class<? extends Event>, Predicate<Event>)`
84+
`PluginManagerMock.assertEventFired(Class<? extends Event>, Predicate<Event>)`
8585
method.
8686

8787
::: code-group
@@ -144,7 +144,7 @@ class MyPluginTests {
144144
### Custom Failure Message with `assertEventFired`
145145

146146
You can also set a custom failure message for the assertion by using the
147-
`PluginManagerMock#assertEventFired(Class<? extends Event>, String)` method.
147+
`PluginManagerMock.assertEventFired(Class<? extends Event>, String)` method.
148148

149149
::: code-group
150150

@@ -202,7 +202,7 @@ class MyPluginTests {
202202
## Asserting that Events were not fired
203203

204204
You can also check if an event was not fired by using the
205-
`PluginManagerMock#assertEventNotFired(Class<? extends Event>)` method.
205+
`PluginManagerMock.assertEventNotFired(Class<? extends Event>)` method.
206206

207207
::: code-group
208208

@@ -258,7 +258,7 @@ class MyPluginTests {
258258
### Custom Failure Message with `assertEventNotFired`
259259

260260
You can also set a custom failure message for the assertion by using the
261-
`PluginManagerMock#assertEventNotFired(Class<? extends Event>, String)` method.
261+
`PluginManagerMock.assertEventNotFired(Class<? extends Event>, String)` method.
262262

263263
::: code-group
264264

docs/en/user_guide/introduction/getting_started.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ dependencies {
6565
## Running MockBukkit
6666

6767
MockBukkit is a test framework, so you will need to run your tests using a test
68-
runner.Mockbukkit recommends using the
68+
runner. MockBukkit recommends using the
6969
[JUnit](https://junit.org/junit5/) test runner.
7070

7171
You can run your tests using the following command:
@@ -85,5 +85,5 @@ gradle test
8585
If you are using a different test runner,
8686
you will need to configure it to use MockBukkit.
8787
While other test runners like [TestNG](https://testng.org/) exist,
88-
Mockbukkit has not verified compatibility with them. This does not mean that
89-
Mockbukkit might work with them, but it is not tested.
88+
MockBukkit has not verified compatibility with them. This does not mean that
89+
MockBukkit might work with them, but it is not tested.

docs/en/user_guide/migration/migrate_mockbukkit_4.0_openrewrite.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ prev:
77
text: "Migrate to Mockbukkit 4"
88
---
99

10-
# Migrate to Mockbukkit 4 using OpenRewrite
10+
# Migrate to MockBukkit 4 using OpenRewrite
1111

1212
Migration to version 4 was carefully automated by the MockBukkit team using
1313
OpenRewrite scripts to facilitate the migration process. To run the scripts,

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"devDependencies": {
3-
"prettier": "3.3.3",
4-
"vitepress": "^1.3.1",
5-
"vue": "^3.4.34"
3+
"prettier": "3.4.2",
4+
"vitepress": "^1.5.0",
5+
"vue": "^3.5.13"
66
},
77
"scripts": {
88
"docs:dev": "vitepress dev",

0 commit comments

Comments
 (0)