mirror of
https://github.com/traefik/traefik
synced 2026-02-03 11:10:33 +00:00
chore: apply new documentation style.
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
This commit is contained in:
@@ -1,24 +0,0 @@
|
|||||||
provider/kubernetes/** @containous/kubernetes
|
|
||||||
provider/rancher/** @containous/rancher
|
|
||||||
provider/marathon/** @containous/marathon
|
|
||||||
provider/docker/** @containous/docker
|
|
||||||
|
|
||||||
docs/user-guide/kubernetes.md @containous/kubernetes
|
|
||||||
docs/user-guide/marathon.md @containous/marathon
|
|
||||||
docs/user-guide/swarm.md @containous/docker
|
|
||||||
docs/user-guide/swarm-mode.md @containous/docker
|
|
||||||
|
|
||||||
docs/configuration/backends/docker.md @containous/docker
|
|
||||||
docs/configuration/backends/kubernetes.md @containous/kubernetes
|
|
||||||
docs/configuration/backends/marathon.md @containous/marathon
|
|
||||||
docs/configuration/backends/rancher.md @containous/rancher
|
|
||||||
|
|
||||||
examples/k8s/ @containous/kubernetes
|
|
||||||
examples/compose-k8s.yaml @containous/kubernetes
|
|
||||||
examples/k8s.namespace.yaml @containous/kubernetes
|
|
||||||
examples/compose-rancher.yml @containous/rancher
|
|
||||||
examples/compose-marathon.yml @containous/marathon
|
|
||||||
|
|
||||||
vendor/github.com/gambol99/go-marathon @containous/marathon
|
|
||||||
vendor/github.com/rancher @containous/rancher
|
|
||||||
vendor/k8s.io/ @containous/kubernetes
|
|
||||||
@@ -51,11 +51,3 @@ deploy:
|
|||||||
on:
|
on:
|
||||||
repo: traefik/traefik
|
repo: traefik/traefik
|
||||||
tags: true
|
tags: true
|
||||||
- provider: pages
|
|
||||||
edge: false
|
|
||||||
github_token: ${GITHUB_TOKEN}
|
|
||||||
local_dir: site
|
|
||||||
skip_cleanup: true
|
|
||||||
on:
|
|
||||||
repo: traefik/traefik
|
|
||||||
all_branches: true
|
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|||||||
## Enforcement
|
## Enforcement
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
reported by contacting the project team at contact@containo.us
|
reported by contacting the project team at contact@traefik.io
|
||||||
All complaints will be reviewed and investigated and will result in a response that
|
All complaints will be reviewed and investigated and will result in a response that
|
||||||
is deemed necessary and appropriate to the circumstances. The project team is
|
is deemed necessary and appropriate to the circumstances. The project team is
|
||||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||||
|
|||||||
+1
-1
@@ -158,7 +158,7 @@ Integration tests must be run from the `integration/` directory and require the
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
The [documentation site](https://docs.traefik.io/v1.7/) is built with [mkdocs](https://mkdocs.org/)
|
The [documentation site](https://doc.traefik.io/traefik/v1.7/) is built with [mkdocs](https://mkdocs.org/)
|
||||||
|
|
||||||
### Building Documentation
|
### Building Documentation
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
[](https://semaphoreci.com/containous/traefik)
|
[](https://semaphoreci.com/containous/traefik)
|
||||||
[](https://docs.traefik.io/v1.7)
|
[](https://doc.traefik.io/traefik/v1.7)
|
||||||
[](http://goreportcard.com/report/traefik/traefik)
|
[](http://goreportcard.com/report/traefik/traefik)
|
||||||
[](https://microbadger.com/images/traefik)
|
[](https://microbadger.com/images/traefik)
|
||||||
[](https://github.com/traefik/traefik/blob/master/LICENSE.md)
|
[](https://github.com/traefik/traefik/blob/master/LICENSE.md)
|
||||||
@@ -70,22 +70,22 @@ _(But if you'd rather configure some of your routes manually, Traefik supports t
|
|||||||
|
|
||||||
## Supported Backends
|
## Supported Backends
|
||||||
|
|
||||||
- [Docker](https://docs.traefik.io/v1.7/configuration/backends/docker) / [Swarm mode](https://docs.traefik.io/v1.7/configuration/backends/docker#docker-swarm-mode)
|
- [Docker](https://doc.traefik.io/traefik/v1.7/configuration/backends/docker) / [Swarm mode](https://doc.traefik.io/traefik/v1.7/configuration/backends/docker#docker-swarm-mode)
|
||||||
- [Kubernetes](https://docs.traefik.io/v1.7/configuration/backends/kubernetes)
|
- [Kubernetes](https://doc.traefik.io/traefik/v1.7/configuration/backends/kubernetes)
|
||||||
- [Mesos](https://docs.traefik.io/v1.7/configuration/backends/mesos) / [Marathon](https://docs.traefik.io/v1.7/configuration/backends/marathon)
|
- [Mesos](https://doc.traefik.io/traefik/v1.7/configuration/backends/mesos) / [Marathon](https://doc.traefik.io/traefik/v1.7/configuration/backends/marathon)
|
||||||
- [Rancher](https://docs.traefik.io/v1.7/configuration/backends/rancher) (API, Metadata)
|
- [Rancher](https://doc.traefik.io/traefik/v1.7/configuration/backends/rancher) (API, Metadata)
|
||||||
- [Azure Service Fabric](https://docs.traefik.io/v1.7/configuration/backends/servicefabric)
|
- [Azure Service Fabric](https://doc.traefik.io/traefik/v1.7/configuration/backends/servicefabric)
|
||||||
- [Consul Catalog](https://docs.traefik.io/v1.7/configuration/backends/consulcatalog)
|
- [Consul Catalog](https://doc.traefik.io/traefik/v1.7/configuration/backends/consulcatalog)
|
||||||
- [Consul](https://docs.traefik.io/v1.7/configuration/backends/consul) / [Etcd](https://docs.traefik.io/v1.7/configuration/backends/etcd) / [Zookeeper](https://docs.traefik.io/v1.7/configuration/backends/zookeeper) / [BoltDB](https://docs.traefik.io/v1.7/configuration/backends/boltdb)
|
- [Consul](https://doc.traefik.io/traefik/v1.7/configuration/backends/consul) / [Etcd](https://doc.traefik.io/traefik/v1.7/configuration/backends/etcd) / [Zookeeper](https://doc.traefik.io/traefik/v1.7/configuration/backends/zookeeper) / [BoltDB](https://doc.traefik.io/traefik/v1.7/configuration/backends/boltdb)
|
||||||
- [Eureka](https://docs.traefik.io/v1.7/configuration/backends/eureka)
|
- [Eureka](https://doc.traefik.io/traefik/v1.7/configuration/backends/eureka)
|
||||||
- [Amazon ECS](https://docs.traefik.io/v1.7/configuration/backends/ecs)
|
- [Amazon ECS](https://doc.traefik.io/traefik/v1.7/configuration/backends/ecs)
|
||||||
- [Amazon DynamoDB](https://docs.traefik.io/v1.7/configuration/backends/dynamodb)
|
- [Amazon DynamoDB](https://doc.traefik.io/traefik/v1.7/configuration/backends/dynamodb)
|
||||||
- [File](https://docs.traefik.io/v1.7/configuration/backends/file)
|
- [File](https://doc.traefik.io/traefik/v1.7/configuration/backends/file)
|
||||||
- [Rest](https://docs.traefik.io/v1.7/configuration/backends/rest)
|
- [Rest](https://doc.traefik.io/traefik/v1.7/configuration/backends/rest)
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
To get your hands on Traefik, you can use the [5-Minute Quickstart](http://docs.traefik.io/v1.7/#the-traefik-quickstart-using-docker) in our documentation (you will need Docker).
|
To get your hands on Traefik, you can use the [5-Minute Quickstart](http://doc.traefik.io/traefik/v1.7/#the-traefik-quickstart-using-docker) in our documentation (you will need Docker).
|
||||||
|
|
||||||
Alternatively, if you don't want to install anything on your computer, you can try Traefik online in this great [Katacoda tutorial](https://www.katacoda.com/courses/traefik/deploy-load-balancer) that shows how to load balance requests between multiple Docker containers.
|
Alternatively, if you don't want to install anything on your computer, you can try Traefik online in this great [Katacoda tutorial](https://www.katacoda.com/courses/traefik/deploy-load-balancer) that shows how to load balance requests between multiple Docker containers.
|
||||||
|
|
||||||
@@ -100,7 +100,7 @@ You can access the simple HTML frontend of Traefik.
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
You can find the complete documentation at [https://docs.traefik.io/v1.7](https://docs.traefik.io/v1.7).
|
You can find the complete documentation at [https://doc.traefik.io/traefik/v1.7](https://doc.traefik.io/traefik/v1.7).
|
||||||
A collection of contributions around Traefik can be found at [https://awesome.traefik.io](https://awesome.traefik.io).
|
A collection of contributions around Traefik can be found at [https://awesome.traefik.io](https://awesome.traefik.io).
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
@@ -109,7 +109,7 @@ To get community support, you can:
|
|||||||
- join the Traefik community Slack channel: [](https://slack.traefik.io)
|
- join the Traefik community Slack channel: [](https://slack.traefik.io)
|
||||||
- use [Stack Overflow](https://stackoverflow.com/questions/tagged/traefik) (using the `traefik` tag)
|
- use [Stack Overflow](https://stackoverflow.com/questions/tagged/traefik) (using the `traefik` tag)
|
||||||
|
|
||||||
If you need commercial support, please contact [Containo.us](https://containo.us) by mail: <mailto:support@containo.us>.
|
If you need commercial support, please contact [Traefik.io](https://traefik.io) by mail: <mailto:support@traefik.io>.
|
||||||
|
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
|
|||||||
@@ -352,14 +352,14 @@ func stats(globalConfiguration *configuration.GlobalConfiguration) {
|
|||||||
Stats collection is enabled.
|
Stats collection is enabled.
|
||||||
Many thanks for contributing to Traefik's improvement by allowing us to receive anonymous information from your configuration.
|
Many thanks for contributing to Traefik's improvement by allowing us to receive anonymous information from your configuration.
|
||||||
Help us improve Traefik by leaving this feature on :)
|
Help us improve Traefik by leaving this feature on :)
|
||||||
More details on: https://docs.traefik.io/v1.7/basics/#collected-data
|
More details on: https://doc.traefik.io/traefik/v1.7/basics/#collected-data
|
||||||
`)
|
`)
|
||||||
collect(globalConfiguration)
|
collect(globalConfiguration)
|
||||||
} else {
|
} else {
|
||||||
log.Info(`
|
log.Info(`
|
||||||
Stats collection is disabled.
|
Stats collection is disabled.
|
||||||
Help us improve Traefik by turning this feature on :)
|
Help us improve Traefik by turning this feature on :)
|
||||||
More details on: https://docs.traefik.io/v1.7/basics/#collected-data
|
More details on: https://doc.traefik.io/traefik/v1.7/basics/#collected-data
|
||||||
`)
|
`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Traefik
|
Description=Traefik
|
||||||
Documentation=https://docs.traefik.io/v1.7
|
Documentation=https://doc.traefik.io/traefik/v1.7
|
||||||
#After=network-online.target
|
#After=network-online.target
|
||||||
#AssertFileIsExecutable=/usr/bin/traefik
|
#AssertFileIsExecutable=/usr/bin/traefik
|
||||||
#AssertPathExists=/etc/traefik/traefik.toml
|
#AssertPathExists=/etc/traefik/traefik.toml
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
docs.traefik.io
|
|
||||||
@@ -217,7 +217,7 @@ More information about Docker's security:
|
|||||||
|
|
||||||
!!! note "Improved Security"
|
!!! note "Improved Security"
|
||||||
|
|
||||||
[TraefikEE](https://containo.us/traefikee) solves this problem by separating the control plane (connected to Docker) and the data plane (handling the requests).
|
[Traefik Enterprise](https://traefik.io/traefik-enterprise/) solves this problem by separating the control plane (connected to Docker) and the data plane (handling the requests).
|
||||||
|
|
||||||
Another possible workaround is to expose the Docker socket over TCP, instead of the default Unix socket file.
|
Another possible workaround is to expose the Docker socket over TCP, instead of the default Unix socket file.
|
||||||
It allows different implementation levels of the [AAA (Authentication, Authorization, Accounting) concepts](https://en.wikipedia.org/wiki/AAA_(computer_security)), depending on your security assessment:
|
It allows different implementation levels of the [AAA (Authentication, Authorization, Accounting) concepts](https://en.wikipedia.org/wiki/AAA_(computer_security)), depending on your security assessment:
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
[](/)
|
[](/)
|
||||||
[](https://goreportcard.com/report/github.com/traefik/traefik)
|
[](https://goreportcard.com/report/github.com/traefik/traefik)
|
||||||
[](https://github.com/traefik/traefik/blob/master/LICENSE.md)
|
[](https://github.com/traefik/traefik/blob/master/LICENSE.md)
|
||||||
[](https://community.containo.us/)
|
[](https://community.traefik.io/)
|
||||||
[](https://twitter.com/intent/follow?screen_name=traefik)
|
[](https://twitter.com/intent/follow?screen_name=traefik)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ IP: 172.27.0.4
|
|||||||
|
|
||||||
### 4 — Enjoy Traefik's Magic
|
### 4 — Enjoy Traefik's Magic
|
||||||
|
|
||||||
Now that you have a basic understanding of how Traefik can automatically create the routes to your services and load balance them, it might be time to dive into [the documentation](https://docs.traefik.io/v1.7/) and let Traefik work for you!
|
Now that you have a basic understanding of how Traefik can automatically create the routes to your services and load balance them, it might be time to dive into [the documentation](https://doc.traefik.io/traefik/v1.7/) and let Traefik work for you!
|
||||||
Whatever your infrastructure is, there is probably [an available Traefik backend](https://docs.traefik.io/v1.7/#supported-backends) that will do the job.
|
Whatever your infrastructure is, there is probably [an available Traefik backend](https://doc.traefik.io/traefik/v1.7/#supported-backends) that will do the job.
|
||||||
|
|
||||||
Our recommendation would be to see for yourself how simple it is to enable HTTPS with [Traefik's let's encrypt integration](https://docs.traefik.io/v1.7/user-guide/examples/#lets-encrypt-support) using the dedicated [user guide](https://docs.traefik.io/v1.7/user-guide/docker-and-lets-encrypt/).
|
Our recommendation would be to see for yourself how simple it is to enable HTTPS with [Traefik's let's encrypt integration](https://doc.traefik.io/traefik/v1.7/user-guide/examples/#lets-encrypt-support) using the dedicated [user guide](https://doc.traefik.io/traefik/v1.7/user-guide/docker-and-lets-encrypt/).
|
||||||
|
|||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
site_name: Traefik
|
site_name: Traefik
|
||||||
site_description: Traefik Documentation
|
site_description: Traefik Documentation
|
||||||
site_author: containo.us
|
site_author: traefik.io
|
||||||
site_url: https://docs.traefik.io
|
site_url: https://doc.traefik.io/traefik
|
||||||
dev_addr: 0.0.0.0:8000
|
dev_addr: 0.0.0.0:8000
|
||||||
|
|
||||||
repo_name: 'GitHub'
|
repo_name: 'GitHub'
|
||||||
@@ -31,7 +31,7 @@ copyright: "Copyright © 2016-2019 Containous; 2020 Traefik Labs"
|
|||||||
# only to force the use of the analytics partials
|
# only to force the use of the analytics partials
|
||||||
google_analytics:
|
google_analytics:
|
||||||
- 'UA-51880359-3'
|
- 'UA-51880359-3'
|
||||||
- 'docs.traefik.io'
|
- 'doc.traefik.io'
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
# Comment because the call of the CDN is very slow.
|
# Comment because the call of the CDN is very slow.
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ find "${PATH_TO_SITE}" -type f -not -path "/app/site/theme/*" \
|
|||||||
htmlproofer \
|
htmlproofer \
|
||||||
--check-html \
|
--check-html \
|
||||||
--check_external_hash \
|
--check_external_hash \
|
||||||
--alt_ignore="/traefik.logo.png/" \
|
--alt_ignore="/traefikproxy-vertical-logo-color.svg/" \
|
||||||
--http_status_ignore="0,500,501,503" \
|
--http_status_ignore="0,500,501,503" \
|
||||||
--url-ignore "/https://groups.google.com/a/traefik.io/forum/#!forum/security/,/localhost:/,/127.0.0.1:/,/fonts.gstatic.com/,/.minikube/,/github.com\/containous\/traefik\/*edit*/,/github.com\/containous\/traefik\/,/github.com\/traefik\/traefik\/*edit*/,/github.com\/traefik\/traefik\/$/" \
|
--url-ignore "/https://groups.google.com/a/traefik.io/forum/#!forum/security/,/localhost:/,/127.0.0.1:/,/fonts.gstatic.com/,/.minikube/,/doc.traefik.io\/traefik/,/traefik.io/,/github.com\/traefik\/traefik\/*edit*/,/github.com\/traefik\/traefik\/$/" \
|
||||||
'{}'
|
'{}'
|
||||||
## HTML-proofer options at https://github.com/gjtorikian/html-proofer#configuration
|
## HTML-proofer options at https://github.com/gjtorikian/html-proofer#configuration
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<a class="navbar-item" [href]="releaseLink" target="_blank">
|
<a class="navbar-item" [href]="releaseLink" target="_blank">
|
||||||
{{ version }} / {{ codename }}
|
{{ version }} / {{ codename }}
|
||||||
</a>
|
</a>
|
||||||
<a class="navbar-item" href="https://docs.traefik.io/v1.7" target="_blank">
|
<a class="navbar-item" href="https://doc.traefik.io/traefik/v1.7" target="_blank">
|
||||||
Documentation
|
Documentation
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user