Upgrade docs dependencies and adapt configuration

This commit is contained in:
Michael 2018-01-02 11:28:02 +01:00 committed by Traefiker
parent 4819974a1c
commit 0ee6973e2f
4 changed files with 22 additions and 25 deletions

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2016-2017 Containous SAS Copyright (c) 2016-2018 Containous SAS
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -20,7 +20,7 @@
IN THE SOFTWARE. IN THE SOFTWARE.
--> -->
{% import "partials/language.html" as lang %} {% import "partials/language.html" as lang with context %}
<!-- Application footer --> <!-- Application footer -->
<footer class="md-footer"> <footer class="md-footer">
@ -97,7 +97,7 @@
<!-- Social links --> <!-- Social links -->
{% block social %} {% block social %}
{% include "partials/social.html" %} {% include "partials/social.html" %}
{% endblock %} {% endblock %}
</div> </div>
</div> </div>

View file

@ -7,24 +7,14 @@ dev_addr: 0.0.0.0:8000
repo_name: 'GitHub' repo_name: 'GitHub'
repo_url: 'https://github.com/containous/traefik' repo_url: 'https://github.com/containous/traefik'
# Documentation
docs_dir: 'docs' docs_dir: 'docs'
#theme: united theme:
#theme: readthedocs name: 'material'
theme: 'material' custom_dir: 'docs/theme'
#theme: bootstrap language: en
include_sidebar: true
site_favicon: 'img/traefik.icon.png' favicon: img/traefik.icon.png
copyright: "Copyright &copy; 2016-2017 Containous SAS"
google_analytics:
- 'UA-51880359-3'
- 'docs.traefik.io'
# Options
extra:
logo: img/traefik.logo.png logo: img/traefik.logo.png
palette: palette:
primary: 'blue' primary: 'blue'
@ -37,7 +27,16 @@ extra:
i18n: i18n:
prev: 'Previous' prev: 'Previous'
next: 'Next' next: 'Next'
copyright: "Copyright &copy; 2016-2018 Containous SAS"
google_analytics:
- 'UA-51880359-3'
- 'docs.traefik.io'
# Options
# Comment because the call of the CDN is very slow. # Comment because the call of the CDN is very slow.
#extra:
# social: # social:
# - type: 'github' # - type: 'github'
# link: 'https://github.com/containous/traefik' # link: 'https://github.com/containous/traefik'
@ -48,8 +47,6 @@ extra:
# - type: 'twitter' # - type: 'twitter'
# link: 'https://twitter.com/traefikproxy' # link: 'https://twitter.com/traefikproxy'
theme_dir: docs/theme/
extra_css: extra_css:
- theme/styles/extra.css - theme/styles/extra.css
- theme/styles/atom-one-light.css - theme/styles/atom-one-light.css
@ -60,8 +57,8 @@ extra_javascript:
markdown_extensions: markdown_extensions:
- admonition - admonition
# - codehilite(guess_lang=false) - toc:
- toc(permalink=true) permalink: true
# Page tree # Page tree
pages: pages:

View file

@ -1,4 +1,4 @@
mkdocs==0.16.3 mkdocs>=0.17.2
pymdown-extensions>=1.4 pymdown-extensions>=1.4
mkdocs-bootswatch>=0.4.0 mkdocs-bootswatch>=0.4.0
mkdocs-material==1.12.2 mkdocs-material>=2.2.6