diff --git a/docs/assets/style.css b/docs/assets/style.css index b2e3a8477..001b5c387 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -256,3 +256,48 @@ blockquote.new-as-of { margin-top: 120px; } } + +.rst-versions.rst-badge {display: block;} +.rst-other-versions {text-align: left;} +.rst-other-versions a {border: 0;} +.rst-other-versions dl {margin: 0;} + +.bookmark-added-msg {display: none;} +.bookmark-active {display: none;} +.bookmark-inactive {display: none;} + +.fa:before{-webkit-font-smoothing:antialiased} +.clearfix{*zoom:1} +.clearfix:before,.clearfix:after{display:table;content:""} +.clearfix:after{clear:both} +a .fa{display:inline-block;text-decoration:inherit} +li .fa{display:inline-block} +li .fa-large:before,li .fa-large:before{width:1.875em} +ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em} +ul.fas li .fa{width:0.8em} +ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline} +.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;font-size:13px;z-index:400} +.rst-versions a{color:#2980B9;text-decoration:none} +.rst-versions .rst-badge-small{display:none} +.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1} +.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""} +.rst-versions .rst-current-version:after{clear:both} +.rst-versions .rst-current-version .fa{color:#fcfcfc} +.rst-versions .rst-current-version .fa-book{float:left; line-height: 30px} +.rst-versions .rst-current-version .icon-book{float:left} +.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff} +.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000} +.rst-versions.shift-up .rst-other-versions{display:block} +.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none} +.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d} +.rst-versions .rst-other-versions dd{display:inline-block;margin:0} +.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc} +.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px} +.rst-versions.rst-badge .icon-book{float:none} +.rst-versions.rst-badge .fa-book{float:none} +.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right} +.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left} +.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left} +.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center} +@media screen and (max-width: 768px){.rst-versions{width:85%;display:none} +.rst-versions.shift{display:block}img{width:100%;height:auto}} diff --git a/docs/assets/versions.raw b/docs/assets/versions.raw new file mode 100644 index 000000000..4964ec5d8 --- /dev/null +++ b/docs/assets/versions.raw @@ -0,0 +1,6 @@ +{ + "max-versions": [ + "0.3.26", + "0.4.14" + ] +} diff --git a/docs/development/release-process.md b/docs/development/release-process.md index dd814ee0d..5a7fd3d78 100644 --- a/docs/development/release-process.md +++ b/docs/development/release-process.md @@ -18,6 +18,7 @@ To propose a release, the following tasks need to be performed: - The versioned links should be updated in the `docs/home.html` file. - The versioned links should be updated in the `docs/template.html` file. - The versioned links should be updated in the `docs/template.html` file. +- The versioned links should be updated or added to the `docs/assets/versions.raw` file. - A list of changes must be made in the `HISTORY.md`. - A tag must be created locally with your release version - Debian packages *must* be created via `vagrant up build` diff --git a/docs/template.html b/docs/template.html index d0cc7d147..c1303c225 100644 --- a/docs/template.html +++ b/docs/template.html @@ -34,7 +34,52 @@ +
@@ -106,6 +151,46 @@ + +