We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e4b82e commit cfa3e74Copy full SHA for cfa3e74
docs/_includes/sidebar.html
@@ -1,4 +1,13 @@
1
<aside class="col-lg-3 pl-4 pt-1 pb-1 bg-gray">
2
+ <label class="d-flex mr-4 flex-items-center">
3
+ <span class="mr-4">Version</span>
4
+ <select class="flex-1" onchange="window.location.href = this.value">
5
+ <option value="/guide/introduction" {% if page.version == 1 %} selected{% endif %}>v1.x.x</option>
6
+ <option value="/guide-v2/introduction" {% if page.version == 2 %} selected{% endif %}>v2.x.x</option>
7
+ </select>
8
+ </label>
9
+ <br>
10
+
11
<nav class="position-sticky top-100px">
12
<ol class="f3-light ml-4">
13
{% for item in sidebarItems %}
0 commit comments