diff --git a/.travis.sh b/.travis.sh index 3d704a957..9624b352e 100755 --- a/.travis.sh +++ b/.travis.sh @@ -23,24 +23,24 @@ # Exit, if one command fails set -e -# Create directory for overrides, so we don't clutter up the base theme with -# our custom adjustments for our own hosted documentation -mkdir -p overrides -cat > overrides/main.html <<-EOM - {% extends "base.html" %} - {% block scripts %} - {{ super() }} - - {% endblock %} -EOM +# # Create directory for overrides, so we don't clutter up the base theme with +# # our custom adjustments for our own hosted documentation +# mkdir -p overrides +# cat > overrides/main.html <<-EOM +# {% extends "base.html" %} +# {% block scripts %} +# {{ super() }} +# +# {% endblock %} +# EOM # Deploy documentation to GitHub pages if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then @@ -54,9 +54,9 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then # Install Material, so we can use it as a base template and add overrides python setup.py install - # Override theme configuration - sed -i 's/name: null/name: material/g' mkdocs.yml - sed -i 's/custom_dir: material/custom_dir: overrides/g' mkdocs.yml + # # Override theme configuration + # sed -i 's/name: null/name: material/g' mkdocs.yml + # sed -i 's/custom_dir: material/custom_dir: overrides/g' mkdocs.yml # Build documentation with overrides and publish to GitHub pages mkdocs gh-deploy --force diff --git a/material/assets/javascripts/application.e72fd936.js b/material/assets/javascripts/application.a26c1c19.js similarity index 100% rename from material/assets/javascripts/application.e72fd936.js rename to material/assets/javascripts/application.a26c1c19.js diff --git a/material/base.html b/material/base.html index 65eb21c87..9694da464 100644 --- a/material/base.html +++ b/material/base.html @@ -177,7 +177,7 @@ {% endblock %} {% block scripts %} - + {% if lang.t("search.language") != "en" %} {% set languages = lang.t("search.language").split(",") %} {% if languages | length and languages[0] != "" %}