From ec4ccb4a20aa3241845ad04a005f90f3d858e2d0 Mon Sep 17 00:00:00 2001
From: Mahmoud Zalt
Date: Thu, 16 Mar 2017 18:33:29 -0400
Subject: [PATCH] Move CNAME from the docs to the DOC..
---
DOCUMENTATION/_settings/content/contributing/index.md | 11 ++++++-----
.../_settings/content/documentation/index.md | 5 +++++
DOCUMENTATION/_settings/{CNAME-COPY => static/CNAME} | 0
docs/documentation/index.html | 5 +++++
docs/documentation/index.xml | 5 +++++
docs/index.html | 5 +++++
docs/index.xml | 5 +++++
7 files changed, 31 insertions(+), 5 deletions(-)
rename DOCUMENTATION/_settings/{CNAME-COPY => static/CNAME} (100%)
diff --git a/DOCUMENTATION/_settings/content/contributing/index.md b/DOCUMENTATION/_settings/content/contributing/index.md
index 29b90be..f3b67b7 100644
--- a/DOCUMENTATION/_settings/content/contributing/index.md
+++ b/DOCUMENTATION/_settings/content/contributing/index.md
@@ -39,14 +39,15 @@ You can request a new feature by submitting an [Issue](https://github.com/larado
Laradock uses [Hugo](https://gohugo.io/) as website generator tool, with the [Material Docs theme](http://themes.gohugo.io/theme/material-docs/). You might need to check their docs quickly.
-1. Install [Hugo](https://gohugo.io/) on your machine (easy steps).
-2. Open the `DOCUMENTATION/_settings/content` and search for the markdown file you want to edit (every folder is a section in the menu).
-3. 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).
+1. Install [Hugo](https://gohugo.io/) on your machine (easy thing).
+2. Open the `DOCUMENTATION/_settings/content` and search for the markdown file you want to edit (every folder represents a section in the menu).
+3. Delete the `/docs` folder from the root.
+4. 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/DOCUMENTATION/_settings/content/documentation/index.md b/DOCUMENTATION/_settings/content/documentation/index.md
index ee2e5d7..7d4addc 100644
--- a/DOCUMENTATION/_settings/content/documentation/index.md
+++ b/DOCUMENTATION/_settings/content/documentation/index.md
@@ -176,6 +176,11 @@ However to view the logs of all the other containers (MySQL, PHP-FPM,...) you ca
docker logs {container-name}
```
+More [options](https://docs.docker.com/compose/reference/logs/)
+
+```bash
+docker logs -f {container-name}
+```
diff --git a/DOCUMENTATION/_settings/CNAME-COPY b/DOCUMENTATION/_settings/static/CNAME
similarity index 100%
rename from DOCUMENTATION/_settings/CNAME-COPY
rename to DOCUMENTATION/_settings/static/CNAME
diff --git a/docs/documentation/index.html b/docs/documentation/index.html
index e43cb4e..00acc13 100644
--- a/docs/documentation/index.html
+++ b/docs/documentation/index.html
@@ -447,6 +447,11 @@ example for mysql
it will be mysql/Dockerfile
.
docker logs {container-name}
+More options
+
+docker logs -f {container-name}
+
+
diff --git a/docs/documentation/index.xml b/docs/documentation/index.xml
index 29310c5..ff8f7b8 100644
--- a/docs/documentation/index.xml
+++ b/docs/documentation/index.xml
@@ -150,6 +150,11 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfi
<pre><code class="language-bash">docker logs {container-name}
</code></pre>
+<p>More <a href="https://docs.docker.com/compose/reference/logs/">options</a></p>
+
+<pre><code class="language-bash">docker logs -f {container-name}
+</code></pre>
+
<p><br>
<a name="PHP"></a></p>
diff --git a/docs/index.html b/docs/index.html
index d6cfb4f..2c4ca0b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -840,6 +840,11 @@ example for mysql
it will be mysql/Dockerfile
.
docker logs {container-name}
+More options
+
+docker logs -f {container-name}
+
+
diff --git a/docs/index.xml b/docs/index.xml
index c2430db..8c4953e 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -552,6 +552,11 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfi
<pre><code class="language-bash">docker logs {container-name}
</code></pre>
+<p>More <a href="https://docs.docker.com/compose/reference/logs/">options</a></p>
+
+<pre><code class="language-bash">docker logs -f {container-name}
+</code></pre>
+
<p><br>
<a name="PHP"></a></p>