Deactivate tabs by default

This commit is contained in:
squidfunk 2017-02-26 15:30:48 +01:00
parent d52f605200
commit 842146183d
6 changed files with 12 additions and 12 deletions

View File

@ -1,16 +1,17 @@
mkdocs-material-1.1.0 (2017-xx-xx)
* Added static type checking using Facebook's Flow
* Added Disqus integration (optional)
* Added tabs navigation feature (optional)
* Added Disqus integration (optional)
* Added a high resolution Favicon with the new logo
* Added static type checking using Facebook's Flow
* Fixed #175: Tables cannot be set to 100% width
* Fixed #173: Dictionary elements have no bottom spacing
* Fixed race conditions in build related to asset revisioning
* Fixed accidentally re-introduced Permalink on top-level headline
* Fixed alignment of logo in drawer on IE11
* Refactored styles related to tables
* Refactored and automated Docker build and PyPI release
* Refactored build scripts
* Refactored styles related to tables
mkdocs-material-1.0.5 (2017-02-18)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -143,7 +143,7 @@
{% endblock %}
</div>
{% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application-6da1e0a63e.js"></script>
<script src="{{ base_url }}/assets/javascripts/application-30ac6a1727.js"></script>
<script>app.initialize({url:{base:"{{ base_url }}"}})</script>
{% for path in extra_javascript %}
<script src="{{ path }}"></script>

View File

@ -36,8 +36,6 @@ theme_dir: material
# Options
extra:
feature:
tabs: true
palette:
primary: indigo
accent: indigo

View File

@ -90,9 +90,10 @@ function initialize(config) { // eslint-disable-line func-style
], new Material.Header.Shadow("[data-md-component=container]")))
/* Component: tabs visibility toggle */
new Material.Event.Listener(window, [
"scroll", "resize", "orientationchange"
], new Material.Tabs.Toggle("[data-md-component=tabs]")).listen()
if (document.querySelector("[data-md-component=tabs]"))
new Material.Event.Listener(window, [
"scroll", "resize", "orientationchange"
], new Material.Tabs.Toggle("[data-md-component=tabs]")).listen()
/* Component: sidebar with navigation */
new Material.Event.MatchMedia("(min-width: 1220px)",