Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 875c799

Browse files
author
stevjohnson
committed
Fixed formatting in create modules topic
1 parent fe1773f commit 875c799

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

guides/v1.0/extension-dev-guide/create_module.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ github_link: extension-dev-guide/create_module.md
1313
This topic covers the basic steps of creating a new module. Subsequent sections in this Developer's Guide explain how to verify your new module and how to use Composer to package and distribute the module.
1414

1515
<h2 id="create-module-basics">Basic Pre-Requisites</h2>
16-
Before you begin creating your new module, make sure that you have a working installation of Magento 2.0, and the Magento [System Requirements](http://://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html>System Requirements).
16+
Before you begin creating your new module, make sure that you have a working installation of Magento 2.0, and the Magento [System Requirements]({{ site.gdeurl }}install-gde/system-requirements.html).
1717

1818
Also, Magento recommends that you disable caching while performing the following steps.
1919

@@ -29,14 +29,14 @@ In subsequent topics, we will discuss which configuration files are needed for y
2929
<h2 id="create-module-file-structure">Build the file structure</h2>
3030
First let's create the &lt;ModuleName> directory. Use a module name that is descriptive, and not too long.
3131

32-
Next, you can create the /etc directory, within the &lt;ModuleName> directory:
32+
Next, you can create the `/etc` directory within the `<ModuleName>` directory:
3333

3434
Example:
3535

36-
<ModuleName>
37-
/etc
36+
<ModuleName>
37+
/etc
3838

39-
The /etc directory is where the `module.xml` file resides, and this directory is required no matter how you plan to use the module. Additional directories may be needed under the &lt;ModuleName> directory, depending on how you plan to use the module.
39+
The `/etc` directory is where the `module.xml` file resides, and this directory is required no matter how you plan to use the module. Additional directories may be needed under the `<ModuleName>` directory, depending on how you plan to use the module.
4040

4141
We will look at the additional directories in the next topic, and link to some sample modules showing these directories and the configuration files in each. Typically these components are:
4242

@@ -59,12 +59,10 @@ A module declares itself (i.e. defines its name and existence) in the `module.xm
5959

6060
Minimal declaration sample:
6161

62-
<pre>
63-
&lt;config>
64-
&lt;module name="Namespace_Module" schema_version="2.0.0">
65-
&lt;/module>
66-
&lt;/config>
67-
</pre>
62+
<config>
63+
<module name="Namespace_Module" schema_version="2.0.0">
64+
</module>
65+
</config>
6866

6967
<div class="bs-callout bs-callout-info" id="info">
7068
<p>Take a look at a <a href="https://github.corp.ebay.com/magento2/magento2-samples"> sample module</a> created by the Magento Core Team. </p>

0 commit comments

Comments
 (0)