Skip to content

Commit

Permalink
update python mkdocs requirements versions (PegaSysEng#1374)
Browse files Browse the repository at this point in the history
and removed changes made in application JS as the new version of material theme
fixes the issue with hotjar form
  • Loading branch information
NicolasMassart authored and notlesh committed May 14, 2019
1 parent b9384c3 commit fbe2656
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 41 deletions.
6 changes: 0 additions & 6 deletions docs/custom_theme/assets/javascripts/application.c6f2d7d2.js

This file was deleted.

28 changes: 0 additions & 28 deletions docs/custom_theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,34 +38,6 @@
{% endif %}
{% 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 %}
<!--Empty the footer analytics bloc as we need it the headers -->
{% endblock %}
14 changes: 7 additions & 7 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mkdocs>=1.0
pymdown-extensions==6.0
mkdocs-material>=4.1
Markdown==3.0.1
markdown-fenced-code-tabs==1.0.5
markdown-include==0.5.1
MarkupSafe==1.1.0
mkdocs>=1.0.4
pymdown-extensions>=6.0
mkdocs-material>=4.2
Markdown>=3.1
markdown-fenced-code-tabs>=1.0
markdown-include>=0.5
MarkupSafe>=1.1

0 comments on commit fbe2656

Please sign in to comment.