update python mkdocs requirements versions (#1374)

and removed changes made in application JS as the new version of material theme
fixes the issue with hotjar form
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Nicolas MASSART 6 years ago committed by GitHub
parent 890c10a83c
commit a66af2f722
  1. 6
      docs/custom_theme/assets/javascripts/application.c6f2d7d2.js
  2. 28
      docs/custom_theme/main.html
  3. 14
      docs/requirements.txt

File diff suppressed because one or more lines are too long

@ -38,34 +38,6 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/application.c6f2d7d2.js' | url }}"></script>
{% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %}
{% set path = "assets/javascripts/lunr/" %}
<script src="{{ (path ~ 'lunr.stemmer.support.js') | url }}"></script>
{% for language in languages | map("trim") %}
{% if language != "en" %}
{% if language == "ja" %}
<script src="{{ (path ~ 'tinyseg.js') | url }}"></script>
{% endif %}
{% if language in ("da", "de", "es", "fi", "fr", "hu", "it", "ja", "nl", "no", "pt", "ro", "ru", "sv", "th", "tr") %}
<script src="{{ (path ~ 'lunr.' ~ language ~ '.js') | url }}"></script>
{% endif %}
{% endif %}
{% endfor %}
{% if languages | length > 1 %}
<script src="{{ (path ~ 'lunr.multi.js') | url }}"></script>
{% endif %}
{% endif %}
{% endif %}
<script>app.initialize({version:"{{ mkdocs_version }}",url:{base:"{{ base_url }}"}})</script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}
{% endblock %}
{% block analytics %} {% block analytics %}
<!--Empty the footer analytics bloc as we need it the headers --> <!--Empty the footer analytics bloc as we need it the headers -->
{% endblock %} {% endblock %}

@ -1,7 +1,7 @@
mkdocs>=1.0 mkdocs>=1.0.4
pymdown-extensions==6.0 pymdown-extensions>=6.0
mkdocs-material>=4.1 mkdocs-material>=4.2
Markdown==3.0.1 Markdown>=3.1
markdown-fenced-code-tabs==1.0.5 markdown-fenced-code-tabs>=1.0
markdown-include==0.5.1 markdown-include>=0.5
MarkupSafe==1.1.0 MarkupSafe>=1.1

Loading…
Cancel
Save