Skip to content

Commit 1613476

Browse files
committed
docs: fix text decoration
1 parent a122ee6 commit 1613476

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

user_guide_src/source/general/modules.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ The discovery process would look for discoverable items on that path and should,
9595
Enable/Disable Discover
9696
=======================
9797

98-
You can turn on or off all auto-discovery in the system with the **$enabled** class variable. False will disable
98+
You can turn on or off all auto-discovery in the system with the ``$enabled`` class variable. False will disable
9999
all discovery, optimizing performance, but negating the special capabilities of your modules.
100100

101101
Specify Discovery Items
102102
=======================
103103

104-
With the **$aliases** option, you can specify which items are automatically discovered. If the item is not
104+
With the ``$aliases`` option, you can specify which items are automatically discovered. If the item is not
105105
present, then no auto-discovery will happen for that item, but the others in the array will still be discovered.
106106

107107
Discovery and Composer
@@ -168,12 +168,12 @@ with the ``new`` command:
168168

169169
.. literalinclude:: modules/008.php
170170

171-
Config files are automatically discovered whenever using the **config()** function that is always available.
171+
Config files are automatically discovered whenever using the ``config()`` function that is always available.
172172

173173
.. note:: We don't recommend you use the same short classname in modules.
174174
Modules that need to override or add to known configurations in **app/Config/** should use :ref:`registrars`.
175175

176-
.. note:: **config()** finds the file in **app/Config/** when there is a class with the same shortname,
176+
.. note:: ``config()`` finds the file in **app/Config/** when there is a class with the same shortname,
177177
even if you specify a fully qualified class name like ``config(\Acme\Blog\Config\Blog::class)``.
178178
This is because ``config()`` is a wrapper for the ``Factories`` class which uses ``preferApp`` by default. See :ref:`factories-options` for more information.
179179

0 commit comments

Comments
 (0)