Skip to content

Commit

Permalink
Merge pull request projectcalico#2122 from tomdee/update-dropdown
Browse files Browse the repository at this point in the history
Release: Update release dropdown to include v3.2
  • Loading branch information
tomdee authored Aug 14, 2018
2 parents ac5f6de + 8e17066 commit 7dbf746
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ release in the documentation. Perform these steps on a branch off of master.

### Promoting to the latest release

1. Add a new `<option>` entry to the `<span class="dropdown">` in `_layouts/docwithnav.html` file.
1. Add TWO new `<option>` entries to the `<span class="dropdown">` in `_layouts/docwithnav.html` file.

1. Modify the redirect in `/index.html` to point to your new release.

Expand Down
5 changes: 3 additions & 2 deletions _layouts/docwithnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Version ({% if page.version == 'master' %}nightly{% else %}{{page.version}}{% endif %})<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{site.baseurl}}/v3.1/introduction">v3.2 (latest)</a></li>
<li><a href="{{site.baseurl}}/v3.2/introduction">v3.2 (latest)</a></li>
<li><a href="{{site.baseurl}}/v3.1/introduction">v3.1</a></li>
<li><a href="{{site.baseurl}}/v3.0/introduction">v3.0</a></li>
<li><a href="{{site.baseurl}}/v2.6/introduction">v2.6</a></li>
Expand Down Expand Up @@ -153,7 +153,8 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Version ({% if page.version == 'master' %}nightly{% else %}{{page.version}}{% endif %})<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{{site.baseurl}}/v3.1/introduction">v3.1 (latest)</a></li>
<li><a href="{{site.baseurl}}/v3.2/introduction">v3.2 (latest)</a></li>
<li><a href="{{site.baseurl}}/v3.1/introduction">v3.1</a></li>
<li><a href="{{site.baseurl}}/v3.0/introduction">v3.0</a></li>
<li><a href="{{site.baseurl}}/v2.6/introduction">v2.6</a></li>
<li><a href="{{site.baseurl}}/v2.5/introduction">v2.5</a></li>
Expand Down

0 comments on commit 7dbf746

Please sign in to comment.