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) 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 tabs navigation feature (optional)
* Added Disqus integration (optional)
* Added a high resolution Favicon with the new logo * 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 #175: Tables cannot be set to 100% width
* Fixed #173: Dictionary elements have no bottom spacing * Fixed #173: Dictionary elements have no bottom spacing
* Fixed race conditions in build related to asset revisioning * Fixed race conditions in build related to asset revisioning
* Fixed accidentally re-introduced Permalink on top-level headline * 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 and automated Docker build and PyPI release
* Refactored build scripts * Refactored build scripts
* Refactored styles related to tables
mkdocs-material-1.0.5 (2017-02-18) 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 %} {% endblock %}
</div> </div>
{% block scripts %} {% 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> <script>app.initialize({url:{base:"{{ base_url }}"}})</script>
{% for path in extra_javascript %} {% for path in extra_javascript %}
<script src="{{ path }}"></script> <script src="{{ path }}"></script>

View File

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

View File

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