mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed commented out and unused code
This commit is contained in:
parent
04e3fc5884
commit
526c663af9
26
.travis.sh
26
.travis.sh
@ -23,25 +23,6 @@
|
||||
# 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() }}
|
||||
# <script>
|
||||
# (function(i,s,o,g,r,a,m){
|
||||
# i["GinsengAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||
|
||||
# []).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
# m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;
|
||||
# m.parentNode.insertBefore(a,m)
|
||||
# })(window, document,
|
||||
# "script", "https://ginseng.ai/analytics.js", "gx");
|
||||
# </script>
|
||||
# {% endblock %}
|
||||
# EOM
|
||||
|
||||
# Deploy documentation to GitHub pages
|
||||
if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||
REMOTE="https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material"
|
||||
@ -54,18 +35,11 @@ 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
|
||||
|
||||
# Build documentation with overrides and publish to GitHub pages
|
||||
mkdocs gh-deploy --force
|
||||
mkdocs --version
|
||||
fi
|
||||
|
||||
# Remove overrides directory so it won't get included in the image
|
||||
# rm -rf overrides
|
||||
|
||||
# Terminate if we're not on a release branch
|
||||
echo "${TRAVIS_BRANCH}" | grep -qvE "^[0-9.]+$" && exit 0; :;
|
||||
|
||||
|
@ -29,7 +29,10 @@ import {
|
||||
} from "rxjs/operators"
|
||||
|
||||
import { Container } from "../../container"
|
||||
import { resetHeaderShadow, setHeaderShadow } from "../element"
|
||||
import {
|
||||
resetHeaderShadow,
|
||||
setHeaderShadow
|
||||
} from "../element"
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Types
|
||||
|
Loading…
Reference in New Issue
Block a user