diff --git a/doc/requirements.txt b/doc/requirements.txt index f04797d5331..956df97689b 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,5 +1,4 @@ sphinx sphinxcontrib-programoutput sphinx-rtd-theme -# git+https://github.com/esmci/sphinx_rtd_theme.git@version-dropdown-with-fixes evv4esm diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css deleted file mode 100644 index 662c6280e5d..00000000000 --- a/doc/source/_static/custom.css +++ /dev/null @@ -1,15 +0,0 @@ -#version-dropdown { - position: relative; - display: inline-block; -} - -select { - max-width: 8em; - padding: .1em 1.5em .1em .5em; - text-align: center; - text-align-last: center; - font-family: "Lato", "proxima-nova", "Helvetica Neue", "sans-serif"; - font-size: 1em; - font-weight: normal; - border-radius: .4em; -} diff --git a/doc/source/_static/pop_ver.js b/doc/source/_static/pop_ver.js deleted file mode 100644 index 696652411cd..00000000000 --- a/doc/source/_static/pop_ver.js +++ /dev/null @@ -1,23 +0,0 @@ -$(document).ready(function() { - $(".version").html("
"); - - var version_json_loc = "../../versions.json"; - var versionList = $("#version-list"); - var baseUriRegex = /(.*\/cime\/versions).*/g; - //var baseUri = baseUriRegex.exec("https://esmci.github.io/cime/versions/master/html/index.html"); - var baseUri = baseUriRegex.exec(document.baseURI); - - if (baseUri == null && baseUri.length != 2) { - return; - } - - versionList.change(function() { - window.location = this.value; - }); - - $.getJSON(version_json_loc, function(data) { - $.each(data, function(version_dir, version_name) { - versionList.append($("