Skip to content

Commit 012db71

Browse files
committed
docs: add [!toc] to example sections in world management documentation
1 parent e0ed815 commit 012db71

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

content/docs/worlds/manage/create.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To generate a new world using a custom generator, use the command
2525
`/world create <key> generator <generator> [<dimension>] [<structures>] [<seed>]`
2626
The generator argument takes the name of the plugin that provides the custom chunk generator or biome provider.
2727

28-
### Example
28+
### Example [!toc]
2929

3030
PlotSquared generation example:
3131

@@ -48,7 +48,7 @@ The following types are available:
4848
- `minecraft:fixed` - [Uses one specified biome everywhere.](https://minecraft.wiki/w/Dimension_definition#fixed)
4949
- `minecraft:debug` - [Debug all block states.](https://minecraft.wiki/w/Dimension_definition#debug)
5050

51-
### Example
51+
### Example [!toc]
5252

5353
Amplified world example:
5454

@@ -67,7 +67,7 @@ Here you can find a list of [available presets](/docs/worlds/presets#available-p
6767
Want to learn how to create your own presets?
6868
Check out the [Creating a world preset](/docs/worlds/presets) documentation.
6969

70-
### Example
70+
### Example [!toc]
7171

7272
Void world example:
7373

content/docs/worlds/manage/delete.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Deleting a world is irreversible. Make sure to back up any important data before
1313

1414
</Callout>
1515

16-
## Flags
16+
## Flags [!toc]
1717

1818
- `--confirm`: This flag is required to confirm the deletion of the world.
1919
It is a safety measure to prevent accidental deletions.
2020
- `--schedule`: This flag schedules the deletion of the world to the server shutdown process.
2121
This option is required to be set on Folia servers, as they cannot delete worlds while they are running.
2222
Also the `minecraft:overworld` can only be scheduled as it is required to always exist during runtime.
2323

24-
## Examples
24+
## Examples [!toc]
2525

2626
To simply delete a world, you can use the following command:
2727

content/docs/worlds/manage/import.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To import an existing world, you can use the `/world import <world> [<key>] [<di
1212
- The `<generator>` defines the custom world generator to use for the imported world.
1313
</Callout>
1414

15-
## Examples
15+
## Examples [!toc]
1616

1717
To import a specific dimension of a world, you can use the following command:
1818

content/docs/worlds/manage/load-unload.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can load existing worlds with the `/world load <world>` command.
99
You can only load worlds that are managed by Worlds,
1010
if you want to load a world that is not managed by Worlds, [import](/docs/worlds/manage/import) the world instead.
1111

12-
### Example
12+
### Example [!toc]
1313

1414
```
1515
/world load MyWorld
@@ -21,7 +21,7 @@ You can unload worlds with the `/world unload <world> [<fallback>]` command.
2121
The fallback option allows you to specify a world to send players to, if they are currently in the world that is being unloaded.
2222
If undefined, players will be sent to the default world (usually `minecraft:overworld`).
2323

24-
### Example
24+
### Example [!toc]
2525

2626
```
2727
/world unload worlds:my_world worlds:my_fallback_world

0 commit comments

Comments
 (0)