From aedc7c8438459fc299b4b38ca2a212bcf5032b80 Mon Sep 17 00:00:00 2001
From: Mahmoud Zalt
Laradock uses Hugo as website generator tool, with the Material Docs theme. You might need to check their docs quickly.
DOCUMENTATION/_settings/content
and search for the markdown file you want to edit (every folder is a section in the menu).hugo
to generate the updated site inside the docs
folder (It’s recommended to delete all files form the /docs
folder, except the CNAME
file, before running the hugo
command).DOCUMENTATION/_settings/content
and search for the markdown file you want to edit (every folder represents a section in the menu)./docs
folder from the root.hugo
command to generate the HTML docs (in the /docs
).Go to DOCUMENTATION/_settings
in your terminal and run hugo serve
to host the website locally.
To add a new section to the sidebar or edit existing one, you need to edit this file DOCUMENTATION/_settings/config.toml
.
Your folder structure should look like this:
-- project1
- - laradock
-- project2
- - laradock
+- project-A
+ - laradock-A
+- project-B
+ - laradock-B
+(It’s important to rename the folders differently in each project)
+
A.2) Don’t have a PHP project yet:
@@ -386,12 +388,11 @@
Your folder structure should look like this:
-- projects
- - laradock
- - myProject
+- laradock
+- Project-Z
-2 - Edit the docker-compose.yml
file to map to your project directory once you have it (example: - ../myProject:/var/www
).
+2 - Edit the docker-compose.yml
file to map to your project directory once you have it (example: - ../Project-Z:/var/www
).
3 - Stop and re-run your docker-compose command for the changes to take place.
diff --git a/docs/getting-started/index.xml b/docs/getting-started/index.xml
index 0516691f..0ab36543 100644
--- a/docs/getting-started/index.xml
+++ b/docs/getting-started/index.xml
@@ -68,12 +68,14 @@
<p>Your folder structure should look like this:</p>
-<pre><code>- project1
- - laradock
-- project2
- - laradock
+<pre><code>- project-A
+ - laradock-A
+- project-B
+ - laradock-B
</code></pre>
+<p>(It’s important to rename the folders differently in each project)</p>
+
<p><a name="A2"></a></p>
<h3 id="a-2-don-t-have-a-php-project-yet">A.2) Don’t have a PHP project yet:</h3>
@@ -89,12 +91,11 @@
<p>Your folder structure should look like this:</p>
-<pre><code>- projects
- - laradock
- - myProject
+<pre><code>- laradock
+- Project-Z
</code></pre>
-<p>2 - Edit the <code>docker-compose.yml</code> file to map to your project directory once you have it (example: <code>- ../myProject:/var/www</code>).</p>
+<p>2 - Edit the <code>docker-compose.yml</code> file to map to your project directory once you have it (example: <code>- ../Project-Z:/var/www</code>).</p>
<p>3 - Stop and re-run your docker-compose command for the changes to take place.</p>
diff --git a/docs/index.html b/docs/index.html
index 2c4ca0b6..de0efabe 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -563,12 +563,14 @@ QUEUE_HOST=beanstalkd
Your folder structure should look like this:
-- project1
- - laradock
-- project2
- - laradock
+- project-A
+ - laradock-A
+- project-B
+ - laradock-B
+(It’s important to rename the folders differently in each project)
+
A.2) Don’t have a PHP project yet:
@@ -584,12 +586,11 @@ QUEUE_HOST=beanstalkd
Your folder structure should look like this:
-- projects
- - laradock
- - myProject
+- laradock
+- Project-Z
-2 - Edit the docker-compose.yml
file to map to your project directory once you have it (example: - ../myProject:/var/www
).
+2 - Edit the docker-compose.yml
file to map to your project directory once you have it (example: - ../Project-Z:/var/www
).
3 - Stop and re-run your docker-compose command for the changes to take place.
@@ -1965,16 +1966,17 @@ features, by not reporting duplicate issues.
Laradock uses Hugo as website generator tool, with the Material Docs theme. You might need to check their docs quickly.
-- Install Hugo on your machine (easy steps).
-- Open the
DOCUMENTATION/_settings/content
and search for the markdown file you want to edit (every folder is a section in the menu).
-- After done editing, run the this command
hugo
to generate the updated site inside the docs
folder (It’s recommended to delete all files form the /docs
folder, except the CNAME
file, before running the hugo
command).
+- Install Hugo on your machine (easy thing).
+- Open the
DOCUMENTATION/_settings/content
and search for the markdown file you want to edit (every folder represents a section in the menu).
+- Delete the
/docs
folder from the root.
+- When you finish editing, run the
hugo
command to generate the HTML docs (in the /docs
).
-To Host the website locally
+To Host the website locally
Go to DOCUMENTATION/_settings
in your terminal and run hugo serve
to host the website locally.
-Edit the sidebar
+Edit the sidebar
To add a new section to the sidebar or edit existing one, you need to edit this file DOCUMENTATION/_settings/config.toml
.
diff --git a/docs/index.xml b/docs/index.xml
index 8c4953e6..0f55b4dc 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -270,12 +270,14 @@ QUEUE_HOST=beanstalkd
<p>Your folder structure should look like this:</p>
-<pre><code>- project1
- - laradock
-- project2
- - laradock
+<pre><code>- project-A
+ - laradock-A
+- project-B
+ - laradock-B
</code></pre>
+<p>(It’s important to rename the folders differently in each project)</p>
+
<p><a name="A2"></a></p>
<h3 id="a-2-don-t-have-a-php-project-yet">A.2) Don’t have a PHP project yet:</h3>
@@ -291,12 +293,11 @@ QUEUE_HOST=beanstalkd
<p>Your folder structure should look like this:</p>
-<pre><code>- projects
- - laradock
- - myProject
+<pre><code>- laradock
+- Project-Z
</code></pre>
-<p>2 - Edit the <code>docker-compose.yml</code> file to map to your project directory once you have it (example: <code>- ../myProject:/var/www</code>).</p>
+<p>2 - Edit the <code>docker-compose.yml</code> file to map to your project directory once you have it (example: <code>- ../Project-Z:/var/www</code>).</p>
<p>3 - Stop and re-run your docker-compose command for the changes to take place.</p>
@@ -1692,16 +1693,17 @@ features, by not reporting duplicate issues.</em></p>
<p>Laradock uses <a href="https://gohugo.io/">Hugo</a> as website generator tool, with the <a href="http://themes.gohugo.io/theme/material-docs/">Material Docs theme</a>. You might need to check their docs quickly.</p>
<ol>
-<li>Install <a href="https://gohugo.io/">Hugo</a> on your machine (easy steps).</li>
-<li>Open the <code>DOCUMENTATION/_settings/content</code> and search for the markdown file you want to edit (every folder is a section in the menu).</li>
-<li>After done editing, run the this command <code>hugo</code> to generate the updated site inside the <code>docs</code> folder (It’s recommended to delete all files form the <code>/docs</code> folder, except the <code>CNAME</code> file, before running the <code>hugo</code> command).</li>
+<li>Install <a href="https://gohugo.io/">Hugo</a> on your machine (easy thing).</li>
+<li>Open the <code>DOCUMENTATION/_settings/content</code> and search for the markdown file you want to edit (every folder represents a section in the menu).</li>
+<li>Delete the <code>/docs</code> folder from the root.</li>
+<li>When you finish editing, run the <code>hugo</code> command to generate the HTML docs (in the <code>/docs</code>).</li>
</ol>
-<h4 id="to-host-the-website-locally">To Host the website locally</h4>
+<h3 id="to-host-the-website-locally">To Host the website locally</h3>
<p>Go to <code>DOCUMENTATION/_settings</code> in your terminal and run <code>hugo serve</code> to host the website locally.</p>
-<h4 id="edit-the-sidebar">Edit the sidebar</h4>
+<h3 id="edit-the-sidebar">Edit the sidebar</h3>
<p>To add a new section to the sidebar or edit existing one, you need to edit this file <code>DOCUMENTATION/_settings/config.toml</code>.</p>