Skip to content

Commit 0ee6973

Browse files
mmaturtraefiker
authored andcommitted
Upgrade docs dependencies and adapt configuration
1 parent 4819974 commit 0ee6973

File tree

4 files changed

+22
-25
lines changed

4 files changed

+22
-25
lines changed

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2017 Containous SAS
3+
Copyright (c) 2016-2018 Containous SAS
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

docs/theme/partials/footer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
IN THE SOFTWARE.
2121
-->
2222

23-
{% import "partials/language.html" as lang %}
23+
{% import "partials/language.html" as lang with context %}
2424

2525
<!-- Application footer -->
2626
<footer class="md-footer">
@@ -97,7 +97,7 @@
9797

9898
<!-- Social links -->
9999
{% block social %}
100-
{% include "partials/social.html" %}
100+
{% include "partials/social.html" %}
101101
{% endblock %}
102102
</div>
103103
</div>

mkdocs.yml

+17-20
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,14 @@ dev_addr: 0.0.0.0:8000
77
repo_name: 'GitHub'
88
repo_url: 'https://github.com/containous/traefik'
99

10-
# Documentation
1110
docs_dir: 'docs'
1211

13-
#theme: united
14-
#theme: readthedocs
15-
theme: 'material'
16-
#theme: bootstrap
17-
18-
site_favicon: 'img/traefik.icon.png'
19-
20-
copyright: "Copyright &copy; 2016-2017 Containous SAS"
21-
22-
google_analytics:
23-
- 'UA-51880359-3'
24-
- 'docs.traefik.io'
25-
26-
# Options
27-
extra:
12+
theme:
13+
name: 'material'
14+
custom_dir: 'docs/theme'
15+
language: en
16+
include_sidebar: true
17+
favicon: img/traefik.icon.png
2818
logo: img/traefik.logo.png
2919
palette:
3020
primary: 'blue'
@@ -37,7 +27,16 @@ extra:
3727
i18n:
3828
prev: 'Previous'
3929
next: 'Next'
30+
31+
copyright: "Copyright &copy; 2016-2018 Containous SAS"
32+
33+
google_analytics:
34+
- 'UA-51880359-3'
35+
- 'docs.traefik.io'
36+
37+
# Options
4038
# Comment because the call of the CDN is very slow.
39+
#extra:
4140
# social:
4241
# - type: 'github'
4342
# link: 'https://github.com/containous/traefik'
@@ -48,8 +47,6 @@ extra:
4847
# - type: 'twitter'
4948
# link: 'https://twitter.com/traefikproxy'
5049

51-
theme_dir: docs/theme/
52-
5350
extra_css:
5451
- theme/styles/extra.css
5552
- theme/styles/atom-one-light.css
@@ -60,8 +57,8 @@ extra_javascript:
6057

6158
markdown_extensions:
6259
- admonition
63-
# - codehilite(guess_lang=false)
64-
- toc(permalink=true)
60+
- toc:
61+
permalink: true
6562

6663
# Page tree
6764
pages:

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mkdocs==0.16.3
1+
mkdocs>=0.17.2
22
pymdown-extensions>=1.4
33
mkdocs-bootswatch>=0.4.0
4-
mkdocs-material==1.12.2
4+
mkdocs-material>=2.2.6

0 commit comments

Comments
 (0)