Skip to content

Commit ba8f911

Browse files
committed
fix docs colors to match with lara..
1 parent f5b3c95 commit ba8f911

17 files changed

Lines changed: 84 additions & 112 deletions

File tree

docs/_settings/config.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ googleAnalytics = ""
3232
highlight_css = ""
3333

3434
[params.palette]
35-
primary = "red"
36-
accent = "teal"
35+
primary = "purple"
36+
accent = "deep-purple"
3737

3838
[params.font]
3939
text = "Ubuntu"
@@ -88,3 +88,4 @@ googleAnalytics = ""
8888
fractions = true
8989
smartDashes = true
9090
plainIDAnchors = true
91+

docs/_settings/content/contributing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Laradock uses [Hugo](https://gohugo.io/) as website generator tool, with the [Ma
6262
* Edit the files you want to update.
6363

6464
* **Note:** If you want to edit the base image of the `Workspace` or the `php-fpm` Containers,
65-
you need to edit their Dockerfiles from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.
65+
you need to edit their Docker-files from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.
6666

6767
* Make sure to update the `Readme` in case you made any changes.
6868

docs/_settings/content/documentation/index.md

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@ weight: 3
55
---
66

77

8-
9-
10-
11-
12-
<a name="Docker"></a>
13-
14-
15-
16-
17-
18-
198
<a name="List-current-running-Containers"></a>
209
## List current running Containers
2110
```bash
@@ -352,6 +341,7 @@ Note: If `./xdebugPhpFpm` doesn't execute and gives `Permission Denied` error th
352341

353342

354343

344+
355345
<br>
356346
<a name="Install-Deployer"></a>
357347
## Install Deployer (Deployment tool for PHP)
@@ -376,7 +366,7 @@ It should be like this:
376366

377367
4 - Re-build the containers `docker-compose build workspace`
378368

379-
#### [Deployer Documentation Here](https://deployer.org/docs)
369+
[**Deployer Documentation Here**](https://deployer.org/docs)
380370

381371

382372

@@ -542,6 +532,10 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
542532
docker-compose up -d php-worker
543533
```
544534

535+
536+
537+
538+
545539
<br>
546540
<a name="Use-Redis"></a>
547541
## Use Redis
@@ -1249,7 +1243,7 @@ It should be like this:
12491243

12501244
4 - Re-build the containers `docker-compose build workspace`
12511245

1252-
#### [Laravel Envoy Documentation Here](https://laravel.com/docs/5.3/envoy)
1246+
[**Laravel Envoy Documentation Here**](https://laravel.com/docs/5.3/envoy)
12531247

12541248

12551249

@@ -1262,8 +1256,7 @@ It should be like this:
12621256
## PHPStorm Debugging Guide
12631257
Remote debug Laravel web and phpunit tests.
12641258

1265-
#### [Debugging Guide Here](https://github.com/laradock/laradock/blob/master/_guides/phpstorm.md)
1266-
1259+
[**Debugging Guide Here**](https://github.com/laradock/laradock/blob/master/_guides/phpstorm.md)
12671260

12681261

12691262

@@ -1285,6 +1278,7 @@ Remote debug Laravel web and phpunit tests.
12851278

12861279

12871280

1281+
12881282
<br>
12891283
<a name="upgrading-laradock"></a>
12901284
## Upgrading LaraDock
@@ -1303,6 +1297,9 @@ Moving from Docker Toolbox (VirtualBox) to Docker Native (for Mac/Windows). Requ
13031297

13041298

13051299

1300+
1301+
1302+
13061303
<br>
13071304
<a name="Speed-MacOS"></a>
13081305
## Improve speed on MacOS
@@ -1352,6 +1349,10 @@ docker-compose up -d nginx mysql
13521349

13531350

13541351

1352+
1353+
1354+
1355+
13551356
<br>
13561357
<a name="Common-Problems"></a>
13571358
## Common Problems
@@ -1363,8 +1364,9 @@ docker-compose up -d nginx mysql
13631364

13641365

13651366

1367+
13661368
<br>
1367-
### I see a blank (white) page instead of the Laravel 'Welcome' page!
1369+
## I see a blank (white) page instead of the Laravel 'Welcome' page!
13681370

13691371
Run the following command from the Laravel root directory:
13701372

@@ -1377,7 +1379,7 @@ sudo chmod -R 777 storage bootstrap/cache
13771379

13781380

13791381
<br>
1380-
### I see "Welcome to nginx" instead of the Laravel App!
1382+
## I see "Welcome to nginx" instead of the Laravel App!
13811383

13821384
Use `http://127.0.0.1` instead of `http://localhost` in your browser.
13831385

@@ -1386,7 +1388,7 @@ Use `http://127.0.0.1` instead of `http://localhost` in your browser.
13861388

13871389

13881390
<br>
1389-
### I see an error message containing `address already in use` or `port is already allocated`
1391+
## I see an error message containing `address already in use` or `port is already allocated`
13901392

13911393
Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in `apache`/`httpd` service or other development tools you have installed.
13921394

@@ -1395,7 +1397,7 @@ Make sure the ports for the services that you are trying to run (22, 80, 443, 33
13951397

13961398

13971399
<br>
1398-
### I get NGINX error 404 Not Found on Windows.
1400+
## I get NGINX error 404 Not Found on Windows.
13991401

14001402
1. Go to docker Settings on your Windows machine.
14011403
2. Click on the `Shared Drives` tab and check the drive that contains your project files.
@@ -1405,16 +1407,19 @@ Make sure the ports for the services that you are trying to run (22, 80, 443, 33
14051407

14061408

14071409

1410+
14081411
<br>
1409-
### The time in my services does not match the current time
1412+
## The time in my services does not match the current time
14101413

14111414
1. Make sure you've [changed the timezone](#Change-the-timezone).
14121415
2. Stop and rebuild the containers (`docker-compose up -d --build <services>`)
14131416

14141417

14151418

1419+
1420+
14161421
<br>
1417-
### I get MySQL connection refused
1422+
## I get MySQL connection refused
14181423

14191424
This error sometimes happens because your Laravel application isn't running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:
14201425

@@ -1423,9 +1428,3 @@ This error sometimes happens because your Laravel application isn't running on t
14231428
2. Change the `DB_HOST` variable on env with the IP that you received from previous step.
14241429
* Option B
14251430
1. Change the `DB_HOST` value to the same name as the MySQL docker container. The LaraDock docker-compose file currently has this as `mysql`
1426-
1427-
1428-
1429-
1430-
1431-

docs/_settings/content/getting-started/index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ type: index
44
weight: 2
55
---
66

7-
8-
97
## Requirements
108

119
- [Git](https://git-scm.com/downloads)
@@ -14,6 +12,9 @@ weight: 2
1412

1513

1614

15+
16+
17+
1718
## Installation
1819

1920
Choose the setup the best suits your needs.
@@ -110,6 +111,9 @@ Do the same for each project `project2.conf`, `project3.conf`,...
110111

111112

112113

114+
115+
116+
113117
## Usage
114118

115119
**Read Before starting:**
@@ -128,7 +132,6 @@ If you are using **Docker Toolbox** (VM), do one of the following:
128132
1 - Run Containers: *(Make sure you are in the `laradock` folder before running the `docker-compose` commands).*
129133

130134

131-
132135
**Example:** Running NGINX and MySQL:
133136

134137
```bash
@@ -176,4 +179,3 @@ DB_HOST=mysql
176179
**Debugging**: if you are facing any problem here check the [Debugging](#debugging) section.
177180

178181
If you need a special support. Contact me, more details in the [Help & Questions](#Help) section.
179-

docs/_settings/content/help/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ weight: 5
77
Join the chat room on [Gitter](https://gitter.im/LaraDock/laradock) and get help and support from the community.
88

99
You can as well can open an [issue](https://github.com/laradock/laradock/issues) on Github (will be labeled as Question) and discuss it with people on [Gitter](https://gitter.im/LaraDock/laradock).
10-

docs/_settings/content/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ What's better than a **Demo Video**:
106106
- LaraDock [v0.1](https://www.youtube.com/watch?v=3YQsHe6oF80)
107107
108108
109-
### Laradock v4 Video
110-
111-
{{< youtube TQii1jDa96Y >}}
112109
113110
114111
@@ -136,6 +133,7 @@ What's better than a **Demo Video**:
136133
137134
138135
136+
139137
<a name="Supported-Containers"></a>
140138
## Supported Software (Containers)
141139
@@ -190,7 +188,6 @@ What's better than a **Demo Video**:
190188

191189

192190

193-
194191
<a name="Chat"></a>
195192
## Chat with us
196193

docs/_settings/content/related-projects/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ type: index
44
weight: 4
55
---
66

7-
87
LaraDock related projects:
98

109
* [LaraDock CLI](https://github.com/lorinlee/laradock-cli) by [LorinLee](https://github.com/lorinlee)
@@ -17,4 +16,3 @@ These Docker Compose projects have piqued our interest:
1716
* [NoDock](https://github.com/Osedea/nodock) by [Osedea](https://github.com/Osedea)
1817

1918
If you want your project listed here, please open an issue.
20-

docs/contributing/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272

7373
</head>
74-
<body class="palette-primary-red palette-accent-teal">
74+
<body class="palette-primary-purple palette-accent-deep-purple">
7575

7676

7777

@@ -394,7 +394,7 @@ <h2 id="edit-existing-software">Edit existing Software</h2>
394394
<li><p>Edit the files you want to update.</p></li>
395395

396396
<li><p><strong>Note:</strong> If you want to edit the base image of the <code>Workspace</code> or the <code>php-fpm</code> Containers,
397-
you need to edit their Dockerfiles from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.</p></li>
397+
you need to edit their Docker-files from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.</p></li>
398398

399399
<li><p>Make sure to update the <code>Readme</code> in case you made any changes.</p></li>
400400
</ul>

docs/contributing/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ submitting an &lt;a href=&#34;https://github.com/laradock/laradock/issues&#34;&g
7474
&lt;li&gt;&lt;p&gt;Edit the files you want to update.&lt;/p&gt;&lt;/li&gt;
7575

7676
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you want to edit the base image of the &lt;code&gt;Workspace&lt;/code&gt; or the &lt;code&gt;php-fpm&lt;/code&gt; Containers,
77-
you need to edit their Dockerfiles from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.&lt;/p&gt;&lt;/li&gt;
77+
you need to edit their Docker-files from their GitHub repositories. For more info read their Dockerfiles comment on the LaraDock repository.&lt;/p&gt;&lt;/li&gt;
7878

7979
&lt;li&gt;&lt;p&gt;Make sure to update the &lt;code&gt;Readme&lt;/code&gt; in case you made any changes.&lt;/p&gt;&lt;/li&gt;
8080
&lt;/ul&gt;

docs/documentation/index.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272

7373
</head>
74-
<body class="palette-primary-red palette-accent-teal">
74+
<body class="palette-primary-purple palette-accent-deep-purple">
7575

7676

7777

@@ -336,8 +336,6 @@ <h1>Documentation </h1>
336336

337337

338338

339-
<p><a name="Docker"></a></p>
340-
341339
<p><a name="List-current-running-Containers"></a></p>
342340

343341
<h2 id="list-current-running-containers">List current running Containers</h2>
@@ -636,7 +634,7 @@ <h2 id="install-deployer-deployment-tool-for-php">Install Deployer (Deployment t
636634

637635
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
638636

639-
<h4 id="deployer-documentation-here-https-deployer-org-docs"><a href="https://deployer.org/docs">Deployer Documentation Here</a></h4>
637+
<p><a href="https://deployer.org/docs"><strong>Deployer Documentation Here</strong></a></p>
640638

641639
<p><br>
642640
<a name="Production"></a></p>
@@ -1345,7 +1343,7 @@ <h2 id="install-laravel-envoy-envoy-task-runner">Install Laravel Envoy (Envoy Ta
13451343

13461344
<p>4 - Re-build the containers <code>docker-compose build workspace</code></p>
13471345

1348-
<h4 id="laravel-envoy-documentation-here-https-laravel-com-docs-5-3-envoy"><a href="https://laravel.com/docs/5.3/envoy">Laravel Envoy Documentation Here</a></h4>
1346+
<p><a href="https://laravel.com/docs/5.3/envoy"><strong>Laravel Envoy Documentation Here</strong></a></p>
13491347

13501348
<p><br>
13511349
<a name="phpstorm-debugging"></a></p>
@@ -1354,7 +1352,7 @@ <h2 id="phpstorm-debugging-guide">PHPStorm Debugging Guide</h2>
13541352

13551353
<p>Remote debug Laravel web and phpunit tests.</p>
13561354

1357-
<h4 id="debugging-guide-here-https-github-com-laradock-laradock-blob-master-guides-phpstorm-md"><a href="https://github.com/laradock/laradock/blob/master/_guides/phpstorm.md">Debugging Guide Here</a></h4>
1355+
<p><a href="https://github.com/laradock/laradock/blob/master/_guides/phpstorm.md"><strong>Debugging Guide Here</strong></a></p>
13581356

13591357
<p><br>
13601358
<a name="keep-tracking-LaraDock"></a></p>
@@ -1440,7 +1438,7 @@ <h2 id="common-problems">Common Problems</h2>
14401438

14411439
<p><br></p>
14421440

1443-
<h3 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel &lsquo;Welcome&rsquo; page!</h3>
1441+
<h2 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a blank (white) page instead of the Laravel &lsquo;Welcome&rsquo; page!</h2>
14441442

14451443
<p>Run the following command from the Laravel root directory:</p>
14461444

@@ -1449,19 +1447,19 @@ <h3 id="i-see-a-blank-white-page-instead-of-the-laravel-welcome-page">I see a bl
14491447

14501448
<p><br></p>
14511449

1452-
<h3 id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see &ldquo;Welcome to nginx&rdquo; instead of the Laravel App!</h3>
1450+
<h2 id="i-see-welcome-to-nginx-instead-of-the-laravel-app">I see &ldquo;Welcome to nginx&rdquo; instead of the Laravel App!</h2>
14531451

14541452
<p>Use <code>http://127.0.0.1</code> instead of <code>http://localhost</code> in your browser.</p>
14551453

14561454
<p><br></p>
14571455

1458-
<h3 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h3>
1456+
<h2 id="i-see-an-error-message-containing-address-already-in-use-or-port-is-already-allocated">I see an error message containing <code>address already in use</code> or <code>port is already allocated</code></h2>
14591457

14601458
<p>Make sure the ports for the services that you are trying to run (22, 80, 443, 3306, etc.) are not being used already by other programs on the host, such as a built in <code>apache</code>/<code>httpd</code> service or other development tools you have installed.</p>
14611459

14621460
<p><br></p>
14631461

1464-
<h3 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h3>
1462+
<h2 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Found on Windows.</h2>
14651463

14661464
<ol>
14671465
<li>Go to docker Settings on your Windows machine.</li>
@@ -1472,7 +1470,7 @@ <h3 id="i-get-nginx-error-404-not-found-on-windows">I get NGINX error 404 Not Fo
14721470

14731471
<p><br></p>
14741472

1475-
<h3 id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h3>
1473+
<h2 id="the-time-in-my-services-does-not-match-the-current-time">The time in my services does not match the current time</h2>
14761474

14771475
<ol>
14781476
<li>Make sure you&rsquo;ve <a href="#Change-the-timezone">changed the timezone</a>.</li>
@@ -1481,7 +1479,7 @@ <h3 id="the-time-in-my-services-does-not-match-the-current-time">The time in my
14811479

14821480
<p><br></p>
14831481

1484-
<h3 id="i-get-mysql-connection-refused">I get MySQL connection refused</h3>
1482+
<h2 id="i-get-mysql-connection-refused">I get MySQL connection refused</h2>
14851483

14861484
<p>This error sometimes happens because your Laravel application isn&rsquo;t running on the container localhost IP (Which is 127.0.0.1). Steps to fix it:</p>
14871485

0 commit comments

Comments
 (0)