Skip to content

Commit 5e6f96a

Browse files
committed
docs: improve references
1 parent b81d4c3 commit 5e6f96a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

user_guide_src/source/general/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ There are two ways to implement a Registrar: implicit and explicit.
288288
Implicit Registrars
289289
===================
290290

291-
Any namespace may define registrars by using the **Config/Registrar.php** file, if discovery
291+
Any namespace may define registrars by using the **Config/Registrar.php** file, if :ref:`auto-discovery`
292292
is enabled in :doc:`Modules </general/modules>`. These files are classes whose methods are
293293
named for each configuration class you wish to extend. For example, a third-party module might
294294
wish to supply an additional template to ``Pager`` without overwriting whatever a develop has

user_guide_src/source/general/modules.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ your classes. All we need to do is provide the list of paths to those files and
7373

7474
.. literalinclude:: modules/002.php
7575

76+
.. _auto-discovery:
77+
7678
**************
7779
Auto-Discovery
7880
**************
@@ -83,7 +85,7 @@ file types, including:
8385

8486
- :doc:`Events <../extending/events>`
8587
- :doc:`Filters <../incoming/filters>`
86-
- :doc:`Registrars <./configuration>`
88+
- :ref:`registrars`
8789
- :doc:`Route files <../incoming/routing>`
8890
- :doc:`Services <../concepts/services>`
8991

0 commit comments

Comments
 (0)