aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/callout-danger-async-methods.md7
-rw-r--r--docs/_includes/footer.html7
-rw-r--r--docs/_includes/nav-docs.html2
-rw-r--r--docs/_includes/nav-home.html4
4 files changed, 14 insertions, 6 deletions
diff --git a/docs/_includes/callout-danger-async-methods.md b/docs/_includes/callout-danger-async-methods.md
new file mode 100644
index 000000000..f7a76aa4d
--- /dev/null
+++ b/docs/_includes/callout-danger-async-methods.md
@@ -0,0 +1,7 @@
+{% callout danger %}
+#### Asynchronous methods and transitions
+
+All API methods are **asynchronous** and start a **transition**. They returns to the caller as soon as the transition is started but **before it ends**. In addition, a method call on a **transitioning component will be ignored**.
+
+[See our Javascript documentation for more informations.]({{ site.baseurl }}/getting-started/javascript/#content)
+{% endcallout %}
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
index 68626962f..b8603f0d7 100644
--- a/docs/_includes/footer.html
+++ b/docs/_includes/footer.html
@@ -25,9 +25,10 @@
{% if site.github %}
<script src="{{ site.baseurl }}/assets/js/docs.min.js"></script>
{% else %}
- {% for file in site.data.configBridge.paths.docsJs %}
- <script src="{{ site.baseurl }}/{{ file }}"></script>
- {% endfor %}
+ <script src="{{ site.baseurl }}/assets/js/vendor/anchor.min.js"></script>
+ <script src="{{ site.baseurl }}/assets/js/vendor/clipboard.min.js"></script>
+ <script src="{{ site.baseurl }}/assets/js/vendor/holder.min.js"></script>
+ <script src="{{ site.baseurl }}/assets/js/src/application.js"></script>
{% endif %}
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html
index 94d46537d..89ca747a9 100644
--- a/docs/_includes/nav-docs.html
+++ b/docs/_includes/nav-docs.html
@@ -1,4 +1,4 @@
-<form class="bd-search hidden-sm-down">
+<form class="bd-search d-none d-sm-block">
<input type="search" class="form-control" id="search-input" placeholder="Search..." aria-label="Search for..." autocomplete="off">
<div class="dropdown-menu bd-search-results" id="search-results"></div>
</form>
diff --git a/docs/_includes/nav-home.html b/docs/_includes/nav-home.html
index 3ba8520e0..d92fab069 100644
--- a/docs/_includes/nav-home.html
+++ b/docs/_includes/nav-home.html
@@ -1,4 +1,4 @@
-<header class="navbar navbar-light navbar-toggleable-md bd-navbar">
+<header class="navbar navbar-light navbar-expand-md bd-navbar">
<nav class="container">
{% comment %}
<nav class="nav navbar-nav float-right">
@@ -25,7 +25,7 @@
</nav>
{% endcomment %}
- <div class="d-flex justify-content-between hidden-lg-up">
+ <div class="d-flex justify-content-between d-lg-none">
<a class="navbar-brand" href="{{ site.baseurl }}/">
Bootstrap
</a>