Skip to content

Commit 7a2ec03

Browse files
committed
docs: change / positions
The leading / implies root directory of a file system.
1 parent 45da831 commit 7a2ec03

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

user_guide_src/source/general/modules.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ For example, let's say we want to keep a simple blog module that we can re-use b
2323
folder with our company name, Acme, to store all of our modules within. We will put it right alongside our **app**
2424
directory in the main project root::
2525

26-
/acme // New modules directory
27-
/app
28-
/public
29-
/system
30-
/tests
31-
/writable
26+
acme/ // New modules directory
27+
app/
28+
public/
29+
system/
30+
tests/
31+
writable/
3232

3333
Open **app/Config/Autoload.php** and add the ``Acme\Blog`` namespace to the ``psr4`` array property:
3434

@@ -40,19 +40,19 @@ and become comfortable with their use. Several file types will be scanned for au
4040

4141
A common directory structure within a module will mimic the main application folder::
4242

43-
/acme
44-
/Blog
45-
/Config
46-
/Controllers
47-
/Database
48-
/Migrations
49-
/Seeds
50-
/Helpers
51-
/Language
52-
/en
53-
/Libraries
54-
/Models
55-
/Views
43+
acme/
44+
Blog/
45+
Config/
46+
Controllers/
47+
Database/
48+
Migrations/
49+
Seeds/
50+
Helpers/
51+
Language/
52+
en/
53+
Libraries/
54+
Models/
55+
Views/
5656

5757
Of course, there is nothing forcing you to use this exact structure, and you should organize it in the manner that
5858
best suits your module, leaving out directories you don't need, creating new directories for Entities, Interfaces,

0 commit comments

Comments
 (0)