Skip to content

Commit adabb05

Browse files
committed
Shorten doc role strings
1 parent 926084b commit adabb05

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

source/api/concepts/patterns-and-masks.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
Patterns and Masks
22
==================
33

4-
Patterns and masks are the same as described in :doc:`Patterns <../../usage/general/patterns>` and
5-
:doc:`Masks <../../usage/general/masks>`. The only difference is that they must be constructed via
6-
their respective classes, rather than from formatted strings.
4+
Patterns and masks are the same as described in :doc:`/usage/general/patterns` and :doc:`/usage/general/masks`.
5+
The only difference is that they must be constructed via their respective classes, rather than from formatted strings.
76

87
A single block pattern can be represented using a ``BlockStateHolder``, such as ``BlockState`` and ``BaseBlock``.
98
Other patterns types are fairly obvious from their names, such as ``TypeApplyingPattern`` or ``RandomStatePattern``.

source/api/examples/clipboard.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Clipboard Examples
33

44
.. note::
55
This documentation covers the API for using clipboards.
6-
See :doc:`Clipboard <../../../usage/clipboard>` for in-game usage & explanations of what clipboards are.
6+
See :doc:`/usage/clipboard` for in-game usage & explanations of what clipboards are.
77

8-
Concepts used in these examples: :doc:`Regions <../concepts/regions>`,
9-
:doc:`Edit Sessions <../concepts/edit-sessions>`, :doc:`Extents <../concepts/extents>`
8+
Concepts used in these examples: :doc:`../concepts/regions`, :doc:`../concepts/edit-sessions`,
9+
:doc:`../concepts/extents`
1010

1111
Copying
1212
-------

source/api/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ latest Minecraft version, but generally the API is similar enough across version
3636
These documents also only cover the latest version of WorldEdit, although old versions may be reached using the
3737
navigator in the bottom right.
3838

39-
To get started with the API, read :doc:`API Concepts <concepts/index>`. Some common API usages are documented in
40-
:doc:`API Examples <examples/index>`.
41-
When developing, take note of :doc:`Internal APIs <internal-apis>` to ensure you're using supported APIs.
39+
To get started with the API, read :doc:`concepts/index`. Some common API usages are documented in
40+
:doc:`examples/index`.
41+
When developing, take note of :doc:`internal-apis` to ensure you're using supported APIs.
4242

4343
.. _Maven repository: https://help.sonatype.com/repomanager3/repository-manager-concepts/an-example---maven-repository-format
4444
.. _Maven: https://maven.apache.org/

0 commit comments

Comments
 (0)