You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And go to [http://127.0.0.1:8000](http://127.0.0.1:8000).
179
181
180
-
### Method 2: `mkdocs`
182
+
If you only want to build the documentation without serving it locally, you can use the following command:
183
+
184
+
```bash
185
+
$ make docs-build
186
+
...
187
+
```
188
+
189
+
#### Method 2: `mkdocs`
181
190
182
191
First make sure you have python and pip installed
183
192
184
-
```shell
193
+
```bash
185
194
$ python --version
186
195
Python 2.7.2
187
196
$ pip --version
@@ -190,22 +199,42 @@ pip 1.5.2
190
199
191
200
Then install mkdocs with pip
192
201
193
-
```shell
202
+
```bash
194
203
pip install --user -r requirements.txt
195
204
```
196
205
197
-
To test documentation locally run `mkdocs serve` in the root directory, this should start a server locally to preview your changes.
206
+
To build documentation locally and serve it locally,
207
+
run `mkdocs serve` in the root directory,
208
+
this should start a server locally to preview your changes.
198
209
199
-
```shell
210
+
```bash
200
211
$ mkdocs serve
201
212
INFO - Building documentation...
202
-
WARNING - Config value: 'theme'. Warning: The theme 'united' will be removed in an upcoming MkDocs release. See http://www.mkdocs.org/about/release-notes/ for more details
203
213
INFO - Cleaning site directory
204
214
[I 160505 22:31:24 server:281] Serving on http://127.0.0.1:8000
Copy file name to clipboardexpand all lines: docs/index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
</p>
4
4
5
5
[](https://semaphoreci.com/containous/traefik)
[](https://slack.traefik.io)
Copy file name to clipboardexpand all lines: docs/user-guide/cluster.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@ If this instance fails, another manager will be automatically elected.
26
26
27
27
## Træfik cluster and Let's Encrypt
28
28
29
-
**In cluster mode, ACME certificates have to be stored in [a KV Store entry](/configuration/acme/#storage-kv-entry).**
29
+
**In cluster mode, ACME certificates have to be stored in [a KV Store entry](/configuration/acme/#as-a-key-value-store-entry).**
30
30
31
31
Thanks to the Træfik cluster mode algorithm (based on [the Raft Consensus Algorithm](https://raft.github.io/)), only one instance will contact Let's encrypt to solve the challenges.
32
32
33
-
The others instances will get ACME certificate from the KV Store entry.
33
+
The others instances will get ACME certificate from the KV Store entry.
Copy file name to clipboardexpand all lines: docs/user-guide/kv-config.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ whoami4:
56
56
57
57
### Upload the configuration in the Key-value store
58
58
59
-
We should now fill the store with the Træfik global configuration, as we do with a [TOML file configuration](/toml).
59
+
We should now fill the store with the Træfik global configuration.
60
60
To do that, we can send the Key-value pairs via [curl commands](https://www.consul.io/intro/getting-started/kv.html) or via the [Web UI](https://www.consul.io/intro/getting-started/ui.html).
61
61
62
62
Fortunately, Træfik allows automation of this process using the `storeconfig` subcommand.
@@ -445,4 +445,4 @@ Then remove the line `storageFile = "acme.json"` from your TOML config file.
Copy file name to clipboardexpand all lines: docs/user-guide/marathon.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Following is the order by which Traefik tries to identify the port (the first on
30
30
31
31
## Applications with multiple ports
32
32
33
-
Some Marathon applications may expose multiple ports. Traefik supports creating one so-called _service_ per port using [specific labels](/configuration/backends/marathon#service-level).
33
+
Some Marathon applications may expose multiple ports. Traefik supports creating one so-called _segment_ per port using [segment labels](/configuration/backends/marathon#applications-with-multiple-ports-segment-labels).
34
34
35
35
For instance, assume that a Marathon application exposes a web API on port 80 and an admin interface on port 8080. It would then be possible to make each service available by specifying the following Marathon labels:
0 commit comments