Skip to content

Commit 59715c7

Browse files
committed
docs: improve page link
1 parent 52fc49c commit 59715c7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

user_guide_src/source/cli/cli.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ works exactly like a normal route definition:
8787
.. literalinclude:: cli/002.php
8888
:lines: 2-
8989

90-
For more information, see the :doc:`Routes </incoming/routing>` page.
90+
For more information, see the :ref:`Routes <command-line-only-routes>` page.
9191

9292
The CLI Library
9393
---------------

user_guide_src/source/incoming/routing.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,9 @@ You can use the ``add()`` method:
335335
only routes that match the current request method are stored, resulting in fewer routes to scan through
336336
when trying to find a match.
337337

338-
Command-Line only Routes
338+
.. _command-line-only-routes:
339+
340+
Command-Line Only Routes
339341
========================
340342

341343
You can create routes that work only from the command-line, and are inaccessible from the web browser, with the

0 commit comments

Comments
 (0)