Merge branch 'master' of git.icecoredata.org:arctic-data-workshop/arctic-data-workshop-repo
Showing
73 changed files
with
2598 additions
and
0 deletions
This file is too large to display.
No preview for this file type
This diff could not be displayed because it is too large.
This file is too large to display.
examples/python/anaconda.2019.03/linux/Installing on Linux — Anaconda 2.0 documentation.html
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 1 | +.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") format("woff"),url("../fonts/fontawesome-webfont.ttf") format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}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:.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;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}.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{height:auto;max-height:100%}.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}} |
| 1 | +/* | ||
| 2 | + * doctools.js | ||
| 3 | + * ~~~~~~~~~~~ | ||
| 4 | + * | ||
| 5 | + * Sphinx JavaScript utilities for all documentation. | ||
| 6 | + * | ||
| 7 | + * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. | ||
| 8 | + * :license: BSD, see LICENSE for details. | ||
| 9 | + * | ||
| 10 | + */ | ||
| 11 | + | ||
| 12 | +/** | ||
| 13 | + * select a different prefix for underscore | ||
| 14 | + */ | ||
| 15 | +$u = _.noConflict(); | ||
| 16 | + | ||
| 17 | +/** | ||
| 18 | + * make the code below compatible with browsers without | ||
| 19 | + * an installed firebug like debugger | ||
| 20 | +if (!window.console || !console.firebug) { | ||
| 21 | + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", | ||
| 22 | + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", | ||
| 23 | + "profile", "profileEnd"]; | ||
| 24 | + window.console = {}; | ||
| 25 | + for (var i = 0; i < names.length; ++i) | ||
| 26 | + window.console[names[i]] = function() {}; | ||
| 27 | +} | ||
| 28 | + */ | ||
| 29 | + | ||
| 30 | +/** | ||
| 31 | + * small helper function to urldecode strings | ||
| 32 | + */ | ||
| 33 | +jQuery.urldecode = function(x) { | ||
| 34 | + return decodeURIComponent(x).replace(/\+/g, ' '); | ||
| 35 | +}; | ||
| 36 | + | ||
| 37 | +/** | ||
| 38 | + * small helper function to urlencode strings | ||
| 39 | + */ | ||
| 40 | +jQuery.urlencode = encodeURIComponent; | ||
| 41 | + | ||
| 42 | +/** | ||
| 43 | + * This function returns the parsed url parameters of the | ||
| 44 | + * current request. Multiple values per key are supported, | ||
| 45 | + * it will always return arrays of strings for the value parts. | ||
| 46 | + */ | ||
| 47 | +jQuery.getQueryParameters = function(s) { | ||
| 48 | + if (typeof s === 'undefined') | ||
| 49 | + s = document.location.search; | ||
| 50 | + var parts = s.substr(s.indexOf('?') + 1).split('&'); | ||
| 51 | + var result = {}; | ||
| 52 | + for (var i = 0; i < parts.length; i++) { | ||
| 53 | + var tmp = parts[i].split('=', 2); | ||
| 54 | + var key = jQuery.urldecode(tmp[0]); | ||
| 55 | + var value = jQuery.urldecode(tmp[1]); | ||
| 56 | + if (key in result) | ||
| 57 | + result[key].push(value); | ||
| 58 | + else | ||
| 59 | + result[key] = [value]; | ||
| 60 | + } | ||
| 61 | + return result; | ||
| 62 | +}; | ||
| 63 | + | ||
| 64 | +/** | ||
| 65 | + * highlight a given string on a jquery object by wrapping it in | ||
| 66 | + * span elements with the given class name. | ||
| 67 | + */ | ||
| 68 | +jQuery.fn.highlightText = function(text, className) { | ||
| 69 | + function highlight(node, addItems) { | ||
| 70 | + if (node.nodeType === 3) { | ||
| 71 | + var val = node.nodeValue; | ||
| 72 | + var pos = val.toLowerCase().indexOf(text); | ||
| 73 | + if (pos >= 0 && | ||
| 74 | + !jQuery(node.parentNode).hasClass(className) && | ||
| 75 | + !jQuery(node.parentNode).hasClass("nohighlight")) { | ||
| 76 | + var span; | ||
| 77 | + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); | ||
| 78 | + if (isInSVG) { | ||
| 79 | + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); | ||
| 80 | + } else { | ||
| 81 | + span = document.createElement("span"); | ||
| 82 | + span.className = className; | ||
| 83 | + } | ||
| 84 | + span.appendChild(document.createTextNode(val.substr(pos, text.length))); | ||
| 85 | + node.parentNode.insertBefore(span, node.parentNode.insertBefore( | ||
| 86 | + document.createTextNode(val.substr(pos + text.length)), | ||
| 87 | + node.nextSibling)); | ||
| 88 | + node.nodeValue = val.substr(0, pos); | ||
| 89 | + if (isInSVG) { | ||
| 90 | + var bbox = span.getBBox(); | ||
| 91 | + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); | ||
| 92 | + rect.x.baseVal.value = bbox.x; | ||
| 93 | + rect.y.baseVal.value = bbox.y; | ||
| 94 | + rect.width.baseVal.value = bbox.width; | ||
| 95 | + rect.height.baseVal.value = bbox.height; | ||
| 96 | + rect.setAttribute('class', className); | ||
| 97 | + var parentOfText = node.parentNode.parentNode; | ||
| 98 | + addItems.push({ | ||
| 99 | + "parent": node.parentNode, | ||
| 100 | + "target": rect}); | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + } | ||
| 104 | + else if (!jQuery(node).is("button, select, textarea")) { | ||
| 105 | + jQuery.each(node.childNodes, function() { | ||
| 106 | + highlight(this, addItems); | ||
| 107 | + }); | ||
| 108 | + } | ||
| 109 | + } | ||
| 110 | + var addItems = []; | ||
| 111 | + var result = this.each(function() { | ||
| 112 | + highlight(this, addItems); | ||
| 113 | + }); | ||
| 114 | + for (var i = 0; i < addItems.length; ++i) { | ||
| 115 | + jQuery(addItems[i].parent).before(addItems[i].target); | ||
| 116 | + } | ||
| 117 | + return result; | ||
| 118 | +}; | ||
| 119 | + | ||
| 120 | +/* | ||
| 121 | + * backward compatibility for jQuery.browser | ||
| 122 | + * This will be supported until firefox bug is fixed. | ||
| 123 | + */ | ||
| 124 | +if (!jQuery.browser) { | ||
| 125 | + jQuery.uaMatch = function(ua) { | ||
| 126 | + ua = ua.toLowerCase(); | ||
| 127 | + | ||
| 128 | + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || | ||
| 129 | + /(webkit)[ \/]([\w.]+)/.exec(ua) || | ||
| 130 | + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || | ||
| 131 | + /(msie) ([\w.]+)/.exec(ua) || | ||
| 132 | + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || | ||
| 133 | + []; | ||
| 134 | + | ||
| 135 | + return { | ||
| 136 | + browser: match[ 1 ] || "", | ||
| 137 | + version: match[ 2 ] || "0" | ||
| 138 | + }; | ||
| 139 | + }; | ||
| 140 | + jQuery.browser = {}; | ||
| 141 | + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; | ||
| 142 | +} | ||
| 143 | + | ||
| 144 | +/** | ||
| 145 | + * Small JavaScript module for the documentation. | ||
| 146 | + */ | ||
| 147 | +var Documentation = { | ||
| 148 | + | ||
| 149 | + init : function() { | ||
| 150 | + this.fixFirefoxAnchorBug(); | ||
| 151 | + this.highlightSearchWords(); | ||
| 152 | + this.initIndexTable(); | ||
| 153 | + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { | ||
| 154 | + this.initOnKeyListeners(); | ||
| 155 | + } | ||
| 156 | + }, | ||
| 157 | + | ||
| 158 | + /** | ||
| 159 | + * i18n support | ||
| 160 | + */ | ||
| 161 | + TRANSLATIONS : {}, | ||
| 162 | + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, | ||
| 163 | + LOCALE : 'unknown', | ||
| 164 | + | ||
| 165 | + // gettext and ngettext don't access this so that the functions | ||
| 166 | + // can safely bound to a different name (_ = Documentation.gettext) | ||
| 167 | + gettext : function(string) { | ||
| 168 | + var translated = Documentation.TRANSLATIONS[string]; | ||
| 169 | + if (typeof translated === 'undefined') | ||
| 170 | + return string; | ||
| 171 | + return (typeof translated === 'string') ? translated : translated[0]; | ||
| 172 | + }, | ||
| 173 | + | ||
| 174 | + ngettext : function(singular, plural, n) { | ||
| 175 | + var translated = Documentation.TRANSLATIONS[singular]; | ||
| 176 | + if (typeof translated === 'undefined') | ||
| 177 | + return (n == 1) ? singular : plural; | ||
| 178 | + return translated[Documentation.PLURALEXPR(n)]; | ||
| 179 | + }, | ||
| 180 | + | ||
| 181 | + addTranslations : function(catalog) { | ||
| 182 | + for (var key in catalog.messages) | ||
| 183 | + this.TRANSLATIONS[key] = catalog.messages[key]; | ||
| 184 | + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); | ||
| 185 | + this.LOCALE = catalog.locale; | ||
| 186 | + }, | ||
| 187 | + | ||
| 188 | + /** | ||
| 189 | + * add context elements like header anchor links | ||
| 190 | + */ | ||
| 191 | + addContextElements : function() { | ||
| 192 | + $('div[id] > :header:first').each(function() { | ||
| 193 | + $('<a class="headerlink">\u00B6</a>'). | ||
| 194 | + attr('href', '#' + this.id). | ||
| 195 | + attr('title', _('Permalink to this headline')). | ||
| 196 | + appendTo(this); | ||
| 197 | + }); | ||
| 198 | + $('dt[id]').each(function() { | ||
| 199 | + $('<a class="headerlink">\u00B6</a>'). | ||
| 200 | + attr('href', '#' + this.id). | ||
| 201 | + attr('title', _('Permalink to this definition')). | ||
| 202 | + appendTo(this); | ||
| 203 | + }); | ||
| 204 | + }, | ||
| 205 | + | ||
| 206 | + /** | ||
| 207 | + * workaround a firefox stupidity | ||
| 208 | + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 | ||
| 209 | + */ | ||
| 210 | + fixFirefoxAnchorBug : function() { | ||
| 211 | + if (document.location.hash && $.browser.mozilla) | ||
| 212 | + window.setTimeout(function() { | ||
| 213 | + document.location.href += ''; | ||
| 214 | + }, 10); | ||
| 215 | + }, | ||
| 216 | + | ||
| 217 | + /** | ||
| 218 | + * highlight the search words provided in the url in the text | ||
| 219 | + */ | ||
| 220 | + highlightSearchWords : function() { | ||
| 221 | + var params = $.getQueryParameters(); | ||
| 222 | + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; | ||
| 223 | + if (terms.length) { | ||
| 224 | + var body = $('div.body'); | ||
| 225 | + if (!body.length) { | ||
| 226 | + body = $('body'); | ||
| 227 | + } | ||
| 228 | + window.setTimeout(function() { | ||
| 229 | + $.each(terms, function() { | ||
| 230 | + body.highlightText(this.toLowerCase(), 'highlighted'); | ||
| 231 | + }); | ||
| 232 | + }, 10); | ||
| 233 | + $('<p class="highlight-link"><a href="javascript:Documentation.' + | ||
| 234 | + 'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>') | ||
| 235 | + .appendTo($('#searchbox')); | ||
| 236 | + } | ||
| 237 | + }, | ||
| 238 | + | ||
| 239 | + /** | ||
| 240 | + * init the domain index toggle buttons | ||
| 241 | + */ | ||
| 242 | + initIndexTable : function() { | ||
| 243 | + var togglers = $('img.toggler').click(function() { | ||
| 244 | + var src = $(this).attr('src'); | ||
| 245 | + var idnum = $(this).attr('id').substr(7); | ||
| 246 | + $('tr.cg-' + idnum).toggle(); | ||
| 247 | + if (src.substr(-9) === 'minus.png') | ||
| 248 | + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); | ||
| 249 | + else | ||
| 250 | + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); | ||
| 251 | + }).css('display', ''); | ||
| 252 | + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { | ||
| 253 | + togglers.click(); | ||
| 254 | + } | ||
| 255 | + }, | ||
| 256 | + | ||
| 257 | + /** | ||
| 258 | + * helper function to hide the search marks again | ||
| 259 | + */ | ||
| 260 | + hideSearchWords : function() { | ||
| 261 | + $('#searchbox .highlight-link').fadeOut(300); | ||
| 262 | + $('span.highlighted').removeClass('highlighted'); | ||
| 263 | + }, | ||
| 264 | + | ||
| 265 | + /** | ||
| 266 | + * make the url absolute | ||
| 267 | + */ | ||
| 268 | + makeURL : function(relativeURL) { | ||
| 269 | + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; | ||
| 270 | + }, | ||
| 271 | + | ||
| 272 | + /** | ||
| 273 | + * get the current relative url | ||
| 274 | + */ | ||
| 275 | + getCurrentURL : function() { | ||
| 276 | + var path = document.location.pathname; | ||
| 277 | + var parts = path.split(/\//); | ||
| 278 | + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { | ||
| 279 | + if (this === '..') | ||
| 280 | + parts.pop(); | ||
| 281 | + }); | ||
| 282 | + var url = parts.join('/'); | ||
| 283 | + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); | ||
| 284 | + }, | ||
| 285 | + | ||
| 286 | + initOnKeyListeners: function() { | ||
| 287 | + $(document).keyup(function(event) { | ||
| 288 | + var activeElementType = document.activeElement.tagName; | ||
| 289 | + // don't navigate when in search box or textarea | ||
| 290 | + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { | ||
| 291 | + switch (event.keyCode) { | ||
| 292 | + case 37: // left | ||
| 293 | + var prevHref = $('link[rel="prev"]').prop('href'); | ||
| 294 | + if (prevHref) { | ||
| 295 | + window.location.href = prevHref; | ||
| 296 | + return false; | ||
| 297 | + } | ||
| 298 | + case 39: // right | ||
| 299 | + var nextHref = $('link[rel="next"]').prop('href'); | ||
| 300 | + if (nextHref) { | ||
| 301 | + window.location.href = nextHref; | ||
| 302 | + return false; | ||
| 303 | + } | ||
| 304 | + } | ||
| 305 | + } | ||
| 306 | + }); | ||
| 307 | + } | ||
| 308 | +}; | ||
| 309 | + | ||
| 310 | +// quick alias for translations | ||
| 311 | +_ = Documentation.gettext; | ||
| 312 | + | ||
| 313 | +$(document).ready(function() { | ||
| 314 | + Documentation.init(); | ||
| 315 | +}); |
| 1 | +var DOCUMENTATION_OPTIONS = { | ||
| 2 | + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), | ||
| 3 | + VERSION: '2.0', | ||
| 4 | + LANGUAGE: 'en', | ||
| 5 | + COLLAPSE_INDEX: false, | ||
| 6 | + FILE_SUFFIX: '', | ||
| 7 | + HAS_SOURCE: true, | ||
| 8 | + SOURCELINK_SUFFIX: '.txt', | ||
| 9 | + NAVIGATION_WITH_KEYS: false, | ||
| 10 | +}; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 1 | +<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 877 78" x="0px" y="0px" xml:space="preserve" preserveAspectRatio="xMinYMid"><defs><style>.cls-1{fill:#3fae2a;}</style></defs><path class="cls-1" d="M114.56,20.85a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4H101a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1h4.8a.93.93,0,0,0,.9-1.4Zm-6.8,25.2,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M166.66,20.85h-5a1,1,0,0,0-1,1v22.6h-.1l-22.8-24.2h-1.4a1,1,0,0,0-1,1v36.8a1.08,1.08,0,0,0,1,1h5a1,1,0,0,0,1-1V34.55h.1l22.9,25.1h1.3a1,1,0,0,0,1-1V21.85A.94.94,0,0,0,166.66,20.85Z"/><path class="cls-1" d="M191.26,20.85a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4h4.8a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1h4.8a.93.93,0,0,0,.9-1.4Zm-6.8,25.2,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M238.06,49.35a1.06,1.06,0,0,0-1.4,0,13,13,0,0,1-8.4,3.1A12.42,12.42,0,0,1,216,39.85c0-6.9,5.2-12.8,12.2-12.8a12.91,12.91,0,0,1,8.4,3.2,1,1,0,0,0,1.4,0l3.3-3.4a1,1,0,0,0-.1-1.5,18.6,18.6,0,0,0-13.2-5.1,19.7,19.7,0,1,0,0,39.4,18.74,18.74,0,0,0,13.3-5.3,1.09,1.09,0,0,0,.1-1.5Z"/><path class="cls-1" d="M264,20.25a19.7,19.7,0,1,0,19.7,19.8A19.61,19.61,0,0,0,264,20.25Zm0,32.3a12.55,12.55,0,0,1,0-25.1,12.55,12.55,0,1,1,0,25.1Z"/><path class="cls-1" d="M321,20.85h-5a1,1,0,0,0-1,1v22.6h-.1l-22.8-24.2h-1.4a1,1,0,0,0-1,1v36.8a1.08,1.08,0,0,0,1,1h5a1,1,0,0,0,1-1V34.55h.1l22.9,25.1H321a1,1,0,0,0,1-1V21.85A1.08,1.08,0,0,0,321,20.85Z"/><path class="cls-1" d="M342.86,20.85h-13a1.08,1.08,0,0,0-1,1v36.2a1,1,0,0,0,1,1h13a19.1,19.1,0,1,0,0-38.2Zm-.6,31.6H336v-25h6.2A12.09,12.09,0,0,1,354.46,40,12,12,0,0,1,342.26,52.45Z"/><path class="cls-1" d="M398.66,57.75,381.76,21a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4h4.8a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1H398A.94.94,0,0,0,398.66,57.75Zm-23.6-11.7,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M405.46,58.55h.3a.22.22,0,0,0,.2-.2v-1h.6l.4,1.1c0,.1.1.1.2.1h.4a.22.22,0,0,0,.2-.2c-.2-.3-.3-.7-.5-1a1,1,0,0,0,.7-1,1,1,0,0,0-1.1-1.1h-1.3a.22.22,0,0,0-.2.2v2.9C405.36,58.45,405.36,58.55,405.46,58.55Zm.5-2.7h.8a.37.37,0,0,1,.4.4.43.43,0,0,1-.4.4H406Z"/><path class="cls-1" d="M406.46,60.15a3.16,3.16,0,0,0,3.2-3.2,3.2,3.2,0,1,0-3.2,3.2Zm0-5.9a2.6,2.6,0,1,1-2.6,2.6A2.65,2.65,0,0,1,406.46,54.25Z"/><path class="cls-1" d="M24.46,57.65v-.2a36.79,36.79,0,0,1,.5-5.8v-.2l-.2-.1a49.67,49.67,0,0,1-5.2-2.5l-.2-.1-.1.2a53.76,53.76,0,0,0-2.8,7l-.1.2.2.1a39.14,39.14,0,0,0,7.6,1.4Z"/><path class="cls-1" d="M29.66,23.45h0c-1.5,0-2.9.1-4.4.2a33.92,33.92,0,0,0,.8,4.4A20.36,20.36,0,0,1,29.66,23.45Z"/><path class="cls-1" d="M24.46,59.45v-.2h-.2a51.94,51.94,0,0,1-6.5-1.1l-.6-.1.3.5a34.87,34.87,0,0,0,7.1,7.8l.4.4v-.7A51.43,51.43,0,0,1,24.46,59.45Z"/><path class="cls-1" d="M35,7.75a33.78,33.78,0,0,0-7.4,3.6,47,47,0,0,1,5.1,1.2A52.38,52.38,0,0,1,35,7.75Z"/><path class="cls-1" d="M45.86,6c-1.3,0-2.6.1-3.8.2a39.81,39.81,0,0,1,5.1,4.1l1.3,1.2-1.3,1.3a34.66,34.66,0,0,0-3.2,3.4v.1a6.12,6.12,0,0,0-.5.6,19.27,19.27,0,0,1,2.4-.1,23,23,0,1,1,0,46,22.39,22.39,0,0,1-12-3.4,45.33,45.33,0,0,1-5.2.3,19.27,19.27,0,0,1-2.4-.1,78.24,78.24,0,0,0,.7,8.1,33.26,33.26,0,0,0,18.9,5.8,33.75,33.75,0,1,0,0-67.5Z"/><path class="cls-1" d="M41.36,14c.7-.8,1.4-1.6,2.1-2.3a58.59,58.59,0,0,0-5-3.7,41.8,41.8,0,0,0-2.8,5.6c1.5.6,3,1.2,4.5,1.9C40.76,14.65,41.26,14.05,41.36,14Z"/><path class="cls-1" d="M18.46,33.25l.1.2.2-.1a50.41,50.41,0,0,1,4.9-3.1l.2-.1V30a38.39,38.39,0,0,1-1.1-5.9v-.2h-.2a43.62,43.62,0,0,0-7.3,2l-.2.1.1.2A30.3,30.3,0,0,0,18.46,33.25Z"/><path class="cls-1" d="M18.06,36.45l-.2.2a47,47,0,0,0-5.1,4.9l-.2.2.2.2a58.38,58.38,0,0,0,5.6,4.2l.2.1.1-.2a45.3,45.3,0,0,1,3-4.6l.1-.2-.1-.1a52,52,0,0,1-3.5-4.4Z"/><path class="cls-1" d="M31.36,57.75H32l-.5-.4a20.73,20.73,0,0,1-4.6-5.2v-.1l-.4-.2v.3a45.53,45.53,0,0,0-.4,5.3v.2h.2c.8,0,1.6.1,2.4.1A12.19,12.19,0,0,0,31.36,57.75Z"/><path class="cls-1" d="M30.26,20.45a39.43,39.43,0,0,1,1.4-4.9,46.94,46.94,0,0,0-6.5-1.4,48.47,48.47,0,0,0-.1,6.6A44.05,44.05,0,0,1,30.26,20.45Z"/><path class="cls-1" d="M33.46,20.35a29.18,29.18,0,0,1,4.7-2.3,27.49,27.49,0,0,0-3.6-1.5C34.16,17.75,33.76,19.05,33.46,20.35Z"/><path class="cls-1" d="M17.76,47.75l-.2-.1a57.36,57.36,0,0,1-5-3.6l-.5-.4.1.6a31.56,31.56,0,0,0,2.7,9.4l.2.5.2-.5a55.47,55.47,0,0,1,2.4-5.6Z"/><path class="cls-1" d="M22.06,15.75a33.47,33.47,0,0,0-5.2,6.7c1.7-.5,3.5-.9,5.3-1.3C22.06,19.35,22.06,17.55,22.06,15.75Z"/><path class="cls-1" d="M23.06,39.45v-.6a23.54,23.54,0,0,1,1-6l.2-.6-.5.3c-1.3.8-2.6,1.6-3.9,2.5l-.2.1.3.2c.9,1.2,1.8,2.5,2.8,3.6Z"/><path class="cls-1" d="M23.36,43l-.1-.6-.3.5c-.9,1.3-1.8,2.7-2.6,4.1l-.1.2.2.1c1.4.8,2.9,1.5,4.4,2.2l.5.2-.2-.5A23.11,23.11,0,0,1,23.36,43Z"/><path class="cls-1" d="M16.76,34.85l.2-.1-.1-.2a54.49,54.49,0,0,1-2.9-5.3l-.2-.5-.2.6a33.77,33.77,0,0,0-1.6,9.5v.6l.4-.4A24.93,24.93,0,0,1,16.76,34.85Z"/><path class="cls-1" d="M419.48,22.87a1,1,0,0,1,1-1H433A18.55,18.55,0,1,1,433,59H420.43a1,1,0,0,1-1-1Zm12.88,29.62c6.89,0,11.92-5.19,11.92-12.13a11.69,11.69,0,0,0-11.92-12.08h-6V52.49Z"/><path class="cls-1" d="M475,21.33a19.08,19.08,0,1,1-19,19.13A19,19,0,0,1,475,21.33Zm0,31.27a12.19,12.19,0,1,0-12.14-12.14A12.21,12.21,0,0,0,475,52.59Z"/><path class="cls-1" d="M517.42,21.33a17.94,17.94,0,0,1,12.83,4.93,1,1,0,0,1,.05,1.48l-3.23,3.34a.85.85,0,0,1-1.33,0A12.54,12.54,0,0,0,517.58,28c-6.78,0-11.82,5.67-11.82,12.35a12,12,0,0,0,11.87,12.24,12.72,12.72,0,0,0,8.11-3,1,1,0,0,1,1.33,0l3.29,3.39a1,1,0,0,1-.05,1.43,18.19,18.19,0,0,1-12.88,5.14,19.08,19.08,0,1,1,0-38.16Z"/><path class="cls-1" d="M536.71,22.87a1,1,0,0,1,1-1h5a1,1,0,0,1,1,1V44.54c0,4.5,3.07,8.05,7.68,8.05a7.64,7.64,0,0,0,7.74-8V22.87a1,1,0,0,1,1-1h5a1,1,0,0,1,1,1v22a14.76,14.76,0,0,1-29.52,0Z"/><path class="cls-1" d="M579.22,22.12a.89.89,0,0,1,1-.79H581a1,1,0,0,1,.9.53l11.66,25h.16l11.66-25a.91.91,0,0,1,.9-.53h.85a.89.89,0,0,1,1,.79l6.25,35.61a.92.92,0,0,1-1,1.22h-4.82a1.15,1.15,0,0,1-1-.79l-3.13-20.08h-.16L595,58.9a.9.9,0,0,1-.9.58h-1a1,1,0,0,1-.9-.58l-9.38-20.83h-.16l-3.07,20.08a1,1,0,0,1-1,.79h-4.77a1,1,0,0,1-1-1.22Z"/><path class="cls-1" d="M621.62,22.87a1,1,0,0,1,1-1h21.57a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1H628.51v8.69H641.6a1,1,0,0,1,1,1v4.4a1,1,0,0,1-1,1H628.51v9.27h15.69a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1H622.63a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M652.78,22.28a1,1,0,0,1,1-1h1.33l22,23.42h.05V22.87a1,1,0,0,1,1-1h4.88a1,1,0,0,1,1,1V58.53a1,1,0,0,1-1,1h-1.27L659.67,35.16h-.05V57.95a1,1,0,0,1-1,1h-4.82a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M698.73,28.22h-8.11a1,1,0,0,1-1-1V22.87a1,1,0,0,1,1-1h23.16a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1h-8.11V57.95a1,1,0,0,1-1,1h-4.93a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M713.47,57.58l16.48-35.66a1,1,0,0,1,.9-.58h.53a.9.9,0,0,1,.9.58L748.6,57.58a.94.94,0,0,1-.9,1.38h-4.61a1.52,1.52,0,0,1-1.54-1.06L739,52.17H723.11l-2.6,5.72A1.6,1.6,0,0,1,719,59h-4.61A.94.94,0,0,1,713.47,57.58Zm22.89-11.29-5.3-11.66h-.16l-5.19,11.66Z"/><path class="cls-1" d="M756.45,28.22h-8.11a1,1,0,0,1-1-1V22.87a1,1,0,0,1,1-1H771.5a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1h-8.11V57.95a1,1,0,0,1-1,1h-4.93a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M778,22.87a1,1,0,0,1,1-1H784a1,1,0,0,1,1,1V57.95a1,1,0,0,1-1,1H779a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M811,21.33a19.08,19.08,0,1,1-19,19.13A19,19,0,0,1,811,21.33Zm0,31.27a12.19,12.19,0,1,0-12.14-12.14A12.21,12.21,0,0,0,811,52.59Z"/><path class="cls-1" d="M837,22.28a1,1,0,0,1,1-1h1.33l22,23.42h.05V22.87a1,1,0,0,1,1-1h4.88a1,1,0,0,1,1,1V58.53a1,1,0,0,1-1,1H866L843.9,35.16h-.05V57.95a1,1,0,0,1-1,1H838a1,1,0,0,1-1-1Z"/></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +.highlight .hll { background-color: #ffffcc } | ||
| 2 | +.highlight { background: #eeffcc; } | ||
| 3 | +.highlight .c { color: #408090; font-style: italic } /* Comment */ | ||
| 4 | +.highlight .err { border: 1px solid #FF0000 } /* Error */ | ||
| 5 | +.highlight .k { color: #007020; font-weight: bold } /* Keyword */ | ||
| 6 | +.highlight .o { color: #666666 } /* Operator */ | ||
| 7 | +.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ | ||
| 8 | +.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ | ||
| 9 | +.highlight .cp { color: #007020 } /* Comment.Preproc */ | ||
| 10 | +.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ | ||
| 11 | +.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ | ||
| 12 | +.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ | ||
| 13 | +.highlight .gd { color: #A00000 } /* Generic.Deleted */ | ||
| 14 | +.highlight .ge { font-style: italic } /* Generic.Emph */ | ||
| 15 | +.highlight .gr { color: #FF0000 } /* Generic.Error */ | ||
| 16 | +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | ||
| 17 | +.highlight .gi { color: #00A000 } /* Generic.Inserted */ | ||
| 18 | +.highlight .go { color: #333333 } /* Generic.Output */ | ||
| 19 | +.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ | ||
| 20 | +.highlight .gs { font-weight: bold } /* Generic.Strong */ | ||
| 21 | +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | ||
| 22 | +.highlight .gt { color: #0044DD } /* Generic.Traceback */ | ||
| 23 | +.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ | ||
| 24 | +.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ | ||
| 25 | +.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ | ||
| 26 | +.highlight .kp { color: #007020 } /* Keyword.Pseudo */ | ||
| 27 | +.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ | ||
| 28 | +.highlight .kt { color: #902000 } /* Keyword.Type */ | ||
| 29 | +.highlight .m { color: #208050 } /* Literal.Number */ | ||
| 30 | +.highlight .s { color: #4070a0 } /* Literal.String */ | ||
| 31 | +.highlight .na { color: #4070a0 } /* Name.Attribute */ | ||
| 32 | +.highlight .nb { color: #007020 } /* Name.Builtin */ | ||
| 33 | +.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ | ||
| 34 | +.highlight .no { color: #60add5 } /* Name.Constant */ | ||
| 35 | +.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ | ||
| 36 | +.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ | ||
| 37 | +.highlight .ne { color: #007020 } /* Name.Exception */ | ||
| 38 | +.highlight .nf { color: #06287e } /* Name.Function */ | ||
| 39 | +.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ | ||
| 40 | +.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ | ||
| 41 | +.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ | ||
| 42 | +.highlight .nv { color: #bb60d5 } /* Name.Variable */ | ||
| 43 | +.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ | ||
| 44 | +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ | ||
| 45 | +.highlight .mb { color: #208050 } /* Literal.Number.Bin */ | ||
| 46 | +.highlight .mf { color: #208050 } /* Literal.Number.Float */ | ||
| 47 | +.highlight .mh { color: #208050 } /* Literal.Number.Hex */ | ||
| 48 | +.highlight .mi { color: #208050 } /* Literal.Number.Integer */ | ||
| 49 | +.highlight .mo { color: #208050 } /* Literal.Number.Oct */ | ||
| 50 | +.highlight .sa { color: #4070a0 } /* Literal.String.Affix */ | ||
| 51 | +.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ | ||
| 52 | +.highlight .sc { color: #4070a0 } /* Literal.String.Char */ | ||
| 53 | +.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */ | ||
| 54 | +.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ | ||
| 55 | +.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ | ||
| 56 | +.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ | ||
| 57 | +.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ | ||
| 58 | +.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ | ||
| 59 | +.highlight .sx { color: #c65d09 } /* Literal.String.Other */ | ||
| 60 | +.highlight .sr { color: #235388 } /* Literal.String.Regex */ | ||
| 61 | +.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ | ||
| 62 | +.highlight .ss { color: #517918 } /* Literal.String.Symbol */ | ||
| 63 | +.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ | ||
| 64 | +.highlight .fm { color: #06287e } /* Name.Function.Magic */ | ||
| 65 | +.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ | ||
| 66 | +.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ | ||
| 67 | +.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ | ||
| 68 | +.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */ | ||
| 69 | +.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +// For more details on analytics at Read the Docs, please see: | ||
| 2 | +// https://docs.readthedocs.io/en/latest/advertising-details.html#analytics | ||
| 3 | + | ||
| 4 | + | ||
| 5 | +// Skip analytics for users with Do Not Track enabled | ||
| 6 | +if (navigator.doNotTrack === '1') { | ||
| 7 | + console.log('Respecting DNT with respect to analytics...'); | ||
| 8 | +} else { | ||
| 9 | + // RTD Analytics Code | ||
| 10 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
| 11 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
| 12 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
| 13 | + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
| 14 | + | ||
| 15 | + if (typeof READTHEDOCS_DATA !== 'undefined') { | ||
| 16 | + if (READTHEDOCS_DATA.global_analytics_code) { | ||
| 17 | + ga('create', READTHEDOCS_DATA.global_analytics_code, 'auto', 'rtfd', { | ||
| 18 | + 'cookieExpires': 30 * 24 * 60 * 60 | ||
| 19 | + }); | ||
| 20 | + ga('rtfd.set', 'dimension1', READTHEDOCS_DATA.project); | ||
| 21 | + ga('rtfd.set', 'dimension2', READTHEDOCS_DATA.version); | ||
| 22 | + ga('rtfd.set', 'dimension3', READTHEDOCS_DATA.language); | ||
| 23 | + ga('rtfd.set', 'dimension4', READTHEDOCS_DATA.theme); | ||
| 24 | + ga('rtfd.set', 'dimension5', READTHEDOCS_DATA.programming_language); | ||
| 25 | + ga('rtfd.set', 'dimension6', READTHEDOCS_DATA.builder); | ||
| 26 | + ga('rtfd.set', 'anonymizeIp', true); | ||
| 27 | + ga('rtfd.send', 'pageview'); | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + // User Analytics Code | ||
| 31 | + if (READTHEDOCS_DATA.user_analytics_code) { | ||
| 32 | + ga('create', READTHEDOCS_DATA.user_analytics_code, 'auto', 'user', { | ||
| 33 | + 'cookieExpires': 30 * 24 * 60 * 60 | ||
| 34 | + }); | ||
| 35 | + ga('user.set', 'anonymizeIp', true); | ||
| 36 | + ga('user.send', 'pageview'); | ||
| 37 | + } | ||
| 38 | + // End User Analytics Code | ||
| 39 | + } | ||
| 40 | + // end RTD Analytics Code | ||
| 41 | +} |
| 1 | +var READTHEDOCS_DATA = { | ||
| 2 | + project: "continuumio-docs", | ||
| 3 | + version: "latest", | ||
| 4 | + language: "en", | ||
| 5 | + programming_language: "words", | ||
| 6 | + subprojects: {}, | ||
| 7 | + canonical_url: "https://docs.anaconda.com/", | ||
| 8 | + theme: "continuum", | ||
| 9 | + builder: "sphinx", | ||
| 10 | + docroot: "/docs/source/", | ||
| 11 | + source_suffix: ".rst", | ||
| 12 | + api_host: "https://readthedocs.com", | ||
| 13 | + commit: "654270ef", | ||
| 14 | + ad_free: false, | ||
| 15 | + | ||
| 16 | + global_analytics_code: 'UA-17997319-2', | ||
| 17 | + user_analytics_code: null | ||
| 18 | +}; | ||
| 19 | + |
| 1 | +/* Left for CSS overrides we need to make in the future */ | ||
| 2 | + | ||
| 3 | +/* Fix badge on RTD Theme */ | ||
| 4 | + | ||
| 5 | +/* Please keep RTD badge displayed on your site */ | ||
| 6 | +.rst-versions.rst-badge { | ||
| 7 | + display: block; | ||
| 8 | + | ||
| 9 | + bottom: 50px; | ||
| 10 | + | ||
| 11 | + /* Workaround for mkdocs which set a specific height for this element */ | ||
| 12 | + height: auto; | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +.rst-other-versions { | ||
| 16 | + text-align: left; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +.rst-other-versions a { | ||
| 20 | + border: 0; | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +.rst-other-versions dl { | ||
| 24 | + margin: 0; | ||
| 25 | +} | ||
| 26 | + | ||
| 27 | + | ||
| 28 | +/* Fix RTD theme bottom margin */ | ||
| 29 | +.rst-content .line-block { | ||
| 30 | + margin-bottom: 24px | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +/* Fix for nav bottom padding with flyout */ | ||
| 34 | +nav.wy-nav-side { | ||
| 35 | + padding-bottom: 3em; | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | +/* bookmark icon */ | ||
| 39 | +.bookmark-added-msg {display: none;} | ||
| 40 | +.bookmark-active {display: none;} | ||
| 41 | +.bookmark-inactive {display: none;} | ||
| 42 | + | ||
| 43 | + | ||
| 44 | +/* Read the Docs promotional block, only applicable to RTD.org | ||
| 45 | + | ||
| 46 | +To support sphinx_rtd_theme, a `wy-menu` element is added. Other themes are | ||
| 47 | +targeted using the theme identifier and use custom elements instead of a CSS | ||
| 48 | +framework html structure. | ||
| 49 | + | ||
| 50 | +*/ | ||
| 51 | + | ||
| 52 | +div.ethical-sidebar, | ||
| 53 | +div.ethical-footer { | ||
| 54 | + display: block !important; | ||
| 55 | +} | ||
| 56 | +.ethical-sidebar, | ||
| 57 | +.ethical-footer { | ||
| 58 | + padding: 0.5em; | ||
| 59 | + margin: 1em 0; | ||
| 60 | +} | ||
| 61 | +.ethical-sidebar img, | ||
| 62 | +.ethical-footer img { | ||
| 63 | + width: 120px; | ||
| 64 | + height: 90px; | ||
| 65 | + display: inline-block; | ||
| 66 | +} | ||
| 67 | +.ethical-sidebar .ethical-callout, | ||
| 68 | +.ethical-footer .ethical-callout { | ||
| 69 | + padding-top: 1em; | ||
| 70 | + clear: both; | ||
| 71 | +} | ||
| 72 | +.ethical-sidebar .ethical-pixel, | ||
| 73 | +.ethical-footer .ethical-pixel, | ||
| 74 | +.ethical-fixedfooter .ethical-pixel { | ||
| 75 | + display: none !important; | ||
| 76 | +} | ||
| 77 | +.ethical-sidebar .ethical-text, | ||
| 78 | +.ethical-footer .ethical-text { | ||
| 79 | + margin-top: 1em; | ||
| 80 | +} | ||
| 81 | +.ethical-sidebar .ethical-image-link, | ||
| 82 | +.ethical-footer .ethical-image-link { | ||
| 83 | + border: 0; | ||
| 84 | +} | ||
| 85 | + | ||
| 86 | +.ethical-sidebar, | ||
| 87 | +.ethical-footer { | ||
| 88 | + background-color: #eee; | ||
| 89 | + border: 1px solid #ccc; | ||
| 90 | + border-radius: 5px; | ||
| 91 | + color: #0a0a0a; | ||
| 92 | + font-size: 14px; | ||
| 93 | + line-height: 20px; | ||
| 94 | +} | ||
| 95 | + | ||
| 96 | +/* Techstack badging */ | ||
| 97 | +.ethical-sidebar ul { | ||
| 98 | + margin: 0 !important; | ||
| 99 | + padding-left: 0; | ||
| 100 | + list-style: none; | ||
| 101 | +} | ||
| 102 | +.ethical-sidebar ul li { | ||
| 103 | + display: inline-block; | ||
| 104 | + background-color: lightskyblue; | ||
| 105 | + color: black; | ||
| 106 | + padding: 0.25em 0.4em; | ||
| 107 | + font-size: 75%; | ||
| 108 | + font-weight: 700; | ||
| 109 | + margin: 0.25em; | ||
| 110 | + border-radius: 0.25rem; | ||
| 111 | + text-align: center; | ||
| 112 | + vertical-align: baseline; | ||
| 113 | + white-space: nowrap; | ||
| 114 | + line-height: 1.41; | ||
| 115 | +} | ||
| 116 | +.ethical-sidebar ul li:not(:last-child) { | ||
| 117 | + margin-right: .25rem; | ||
| 118 | +} | ||
| 119 | + | ||
| 120 | +.ethical-sidebar a, | ||
| 121 | +.ethical-sidebar a:visited, | ||
| 122 | +.ethical-sidebar a:hover, | ||
| 123 | +.ethical-sidebar a:active, | ||
| 124 | +.ethical-footer a, | ||
| 125 | +.ethical-footer a:visited, | ||
| 126 | +.ethical-footer a:hover, | ||
| 127 | +.ethical-footer a:active { | ||
| 128 | + color: #0a0a0a; | ||
| 129 | + text-decoration: none !important; | ||
| 130 | + border-bottom: 0 !important; | ||
| 131 | +} | ||
| 132 | + | ||
| 133 | +.ethical-callout a { | ||
| 134 | + color: #707070 !important; | ||
| 135 | + text-decoration: none !important; | ||
| 136 | +} | ||
| 137 | + | ||
| 138 | +/* Sidebar promotions */ | ||
| 139 | +.ethical-sidebar { | ||
| 140 | + text-align: center; | ||
| 141 | +} | ||
| 142 | + | ||
| 143 | +/* Footer promotions */ | ||
| 144 | +.ethical-footer { | ||
| 145 | + text-align: left; | ||
| 146 | + | ||
| 147 | + font-size: 14px; | ||
| 148 | + line-height: 20px; | ||
| 149 | +} | ||
| 150 | +.ethical-footer img { | ||
| 151 | + float: right; | ||
| 152 | + margin-left: 25px; | ||
| 153 | +} | ||
| 154 | +.ethical-footer .ethical-callout { | ||
| 155 | + text-align: center; | ||
| 156 | +} | ||
| 157 | +.ethical-footer small { | ||
| 158 | + font-size: 10px; | ||
| 159 | +} | ||
| 160 | + | ||
| 161 | +/* Fixed footer promotions */ | ||
| 162 | +.ethical-fixedfooter { | ||
| 163 | + box-sizing: border-box; | ||
| 164 | + position: fixed; | ||
| 165 | + bottom: 0; | ||
| 166 | + left: 0; | ||
| 167 | + z-index: 100; | ||
| 168 | + background-color: #eee; | ||
| 169 | + border-top: 1px solid #bfbfbf; | ||
| 170 | + font-size: 12px; | ||
| 171 | + line-height: 16px; | ||
| 172 | + padding: 0.5em 2.5em; | ||
| 173 | + text-align: center; | ||
| 174 | + color: #404040; | ||
| 175 | + width: 100%; /* Fallback for Opera Mini */ | ||
| 176 | + width: 100vw; | ||
| 177 | +} | ||
| 178 | +.ethical-fixedfooter a, | ||
| 179 | +.ethical-fixedfooter a:hover, | ||
| 180 | +.ethical-fixedfooter a:active, | ||
| 181 | +.ethical-fixedfooter a:visited { | ||
| 182 | + color: #004B6B; | ||
| 183 | + text-decoration: underline; | ||
| 184 | +} | ||
| 185 | +.ethical-fixedfooter .ethical-close { | ||
| 186 | + position: absolute; | ||
| 187 | + top: 0; | ||
| 188 | + right: 5px; | ||
| 189 | + font-size: 15px; | ||
| 190 | + line-height: 15px; | ||
| 191 | +} | ||
| 192 | +.ethical-fixedfooter .ethical-close a { | ||
| 193 | + color: black; | ||
| 194 | + text-decoration: none; | ||
| 195 | +} | ||
| 196 | + | ||
| 197 | +/* RTD Theme specific customizations */ | ||
| 198 | +.wy-nav-side .ethical-rtd { | ||
| 199 | + /* RTD theme doesn't correctly set the sidebar width */ | ||
| 200 | + width: 300px; | ||
| 201 | + padding: 0 1em; | ||
| 202 | +} | ||
| 203 | +.ethical-rtd .ethical-sidebar { | ||
| 204 | + /* RTD theme doesn't set sidebar text color */ | ||
| 205 | + color: #b3b3b3; | ||
| 206 | + | ||
| 207 | + font-size: 14px; | ||
| 208 | + line-height: 20px; | ||
| 209 | +} | ||
| 210 | + | ||
| 211 | +/* Alabaster specific customizations */ | ||
| 212 | +.ethical-alabaster a.ethical-image-link { | ||
| 213 | + /* Alabaster adds a border even to image links on hover */ | ||
| 214 | + border: 0 !important; | ||
| 215 | +} | ||
| 216 | +.ethical-alabaster hr { | ||
| 217 | + /* Alabaster needs some extra spacing before the footer ad */ | ||
| 218 | + margin-top: 2em; | ||
| 219 | +} | ||
| 220 | +.ethical-alabaster::before { | ||
| 221 | + /* Alabaster's search box above the ad is floating */ | ||
| 222 | + clear: both; | ||
| 223 | + content: ''; | ||
| 224 | + display: table; | ||
| 225 | + margin-top: 3em; | ||
| 226 | +} | ||
| 227 | + | ||
| 228 | +/* Dark theme */ | ||
| 229 | +.ethical-dark-theme .ethical-sidebar { | ||
| 230 | + background-color: rgba(255, 255, 255, 0.1); | ||
| 231 | + border: 1px solid #a0a0a0; | ||
| 232 | + color: #c2c2c2 !important; | ||
| 233 | +} | ||
| 234 | +.ethical-dark-theme a, | ||
| 235 | +.ethical-dark-theme a:visited { | ||
| 236 | + color: #e6e6e6 !important; | ||
| 237 | + border-bottom: 0 !important; | ||
| 238 | +} | ||
| 239 | +.ethical-dark-theme .ethical-callout a { | ||
| 240 | + color: #b3b3b3 !important; | ||
| 241 | +} | ||
| 242 | + | ||
| 243 | + | ||
| 244 | +/* Ad block nag */ | ||
| 245 | +.keep-us-sustainable { | ||
| 246 | + padding: .5em; | ||
| 247 | + margin: 1em 0; | ||
| 248 | + text-align: center; | ||
| 249 | + border: 1px dotted #8ECC4C; | ||
| 250 | +} | ||
| 251 | +.keep-us-sustainable a, | ||
| 252 | +.keep-us-sustainable a:hover, | ||
| 253 | +.keep-us-sustainable a:visited { | ||
| 254 | + text-decoration: none; | ||
| 255 | +} | ||
| 256 | +/* Read the Docs theme specific fixes */ | ||
| 257 | +.wy-body-for-nav .keep-us-sustainable { | ||
| 258 | + margin: 1em 2em 1em 1em; | ||
| 259 | + color: #b3b3b3; | ||
| 260 | +} | ||
| 261 | +.wy-body-for-nav .keep-us-sustainable a { | ||
| 262 | + color: #efefef; | ||
| 263 | + font-size: 14px; | ||
| 264 | + line-height: 20px; | ||
| 265 | +} |
This diff is collapsed.
Click to expand it.
| 1 | +(function init($) { | ||
| 2 | + 'use strict'; | ||
| 3 | + | ||
| 4 | + var continuum = window.continuum || { }; | ||
| 5 | + | ||
| 6 | + // Check for client-only history data in localStorage | ||
| 7 | + continuum.history = function history(key) { | ||
| 8 | + return localStorage[key]; | ||
| 9 | + }; | ||
| 10 | + | ||
| 11 | + continuum.endsWith = function endsWith(string, searchString, strpos) { | ||
| 12 | + var subjectString = string; | ||
| 13 | + var position = strpos; | ||
| 14 | + var lastIndex = 0; | ||
| 15 | + | ||
| 16 | + if (typeof strpos !== 'number' || !isFinite(strpos) | ||
| 17 | + || Math.floor(strpos) !== strpos || strpos > subjectString.length) { | ||
| 18 | + position = subjectString.length; | ||
| 19 | + } | ||
| 20 | + position -= searchString.length; | ||
| 21 | + lastIndex = subjectString.lastIndexOf(searchString, position); | ||
| 22 | + | ||
| 23 | + return lastIndex !== -1 && lastIndex === position; | ||
| 24 | + }; | ||
| 25 | + | ||
| 26 | + continuum.stickySideBar = function stickySideBar() { | ||
| 27 | + var $stick = $('aside'); | ||
| 28 | + var $footer = $('footer'); | ||
| 29 | + var offtop = $stick.offset().top; | ||
| 30 | + var menuHeight = $stick.find('.pane-node-field-doc-navigation-menu').height(); | ||
| 31 | + var currentPage = location.pathname.substring(location.pathname.lastIndexOf("/") + 1); | ||
| 32 | + | ||
| 33 | + $(window).scroll(function () { | ||
| 34 | + var scrtop = $(window).scrollTop(); | ||
| 35 | + var offbtm = $footer.offset().top - $(window).height(); | ||
| 36 | + | ||
| 37 | + if (scrtop > offtop && $stick.hasClass('natural')) { | ||
| 38 | + $stick.removeClass('natural').addClass('fixed').css('top', 0); | ||
| 39 | + } | ||
| 40 | + if (offtop > scrtop && $stick.hasClass('fixed')) { | ||
| 41 | + $stick.removeClass('fixed').addClass('natural').css('top', 'auto'); | ||
| 42 | + } | ||
| 43 | + if (offbtm > scrtop && $stick.hasClass('bottom')) { | ||
| 44 | + $stick.removeClass('bottom').addClass('fixed').css('top', 0); | ||
| 45 | + } | ||
| 46 | + }); | ||
| 47 | + }; | ||
| 48 | + | ||
| 49 | + $(window).on('load', function () { | ||
| 50 | + | ||
| 51 | + if ($(window).width() > 640) { | ||
| 52 | + // sticky sidebar | ||
| 53 | + continuum.stickySideBar(); | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + }); | ||
| 57 | + | ||
| 58 | + $(document).ready(function onReady() { | ||
| 59 | + | ||
| 60 | + // toggle left menu | ||
| 61 | + $('.breadcrumb-wrapper .toggle-sidebar').click(function toggleLeftMenu() { | ||
| 62 | + if ($(window).width() > 799) { | ||
| 63 | + $('body').toggleClass('sidebar-collapsed'); | ||
| 64 | + $('body').removeClass('sidebar-expanded'); | ||
| 65 | + } else { | ||
| 66 | + $('body').toggleClass('sidebar-expanded'); | ||
| 67 | + $('body').removeClass('sidebar-collapsed'); | ||
| 68 | + } | ||
| 69 | + }); | ||
| 70 | + | ||
| 71 | + $('.layout-two-col__second .sidebar-close').click(function () { | ||
| 72 | + $('body').removeClass('sidebar-expanded'); | ||
| 73 | + $('body').removeClass('sidebar-collapsed'); | ||
| 74 | + }); | ||
| 75 | + | ||
| 76 | + // smooth anchor scroll | ||
| 77 | + $('a[href*="#"]:not([href="#"])').not('.tab-title > a').click(function smoothAScroll() { | ||
| 78 | + var target = $(this.hash); | ||
| 79 | + | ||
| 80 | + if (location.pathname.replace(/^\//, '') === this.pathname.replace(/^\//, '') | ||
| 81 | + && location.hostname === this.hostname) { | ||
| 82 | + target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); | ||
| 83 | + if (target.length) { | ||
| 84 | + $('html, body').animate({ | ||
| 85 | + scrollTop: target.offset().top | ||
| 86 | + }, 1000); | ||
| 87 | + } | ||
| 88 | + } | ||
| 89 | + }); | ||
| 90 | + | ||
| 91 | + // scroll pane for syntax blocks | ||
| 92 | + $('.highlight').addClass('horizontal-only scroll-pane'); | ||
| 93 | + | ||
| 94 | + $('.scroll-pane').jScrollPane({ autoReinitialise: true }); | ||
| 95 | + $('.scroll-pane').each( | ||
| 96 | + function () { | ||
| 97 | + var api = $(this).data('jsp'); | ||
| 98 | + var throttleTimeout; | ||
| 99 | + | ||
| 100 | + $(this).jScrollPane({ autoReinitialise: true }); | ||
| 101 | + | ||
| 102 | + $(window).bind( | ||
| 103 | + 'resize', | ||
| 104 | + function () { | ||
| 105 | + if (!throttleTimeout) { | ||
| 106 | + throttleTimeout = setTimeout( | ||
| 107 | + function () { | ||
| 108 | + api.reinitialise(); | ||
| 109 | + throttleTimeout = null; | ||
| 110 | + } | ||
| 111 | + ); | ||
| 112 | + } | ||
| 113 | + } | ||
| 114 | + ); | ||
| 115 | + } | ||
| 116 | + ); | ||
| 117 | + | ||
| 118 | + // temp menu hack: remove dashes and add arrows for menus with dashes only | ||
| 119 | + $('.pane-node-field-doc-navigation-menu ul > li').each(function (e) { | ||
| 120 | + var nlink = $(this).find('> a'); | ||
| 121 | + // treat section links | ||
| 122 | + if (nlink.html() === 'Anaconda Platform' | ||
| 123 | + || nlink.html() === 'Open source incubated projects') { | ||
| 124 | + $(this).removeClass('toctree-l1'); | ||
| 125 | + $(this).addClass('menu-bold'); | ||
| 126 | + if (nlink.html() === 'Anaconda Platform') { | ||
| 127 | + $(this).html('<span class="nolink">Anaconda Platform</span>'); | ||
| 128 | + nlink = false; | ||
| 129 | + } | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + // remove dashes | ||
| 133 | + if (nlink && nlink.html().indexOf('\u2013 ') === 0) { | ||
| 134 | + nlink.html(nlink.html().substring(2)); | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + if (nlink && (nlink.html() === 'Welcome' || nlink.hasClass('url-external'))) { | ||
| 138 | + $(this).removeClass('toctree-l1'); | ||
| 139 | + } | ||
| 140 | + }); | ||
| 141 | + }); | ||
| 142 | +})(jQuery); |
This diff is collapsed.
Click to expand it.
This file is too large to display.
This file is too large to display.
examples/python/anaconda.2019.03/macOS/Installing on macOS — Anaconda 2.0 documentation.html
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 1 | +.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") format("woff"),url("../fonts/fontawesome-webfont.ttf") format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}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:.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;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}.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{height:auto;max-height:100%}.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}} |
| 1 | +/* | ||
| 2 | + * doctools.js | ||
| 3 | + * ~~~~~~~~~~~ | ||
| 4 | + * | ||
| 5 | + * Sphinx JavaScript utilities for all documentation. | ||
| 6 | + * | ||
| 7 | + * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. | ||
| 8 | + * :license: BSD, see LICENSE for details. | ||
| 9 | + * | ||
| 10 | + */ | ||
| 11 | + | ||
| 12 | +/** | ||
| 13 | + * select a different prefix for underscore | ||
| 14 | + */ | ||
| 15 | +$u = _.noConflict(); | ||
| 16 | + | ||
| 17 | +/** | ||
| 18 | + * make the code below compatible with browsers without | ||
| 19 | + * an installed firebug like debugger | ||
| 20 | +if (!window.console || !console.firebug) { | ||
| 21 | + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", | ||
| 22 | + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", | ||
| 23 | + "profile", "profileEnd"]; | ||
| 24 | + window.console = {}; | ||
| 25 | + for (var i = 0; i < names.length; ++i) | ||
| 26 | + window.console[names[i]] = function() {}; | ||
| 27 | +} | ||
| 28 | + */ | ||
| 29 | + | ||
| 30 | +/** | ||
| 31 | + * small helper function to urldecode strings | ||
| 32 | + */ | ||
| 33 | +jQuery.urldecode = function(x) { | ||
| 34 | + return decodeURIComponent(x).replace(/\+/g, ' '); | ||
| 35 | +}; | ||
| 36 | + | ||
| 37 | +/** | ||
| 38 | + * small helper function to urlencode strings | ||
| 39 | + */ | ||
| 40 | +jQuery.urlencode = encodeURIComponent; | ||
| 41 | + | ||
| 42 | +/** | ||
| 43 | + * This function returns the parsed url parameters of the | ||
| 44 | + * current request. Multiple values per key are supported, | ||
| 45 | + * it will always return arrays of strings for the value parts. | ||
| 46 | + */ | ||
| 47 | +jQuery.getQueryParameters = function(s) { | ||
| 48 | + if (typeof s === 'undefined') | ||
| 49 | + s = document.location.search; | ||
| 50 | + var parts = s.substr(s.indexOf('?') + 1).split('&'); | ||
| 51 | + var result = {}; | ||
| 52 | + for (var i = 0; i < parts.length; i++) { | ||
| 53 | + var tmp = parts[i].split('=', 2); | ||
| 54 | + var key = jQuery.urldecode(tmp[0]); | ||
| 55 | + var value = jQuery.urldecode(tmp[1]); | ||
| 56 | + if (key in result) | ||
| 57 | + result[key].push(value); | ||
| 58 | + else | ||
| 59 | + result[key] = [value]; | ||
| 60 | + } | ||
| 61 | + return result; | ||
| 62 | +}; | ||
| 63 | + | ||
| 64 | +/** | ||
| 65 | + * highlight a given string on a jquery object by wrapping it in | ||
| 66 | + * span elements with the given class name. | ||
| 67 | + */ | ||
| 68 | +jQuery.fn.highlightText = function(text, className) { | ||
| 69 | + function highlight(node, addItems) { | ||
| 70 | + if (node.nodeType === 3) { | ||
| 71 | + var val = node.nodeValue; | ||
| 72 | + var pos = val.toLowerCase().indexOf(text); | ||
| 73 | + if (pos >= 0 && | ||
| 74 | + !jQuery(node.parentNode).hasClass(className) && | ||
| 75 | + !jQuery(node.parentNode).hasClass("nohighlight")) { | ||
| 76 | + var span; | ||
| 77 | + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); | ||
| 78 | + if (isInSVG) { | ||
| 79 | + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); | ||
| 80 | + } else { | ||
| 81 | + span = document.createElement("span"); | ||
| 82 | + span.className = className; | ||
| 83 | + } | ||
| 84 | + span.appendChild(document.createTextNode(val.substr(pos, text.length))); | ||
| 85 | + node.parentNode.insertBefore(span, node.parentNode.insertBefore( | ||
| 86 | + document.createTextNode(val.substr(pos + text.length)), | ||
| 87 | + node.nextSibling)); | ||
| 88 | + node.nodeValue = val.substr(0, pos); | ||
| 89 | + if (isInSVG) { | ||
| 90 | + var bbox = span.getBBox(); | ||
| 91 | + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); | ||
| 92 | + rect.x.baseVal.value = bbox.x; | ||
| 93 | + rect.y.baseVal.value = bbox.y; | ||
| 94 | + rect.width.baseVal.value = bbox.width; | ||
| 95 | + rect.height.baseVal.value = bbox.height; | ||
| 96 | + rect.setAttribute('class', className); | ||
| 97 | + var parentOfText = node.parentNode.parentNode; | ||
| 98 | + addItems.push({ | ||
| 99 | + "parent": node.parentNode, | ||
| 100 | + "target": rect}); | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + } | ||
| 104 | + else if (!jQuery(node).is("button, select, textarea")) { | ||
| 105 | + jQuery.each(node.childNodes, function() { | ||
| 106 | + highlight(this, addItems); | ||
| 107 | + }); | ||
| 108 | + } | ||
| 109 | + } | ||
| 110 | + var addItems = []; | ||
| 111 | + var result = this.each(function() { | ||
| 112 | + highlight(this, addItems); | ||
| 113 | + }); | ||
| 114 | + for (var i = 0; i < addItems.length; ++i) { | ||
| 115 | + jQuery(addItems[i].parent).before(addItems[i].target); | ||
| 116 | + } | ||
| 117 | + return result; | ||
| 118 | +}; | ||
| 119 | + | ||
| 120 | +/* | ||
| 121 | + * backward compatibility for jQuery.browser | ||
| 122 | + * This will be supported until firefox bug is fixed. | ||
| 123 | + */ | ||
| 124 | +if (!jQuery.browser) { | ||
| 125 | + jQuery.uaMatch = function(ua) { | ||
| 126 | + ua = ua.toLowerCase(); | ||
| 127 | + | ||
| 128 | + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || | ||
| 129 | + /(webkit)[ \/]([\w.]+)/.exec(ua) || | ||
| 130 | + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || | ||
| 131 | + /(msie) ([\w.]+)/.exec(ua) || | ||
| 132 | + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || | ||
| 133 | + []; | ||
| 134 | + | ||
| 135 | + return { | ||
| 136 | + browser: match[ 1 ] || "", | ||
| 137 | + version: match[ 2 ] || "0" | ||
| 138 | + }; | ||
| 139 | + }; | ||
| 140 | + jQuery.browser = {}; | ||
| 141 | + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; | ||
| 142 | +} | ||
| 143 | + | ||
| 144 | +/** | ||
| 145 | + * Small JavaScript module for the documentation. | ||
| 146 | + */ | ||
| 147 | +var Documentation = { | ||
| 148 | + | ||
| 149 | + init : function() { | ||
| 150 | + this.fixFirefoxAnchorBug(); | ||
| 151 | + this.highlightSearchWords(); | ||
| 152 | + this.initIndexTable(); | ||
| 153 | + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { | ||
| 154 | + this.initOnKeyListeners(); | ||
| 155 | + } | ||
| 156 | + }, | ||
| 157 | + | ||
| 158 | + /** | ||
| 159 | + * i18n support | ||
| 160 | + */ | ||
| 161 | + TRANSLATIONS : {}, | ||
| 162 | + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, | ||
| 163 | + LOCALE : 'unknown', | ||
| 164 | + | ||
| 165 | + // gettext and ngettext don't access this so that the functions | ||
| 166 | + // can safely bound to a different name (_ = Documentation.gettext) | ||
| 167 | + gettext : function(string) { | ||
| 168 | + var translated = Documentation.TRANSLATIONS[string]; | ||
| 169 | + if (typeof translated === 'undefined') | ||
| 170 | + return string; | ||
| 171 | + return (typeof translated === 'string') ? translated : translated[0]; | ||
| 172 | + }, | ||
| 173 | + | ||
| 174 | + ngettext : function(singular, plural, n) { | ||
| 175 | + var translated = Documentation.TRANSLATIONS[singular]; | ||
| 176 | + if (typeof translated === 'undefined') | ||
| 177 | + return (n == 1) ? singular : plural; | ||
| 178 | + return translated[Documentation.PLURALEXPR(n)]; | ||
| 179 | + }, | ||
| 180 | + | ||
| 181 | + addTranslations : function(catalog) { | ||
| 182 | + for (var key in catalog.messages) | ||
| 183 | + this.TRANSLATIONS[key] = catalog.messages[key]; | ||
| 184 | + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); | ||
| 185 | + this.LOCALE = catalog.locale; | ||
| 186 | + }, | ||
| 187 | + | ||
| 188 | + /** | ||
| 189 | + * add context elements like header anchor links | ||
| 190 | + */ | ||
| 191 | + addContextElements : function() { | ||
| 192 | + $('div[id] > :header:first').each(function() { | ||
| 193 | + $('<a class="headerlink">\u00B6</a>'). | ||
| 194 | + attr('href', '#' + this.id). | ||
| 195 | + attr('title', _('Permalink to this headline')). | ||
| 196 | + appendTo(this); | ||
| 197 | + }); | ||
| 198 | + $('dt[id]').each(function() { | ||
| 199 | + $('<a class="headerlink">\u00B6</a>'). | ||
| 200 | + attr('href', '#' + this.id). | ||
| 201 | + attr('title', _('Permalink to this definition')). | ||
| 202 | + appendTo(this); | ||
| 203 | + }); | ||
| 204 | + }, | ||
| 205 | + | ||
| 206 | + /** | ||
| 207 | + * workaround a firefox stupidity | ||
| 208 | + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 | ||
| 209 | + */ | ||
| 210 | + fixFirefoxAnchorBug : function() { | ||
| 211 | + if (document.location.hash && $.browser.mozilla) | ||
| 212 | + window.setTimeout(function() { | ||
| 213 | + document.location.href += ''; | ||
| 214 | + }, 10); | ||
| 215 | + }, | ||
| 216 | + | ||
| 217 | + /** | ||
| 218 | + * highlight the search words provided in the url in the text | ||
| 219 | + */ | ||
| 220 | + highlightSearchWords : function() { | ||
| 221 | + var params = $.getQueryParameters(); | ||
| 222 | + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; | ||
| 223 | + if (terms.length) { | ||
| 224 | + var body = $('div.body'); | ||
| 225 | + if (!body.length) { | ||
| 226 | + body = $('body'); | ||
| 227 | + } | ||
| 228 | + window.setTimeout(function() { | ||
| 229 | + $.each(terms, function() { | ||
| 230 | + body.highlightText(this.toLowerCase(), 'highlighted'); | ||
| 231 | + }); | ||
| 232 | + }, 10); | ||
| 233 | + $('<p class="highlight-link"><a href="javascript:Documentation.' + | ||
| 234 | + 'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>') | ||
| 235 | + .appendTo($('#searchbox')); | ||
| 236 | + } | ||
| 237 | + }, | ||
| 238 | + | ||
| 239 | + /** | ||
| 240 | + * init the domain index toggle buttons | ||
| 241 | + */ | ||
| 242 | + initIndexTable : function() { | ||
| 243 | + var togglers = $('img.toggler').click(function() { | ||
| 244 | + var src = $(this).attr('src'); | ||
| 245 | + var idnum = $(this).attr('id').substr(7); | ||
| 246 | + $('tr.cg-' + idnum).toggle(); | ||
| 247 | + if (src.substr(-9) === 'minus.png') | ||
| 248 | + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); | ||
| 249 | + else | ||
| 250 | + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); | ||
| 251 | + }).css('display', ''); | ||
| 252 | + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { | ||
| 253 | + togglers.click(); | ||
| 254 | + } | ||
| 255 | + }, | ||
| 256 | + | ||
| 257 | + /** | ||
| 258 | + * helper function to hide the search marks again | ||
| 259 | + */ | ||
| 260 | + hideSearchWords : function() { | ||
| 261 | + $('#searchbox .highlight-link').fadeOut(300); | ||
| 262 | + $('span.highlighted').removeClass('highlighted'); | ||
| 263 | + }, | ||
| 264 | + | ||
| 265 | + /** | ||
| 266 | + * make the url absolute | ||
| 267 | + */ | ||
| 268 | + makeURL : function(relativeURL) { | ||
| 269 | + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; | ||
| 270 | + }, | ||
| 271 | + | ||
| 272 | + /** | ||
| 273 | + * get the current relative url | ||
| 274 | + */ | ||
| 275 | + getCurrentURL : function() { | ||
| 276 | + var path = document.location.pathname; | ||
| 277 | + var parts = path.split(/\//); | ||
| 278 | + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { | ||
| 279 | + if (this === '..') | ||
| 280 | + parts.pop(); | ||
| 281 | + }); | ||
| 282 | + var url = parts.join('/'); | ||
| 283 | + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); | ||
| 284 | + }, | ||
| 285 | + | ||
| 286 | + initOnKeyListeners: function() { | ||
| 287 | + $(document).keyup(function(event) { | ||
| 288 | + var activeElementType = document.activeElement.tagName; | ||
| 289 | + // don't navigate when in search box or textarea | ||
| 290 | + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { | ||
| 291 | + switch (event.keyCode) { | ||
| 292 | + case 37: // left | ||
| 293 | + var prevHref = $('link[rel="prev"]').prop('href'); | ||
| 294 | + if (prevHref) { | ||
| 295 | + window.location.href = prevHref; | ||
| 296 | + return false; | ||
| 297 | + } | ||
| 298 | + case 39: // right | ||
| 299 | + var nextHref = $('link[rel="next"]').prop('href'); | ||
| 300 | + if (nextHref) { | ||
| 301 | + window.location.href = nextHref; | ||
| 302 | + return false; | ||
| 303 | + } | ||
| 304 | + } | ||
| 305 | + } | ||
| 306 | + }); | ||
| 307 | + } | ||
| 308 | +}; | ||
| 309 | + | ||
| 310 | +// quick alias for translations | ||
| 311 | +_ = Documentation.gettext; | ||
| 312 | + | ||
| 313 | +$(document).ready(function() { | ||
| 314 | + Documentation.init(); | ||
| 315 | +}); |
| 1 | +var DOCUMENTATION_OPTIONS = { | ||
| 2 | + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), | ||
| 3 | + VERSION: '2.0', | ||
| 4 | + LANGUAGE: 'en', | ||
| 5 | + COLLAPSE_INDEX: false, | ||
| 6 | + FILE_SUFFIX: '', | ||
| 7 | + HAS_SOURCE: true, | ||
| 8 | + SOURCELINK_SUFFIX: '.txt', | ||
| 9 | + NAVIGATION_WITH_KEYS: false, | ||
| 10 | +}; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 1 | +<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 877 78" x="0px" y="0px" xml:space="preserve" preserveAspectRatio="xMinYMid"><defs><style>.cls-1{fill:#3fae2a;}</style></defs><path class="cls-1" d="M114.56,20.85a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4H101a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1h4.8a.93.93,0,0,0,.9-1.4Zm-6.8,25.2,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M166.66,20.85h-5a1,1,0,0,0-1,1v22.6h-.1l-22.8-24.2h-1.4a1,1,0,0,0-1,1v36.8a1.08,1.08,0,0,0,1,1h5a1,1,0,0,0,1-1V34.55h.1l22.9,25.1h1.3a1,1,0,0,0,1-1V21.85A.94.94,0,0,0,166.66,20.85Z"/><path class="cls-1" d="M191.26,20.85a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4h4.8a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1h4.8a.93.93,0,0,0,.9-1.4Zm-6.8,25.2,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M238.06,49.35a1.06,1.06,0,0,0-1.4,0,13,13,0,0,1-8.4,3.1A12.42,12.42,0,0,1,216,39.85c0-6.9,5.2-12.8,12.2-12.8a12.91,12.91,0,0,1,8.4,3.2,1,1,0,0,0,1.4,0l3.3-3.4a1,1,0,0,0-.1-1.5,18.6,18.6,0,0,0-13.2-5.1,19.7,19.7,0,1,0,0,39.4,18.74,18.74,0,0,0,13.3-5.3,1.09,1.09,0,0,0,.1-1.5Z"/><path class="cls-1" d="M264,20.25a19.7,19.7,0,1,0,19.7,19.8A19.61,19.61,0,0,0,264,20.25Zm0,32.3a12.55,12.55,0,0,1,0-25.1,12.55,12.55,0,1,1,0,25.1Z"/><path class="cls-1" d="M321,20.85h-5a1,1,0,0,0-1,1v22.6h-.1l-22.8-24.2h-1.4a1,1,0,0,0-1,1v36.8a1.08,1.08,0,0,0,1,1h5a1,1,0,0,0,1-1V34.55h.1l22.9,25.1H321a1,1,0,0,0,1-1V21.85A1.08,1.08,0,0,0,321,20.85Z"/><path class="cls-1" d="M342.86,20.85h-13a1.08,1.08,0,0,0-1,1v36.2a1,1,0,0,0,1,1h13a19.1,19.1,0,1,0,0-38.2Zm-.6,31.6H336v-25h6.2A12.09,12.09,0,0,1,354.46,40,12,12,0,0,1,342.26,52.45Z"/><path class="cls-1" d="M398.66,57.75,381.76,21a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4h4.8a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1H398A.94.94,0,0,0,398.66,57.75Zm-23.6-11.7,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M405.46,58.55h.3a.22.22,0,0,0,.2-.2v-1h.6l.4,1.1c0,.1.1.1.2.1h.4a.22.22,0,0,0,.2-.2c-.2-.3-.3-.7-.5-1a1,1,0,0,0,.7-1,1,1,0,0,0-1.1-1.1h-1.3a.22.22,0,0,0-.2.2v2.9C405.36,58.45,405.36,58.55,405.46,58.55Zm.5-2.7h.8a.37.37,0,0,1,.4.4.43.43,0,0,1-.4.4H406Z"/><path class="cls-1" d="M406.46,60.15a3.16,3.16,0,0,0,3.2-3.2,3.2,3.2,0,1,0-3.2,3.2Zm0-5.9a2.6,2.6,0,1,1-2.6,2.6A2.65,2.65,0,0,1,406.46,54.25Z"/><path class="cls-1" d="M24.46,57.65v-.2a36.79,36.79,0,0,1,.5-5.8v-.2l-.2-.1a49.67,49.67,0,0,1-5.2-2.5l-.2-.1-.1.2a53.76,53.76,0,0,0-2.8,7l-.1.2.2.1a39.14,39.14,0,0,0,7.6,1.4Z"/><path class="cls-1" d="M29.66,23.45h0c-1.5,0-2.9.1-4.4.2a33.92,33.92,0,0,0,.8,4.4A20.36,20.36,0,0,1,29.66,23.45Z"/><path class="cls-1" d="M24.46,59.45v-.2h-.2a51.94,51.94,0,0,1-6.5-1.1l-.6-.1.3.5a34.87,34.87,0,0,0,7.1,7.8l.4.4v-.7A51.43,51.43,0,0,1,24.46,59.45Z"/><path class="cls-1" d="M35,7.75a33.78,33.78,0,0,0-7.4,3.6,47,47,0,0,1,5.1,1.2A52.38,52.38,0,0,1,35,7.75Z"/><path class="cls-1" d="M45.86,6c-1.3,0-2.6.1-3.8.2a39.81,39.81,0,0,1,5.1,4.1l1.3,1.2-1.3,1.3a34.66,34.66,0,0,0-3.2,3.4v.1a6.12,6.12,0,0,0-.5.6,19.27,19.27,0,0,1,2.4-.1,23,23,0,1,1,0,46,22.39,22.39,0,0,1-12-3.4,45.33,45.33,0,0,1-5.2.3,19.27,19.27,0,0,1-2.4-.1,78.24,78.24,0,0,0,.7,8.1,33.26,33.26,0,0,0,18.9,5.8,33.75,33.75,0,1,0,0-67.5Z"/><path class="cls-1" d="M41.36,14c.7-.8,1.4-1.6,2.1-2.3a58.59,58.59,0,0,0-5-3.7,41.8,41.8,0,0,0-2.8,5.6c1.5.6,3,1.2,4.5,1.9C40.76,14.65,41.26,14.05,41.36,14Z"/><path class="cls-1" d="M18.46,33.25l.1.2.2-.1a50.41,50.41,0,0,1,4.9-3.1l.2-.1V30a38.39,38.39,0,0,1-1.1-5.9v-.2h-.2a43.62,43.62,0,0,0-7.3,2l-.2.1.1.2A30.3,30.3,0,0,0,18.46,33.25Z"/><path class="cls-1" d="M18.06,36.45l-.2.2a47,47,0,0,0-5.1,4.9l-.2.2.2.2a58.38,58.38,0,0,0,5.6,4.2l.2.1.1-.2a45.3,45.3,0,0,1,3-4.6l.1-.2-.1-.1a52,52,0,0,1-3.5-4.4Z"/><path class="cls-1" d="M31.36,57.75H32l-.5-.4a20.73,20.73,0,0,1-4.6-5.2v-.1l-.4-.2v.3a45.53,45.53,0,0,0-.4,5.3v.2h.2c.8,0,1.6.1,2.4.1A12.19,12.19,0,0,0,31.36,57.75Z"/><path class="cls-1" d="M30.26,20.45a39.43,39.43,0,0,1,1.4-4.9,46.94,46.94,0,0,0-6.5-1.4,48.47,48.47,0,0,0-.1,6.6A44.05,44.05,0,0,1,30.26,20.45Z"/><path class="cls-1" d="M33.46,20.35a29.18,29.18,0,0,1,4.7-2.3,27.49,27.49,0,0,0-3.6-1.5C34.16,17.75,33.76,19.05,33.46,20.35Z"/><path class="cls-1" d="M17.76,47.75l-.2-.1a57.36,57.36,0,0,1-5-3.6l-.5-.4.1.6a31.56,31.56,0,0,0,2.7,9.4l.2.5.2-.5a55.47,55.47,0,0,1,2.4-5.6Z"/><path class="cls-1" d="M22.06,15.75a33.47,33.47,0,0,0-5.2,6.7c1.7-.5,3.5-.9,5.3-1.3C22.06,19.35,22.06,17.55,22.06,15.75Z"/><path class="cls-1" d="M23.06,39.45v-.6a23.54,23.54,0,0,1,1-6l.2-.6-.5.3c-1.3.8-2.6,1.6-3.9,2.5l-.2.1.3.2c.9,1.2,1.8,2.5,2.8,3.6Z"/><path class="cls-1" d="M23.36,43l-.1-.6-.3.5c-.9,1.3-1.8,2.7-2.6,4.1l-.1.2.2.1c1.4.8,2.9,1.5,4.4,2.2l.5.2-.2-.5A23.11,23.11,0,0,1,23.36,43Z"/><path class="cls-1" d="M16.76,34.85l.2-.1-.1-.2a54.49,54.49,0,0,1-2.9-5.3l-.2-.5-.2.6a33.77,33.77,0,0,0-1.6,9.5v.6l.4-.4A24.93,24.93,0,0,1,16.76,34.85Z"/><path class="cls-1" d="M419.48,22.87a1,1,0,0,1,1-1H433A18.55,18.55,0,1,1,433,59H420.43a1,1,0,0,1-1-1Zm12.88,29.62c6.89,0,11.92-5.19,11.92-12.13a11.69,11.69,0,0,0-11.92-12.08h-6V52.49Z"/><path class="cls-1" d="M475,21.33a19.08,19.08,0,1,1-19,19.13A19,19,0,0,1,475,21.33Zm0,31.27a12.19,12.19,0,1,0-12.14-12.14A12.21,12.21,0,0,0,475,52.59Z"/><path class="cls-1" d="M517.42,21.33a17.94,17.94,0,0,1,12.83,4.93,1,1,0,0,1,.05,1.48l-3.23,3.34a.85.85,0,0,1-1.33,0A12.54,12.54,0,0,0,517.58,28c-6.78,0-11.82,5.67-11.82,12.35a12,12,0,0,0,11.87,12.24,12.72,12.72,0,0,0,8.11-3,1,1,0,0,1,1.33,0l3.29,3.39a1,1,0,0,1-.05,1.43,18.19,18.19,0,0,1-12.88,5.14,19.08,19.08,0,1,1,0-38.16Z"/><path class="cls-1" d="M536.71,22.87a1,1,0,0,1,1-1h5a1,1,0,0,1,1,1V44.54c0,4.5,3.07,8.05,7.68,8.05a7.64,7.64,0,0,0,7.74-8V22.87a1,1,0,0,1,1-1h5a1,1,0,0,1,1,1v22a14.76,14.76,0,0,1-29.52,0Z"/><path class="cls-1" d="M579.22,22.12a.89.89,0,0,1,1-.79H581a1,1,0,0,1,.9.53l11.66,25h.16l11.66-25a.91.91,0,0,1,.9-.53h.85a.89.89,0,0,1,1,.79l6.25,35.61a.92.92,0,0,1-1,1.22h-4.82a1.15,1.15,0,0,1-1-.79l-3.13-20.08h-.16L595,58.9a.9.9,0,0,1-.9.58h-1a1,1,0,0,1-.9-.58l-9.38-20.83h-.16l-3.07,20.08a1,1,0,0,1-1,.79h-4.77a1,1,0,0,1-1-1.22Z"/><path class="cls-1" d="M621.62,22.87a1,1,0,0,1,1-1h21.57a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1H628.51v8.69H641.6a1,1,0,0,1,1,1v4.4a1,1,0,0,1-1,1H628.51v9.27h15.69a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1H622.63a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M652.78,22.28a1,1,0,0,1,1-1h1.33l22,23.42h.05V22.87a1,1,0,0,1,1-1h4.88a1,1,0,0,1,1,1V58.53a1,1,0,0,1-1,1h-1.27L659.67,35.16h-.05V57.95a1,1,0,0,1-1,1h-4.82a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M698.73,28.22h-8.11a1,1,0,0,1-1-1V22.87a1,1,0,0,1,1-1h23.16a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1h-8.11V57.95a1,1,0,0,1-1,1h-4.93a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M713.47,57.58l16.48-35.66a1,1,0,0,1,.9-.58h.53a.9.9,0,0,1,.9.58L748.6,57.58a.94.94,0,0,1-.9,1.38h-4.61a1.52,1.52,0,0,1-1.54-1.06L739,52.17H723.11l-2.6,5.72A1.6,1.6,0,0,1,719,59h-4.61A.94.94,0,0,1,713.47,57.58Zm22.89-11.29-5.3-11.66h-.16l-5.19,11.66Z"/><path class="cls-1" d="M756.45,28.22h-8.11a1,1,0,0,1-1-1V22.87a1,1,0,0,1,1-1H771.5a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1h-8.11V57.95a1,1,0,0,1-1,1h-4.93a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M778,22.87a1,1,0,0,1,1-1H784a1,1,0,0,1,1,1V57.95a1,1,0,0,1-1,1H779a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M811,21.33a19.08,19.08,0,1,1-19,19.13A19,19,0,0,1,811,21.33Zm0,31.27a12.19,12.19,0,1,0-12.14-12.14A12.21,12.21,0,0,0,811,52.59Z"/><path class="cls-1" d="M837,22.28a1,1,0,0,1,1-1h1.33l22,23.42h.05V22.87a1,1,0,0,1,1-1h4.88a1,1,0,0,1,1,1V58.53a1,1,0,0,1-1,1H866L843.9,35.16h-.05V57.95a1,1,0,0,1-1,1H838a1,1,0,0,1-1-1Z"/></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
211 KB
202 KB
166 KB
167 KB
| 1 | +.highlight .hll { background-color: #ffffcc } | ||
| 2 | +.highlight { background: #eeffcc; } | ||
| 3 | +.highlight .c { color: #408090; font-style: italic } /* Comment */ | ||
| 4 | +.highlight .err { border: 1px solid #FF0000 } /* Error */ | ||
| 5 | +.highlight .k { color: #007020; font-weight: bold } /* Keyword */ | ||
| 6 | +.highlight .o { color: #666666 } /* Operator */ | ||
| 7 | +.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ | ||
| 8 | +.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ | ||
| 9 | +.highlight .cp { color: #007020 } /* Comment.Preproc */ | ||
| 10 | +.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ | ||
| 11 | +.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ | ||
| 12 | +.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ | ||
| 13 | +.highlight .gd { color: #A00000 } /* Generic.Deleted */ | ||
| 14 | +.highlight .ge { font-style: italic } /* Generic.Emph */ | ||
| 15 | +.highlight .gr { color: #FF0000 } /* Generic.Error */ | ||
| 16 | +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | ||
| 17 | +.highlight .gi { color: #00A000 } /* Generic.Inserted */ | ||
| 18 | +.highlight .go { color: #333333 } /* Generic.Output */ | ||
| 19 | +.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ | ||
| 20 | +.highlight .gs { font-weight: bold } /* Generic.Strong */ | ||
| 21 | +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | ||
| 22 | +.highlight .gt { color: #0044DD } /* Generic.Traceback */ | ||
| 23 | +.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ | ||
| 24 | +.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ | ||
| 25 | +.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ | ||
| 26 | +.highlight .kp { color: #007020 } /* Keyword.Pseudo */ | ||
| 27 | +.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ | ||
| 28 | +.highlight .kt { color: #902000 } /* Keyword.Type */ | ||
| 29 | +.highlight .m { color: #208050 } /* Literal.Number */ | ||
| 30 | +.highlight .s { color: #4070a0 } /* Literal.String */ | ||
| 31 | +.highlight .na { color: #4070a0 } /* Name.Attribute */ | ||
| 32 | +.highlight .nb { color: #007020 } /* Name.Builtin */ | ||
| 33 | +.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ | ||
| 34 | +.highlight .no { color: #60add5 } /* Name.Constant */ | ||
| 35 | +.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ | ||
| 36 | +.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ | ||
| 37 | +.highlight .ne { color: #007020 } /* Name.Exception */ | ||
| 38 | +.highlight .nf { color: #06287e } /* Name.Function */ | ||
| 39 | +.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ | ||
| 40 | +.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ | ||
| 41 | +.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ | ||
| 42 | +.highlight .nv { color: #bb60d5 } /* Name.Variable */ | ||
| 43 | +.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ | ||
| 44 | +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ | ||
| 45 | +.highlight .mb { color: #208050 } /* Literal.Number.Bin */ | ||
| 46 | +.highlight .mf { color: #208050 } /* Literal.Number.Float */ | ||
| 47 | +.highlight .mh { color: #208050 } /* Literal.Number.Hex */ | ||
| 48 | +.highlight .mi { color: #208050 } /* Literal.Number.Integer */ | ||
| 49 | +.highlight .mo { color: #208050 } /* Literal.Number.Oct */ | ||
| 50 | +.highlight .sa { color: #4070a0 } /* Literal.String.Affix */ | ||
| 51 | +.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ | ||
| 52 | +.highlight .sc { color: #4070a0 } /* Literal.String.Char */ | ||
| 53 | +.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */ | ||
| 54 | +.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ | ||
| 55 | +.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ | ||
| 56 | +.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ | ||
| 57 | +.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ | ||
| 58 | +.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ | ||
| 59 | +.highlight .sx { color: #c65d09 } /* Literal.String.Other */ | ||
| 60 | +.highlight .sr { color: #235388 } /* Literal.String.Regex */ | ||
| 61 | +.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ | ||
| 62 | +.highlight .ss { color: #517918 } /* Literal.String.Symbol */ | ||
| 63 | +.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ | ||
| 64 | +.highlight .fm { color: #06287e } /* Name.Function.Magic */ | ||
| 65 | +.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ | ||
| 66 | +.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ | ||
| 67 | +.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ | ||
| 68 | +.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */ | ||
| 69 | +.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +// For more details on analytics at Read the Docs, please see: | ||
| 2 | +// https://docs.readthedocs.io/en/latest/advertising-details.html#analytics | ||
| 3 | + | ||
| 4 | + | ||
| 5 | +// Skip analytics for users with Do Not Track enabled | ||
| 6 | +if (navigator.doNotTrack === '1') { | ||
| 7 | + console.log('Respecting DNT with respect to analytics...'); | ||
| 8 | +} else { | ||
| 9 | + // RTD Analytics Code | ||
| 10 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
| 11 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
| 12 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
| 13 | + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
| 14 | + | ||
| 15 | + if (typeof READTHEDOCS_DATA !== 'undefined') { | ||
| 16 | + if (READTHEDOCS_DATA.global_analytics_code) { | ||
| 17 | + ga('create', READTHEDOCS_DATA.global_analytics_code, 'auto', 'rtfd', { | ||
| 18 | + 'cookieExpires': 30 * 24 * 60 * 60 | ||
| 19 | + }); | ||
| 20 | + ga('rtfd.set', 'dimension1', READTHEDOCS_DATA.project); | ||
| 21 | + ga('rtfd.set', 'dimension2', READTHEDOCS_DATA.version); | ||
| 22 | + ga('rtfd.set', 'dimension3', READTHEDOCS_DATA.language); | ||
| 23 | + ga('rtfd.set', 'dimension4', READTHEDOCS_DATA.theme); | ||
| 24 | + ga('rtfd.set', 'dimension5', READTHEDOCS_DATA.programming_language); | ||
| 25 | + ga('rtfd.set', 'dimension6', READTHEDOCS_DATA.builder); | ||
| 26 | + ga('rtfd.set', 'anonymizeIp', true); | ||
| 27 | + ga('rtfd.send', 'pageview'); | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + // User Analytics Code | ||
| 31 | + if (READTHEDOCS_DATA.user_analytics_code) { | ||
| 32 | + ga('create', READTHEDOCS_DATA.user_analytics_code, 'auto', 'user', { | ||
| 33 | + 'cookieExpires': 30 * 24 * 60 * 60 | ||
| 34 | + }); | ||
| 35 | + ga('user.set', 'anonymizeIp', true); | ||
| 36 | + ga('user.send', 'pageview'); | ||
| 37 | + } | ||
| 38 | + // End User Analytics Code | ||
| 39 | + } | ||
| 40 | + // end RTD Analytics Code | ||
| 41 | +} |
| 1 | +var READTHEDOCS_DATA = { | ||
| 2 | + project: "continuumio-docs", | ||
| 3 | + version: "latest", | ||
| 4 | + language: "en", | ||
| 5 | + programming_language: "words", | ||
| 6 | + subprojects: {}, | ||
| 7 | + canonical_url: "https://docs.anaconda.com/", | ||
| 8 | + theme: "continuum", | ||
| 9 | + builder: "sphinx", | ||
| 10 | + docroot: "/docs/source/", | ||
| 11 | + source_suffix: ".rst", | ||
| 12 | + api_host: "https://readthedocs.com", | ||
| 13 | + commit: "654270ef", | ||
| 14 | + ad_free: false, | ||
| 15 | + | ||
| 16 | + global_analytics_code: 'UA-17997319-2', | ||
| 17 | + user_analytics_code: null | ||
| 18 | +}; | ||
| 19 | + |
| 1 | +/* Left for CSS overrides we need to make in the future */ | ||
| 2 | + | ||
| 3 | +/* Fix badge on RTD Theme */ | ||
| 4 | + | ||
| 5 | +/* Please keep RTD badge displayed on your site */ | ||
| 6 | +.rst-versions.rst-badge { | ||
| 7 | + display: block; | ||
| 8 | + | ||
| 9 | + bottom: 50px; | ||
| 10 | + | ||
| 11 | + /* Workaround for mkdocs which set a specific height for this element */ | ||
| 12 | + height: auto; | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +.rst-other-versions { | ||
| 16 | + text-align: left; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +.rst-other-versions a { | ||
| 20 | + border: 0; | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +.rst-other-versions dl { | ||
| 24 | + margin: 0; | ||
| 25 | +} | ||
| 26 | + | ||
| 27 | + | ||
| 28 | +/* Fix RTD theme bottom margin */ | ||
| 29 | +.rst-content .line-block { | ||
| 30 | + margin-bottom: 24px | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +/* Fix for nav bottom padding with flyout */ | ||
| 34 | +nav.wy-nav-side { | ||
| 35 | + padding-bottom: 3em; | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | +/* bookmark icon */ | ||
| 39 | +.bookmark-added-msg {display: none;} | ||
| 40 | +.bookmark-active {display: none;} | ||
| 41 | +.bookmark-inactive {display: none;} | ||
| 42 | + | ||
| 43 | + | ||
| 44 | +/* Read the Docs promotional block, only applicable to RTD.org | ||
| 45 | + | ||
| 46 | +To support sphinx_rtd_theme, a `wy-menu` element is added. Other themes are | ||
| 47 | +targeted using the theme identifier and use custom elements instead of a CSS | ||
| 48 | +framework html structure. | ||
| 49 | + | ||
| 50 | +*/ | ||
| 51 | + | ||
| 52 | +div.ethical-sidebar, | ||
| 53 | +div.ethical-footer { | ||
| 54 | + display: block !important; | ||
| 55 | +} | ||
| 56 | +.ethical-sidebar, | ||
| 57 | +.ethical-footer { | ||
| 58 | + padding: 0.5em; | ||
| 59 | + margin: 1em 0; | ||
| 60 | +} | ||
| 61 | +.ethical-sidebar img, | ||
| 62 | +.ethical-footer img { | ||
| 63 | + width: 120px; | ||
| 64 | + height: 90px; | ||
| 65 | + display: inline-block; | ||
| 66 | +} | ||
| 67 | +.ethical-sidebar .ethical-callout, | ||
| 68 | +.ethical-footer .ethical-callout { | ||
| 69 | + padding-top: 1em; | ||
| 70 | + clear: both; | ||
| 71 | +} | ||
| 72 | +.ethical-sidebar .ethical-pixel, | ||
| 73 | +.ethical-footer .ethical-pixel, | ||
| 74 | +.ethical-fixedfooter .ethical-pixel { | ||
| 75 | + display: none !important; | ||
| 76 | +} | ||
| 77 | +.ethical-sidebar .ethical-text, | ||
| 78 | +.ethical-footer .ethical-text { | ||
| 79 | + margin-top: 1em; | ||
| 80 | +} | ||
| 81 | +.ethical-sidebar .ethical-image-link, | ||
| 82 | +.ethical-footer .ethical-image-link { | ||
| 83 | + border: 0; | ||
| 84 | +} | ||
| 85 | + | ||
| 86 | +.ethical-sidebar, | ||
| 87 | +.ethical-footer { | ||
| 88 | + background-color: #eee; | ||
| 89 | + border: 1px solid #ccc; | ||
| 90 | + border-radius: 5px; | ||
| 91 | + color: #0a0a0a; | ||
| 92 | + font-size: 14px; | ||
| 93 | + line-height: 20px; | ||
| 94 | +} | ||
| 95 | + | ||
| 96 | +/* Techstack badging */ | ||
| 97 | +.ethical-sidebar ul { | ||
| 98 | + margin: 0 !important; | ||
| 99 | + padding-left: 0; | ||
| 100 | + list-style: none; | ||
| 101 | +} | ||
| 102 | +.ethical-sidebar ul li { | ||
| 103 | + display: inline-block; | ||
| 104 | + background-color: lightskyblue; | ||
| 105 | + color: black; | ||
| 106 | + padding: 0.25em 0.4em; | ||
| 107 | + font-size: 75%; | ||
| 108 | + font-weight: 700; | ||
| 109 | + margin: 0.25em; | ||
| 110 | + border-radius: 0.25rem; | ||
| 111 | + text-align: center; | ||
| 112 | + vertical-align: baseline; | ||
| 113 | + white-space: nowrap; | ||
| 114 | + line-height: 1.41; | ||
| 115 | +} | ||
| 116 | +.ethical-sidebar ul li:not(:last-child) { | ||
| 117 | + margin-right: .25rem; | ||
| 118 | +} | ||
| 119 | + | ||
| 120 | +.ethical-sidebar a, | ||
| 121 | +.ethical-sidebar a:visited, | ||
| 122 | +.ethical-sidebar a:hover, | ||
| 123 | +.ethical-sidebar a:active, | ||
| 124 | +.ethical-footer a, | ||
| 125 | +.ethical-footer a:visited, | ||
| 126 | +.ethical-footer a:hover, | ||
| 127 | +.ethical-footer a:active { | ||
| 128 | + color: #0a0a0a; | ||
| 129 | + text-decoration: none !important; | ||
| 130 | + border-bottom: 0 !important; | ||
| 131 | +} | ||
| 132 | + | ||
| 133 | +.ethical-callout a { | ||
| 134 | + color: #707070 !important; | ||
| 135 | + text-decoration: none !important; | ||
| 136 | +} | ||
| 137 | + | ||
| 138 | +/* Sidebar promotions */ | ||
| 139 | +.ethical-sidebar { | ||
| 140 | + text-align: center; | ||
| 141 | +} | ||
| 142 | + | ||
| 143 | +/* Footer promotions */ | ||
| 144 | +.ethical-footer { | ||
| 145 | + text-align: left; | ||
| 146 | + | ||
| 147 | + font-size: 14px; | ||
| 148 | + line-height: 20px; | ||
| 149 | +} | ||
| 150 | +.ethical-footer img { | ||
| 151 | + float: right; | ||
| 152 | + margin-left: 25px; | ||
| 153 | +} | ||
| 154 | +.ethical-footer .ethical-callout { | ||
| 155 | + text-align: center; | ||
| 156 | +} | ||
| 157 | +.ethical-footer small { | ||
| 158 | + font-size: 10px; | ||
| 159 | +} | ||
| 160 | + | ||
| 161 | +/* Fixed footer promotions */ | ||
| 162 | +.ethical-fixedfooter { | ||
| 163 | + box-sizing: border-box; | ||
| 164 | + position: fixed; | ||
| 165 | + bottom: 0; | ||
| 166 | + left: 0; | ||
| 167 | + z-index: 100; | ||
| 168 | + background-color: #eee; | ||
| 169 | + border-top: 1px solid #bfbfbf; | ||
| 170 | + font-size: 12px; | ||
| 171 | + line-height: 16px; | ||
| 172 | + padding: 0.5em 2.5em; | ||
| 173 | + text-align: center; | ||
| 174 | + color: #404040; | ||
| 175 | + width: 100%; /* Fallback for Opera Mini */ | ||
| 176 | + width: 100vw; | ||
| 177 | +} | ||
| 178 | +.ethical-fixedfooter a, | ||
| 179 | +.ethical-fixedfooter a:hover, | ||
| 180 | +.ethical-fixedfooter a:active, | ||
| 181 | +.ethical-fixedfooter a:visited { | ||
| 182 | + color: #004B6B; | ||
| 183 | + text-decoration: underline; | ||
| 184 | +} | ||
| 185 | +.ethical-fixedfooter .ethical-close { | ||
| 186 | + position: absolute; | ||
| 187 | + top: 0; | ||
| 188 | + right: 5px; | ||
| 189 | + font-size: 15px; | ||
| 190 | + line-height: 15px; | ||
| 191 | +} | ||
| 192 | +.ethical-fixedfooter .ethical-close a { | ||
| 193 | + color: black; | ||
| 194 | + text-decoration: none; | ||
| 195 | +} | ||
| 196 | + | ||
| 197 | +/* RTD Theme specific customizations */ | ||
| 198 | +.wy-nav-side .ethical-rtd { | ||
| 199 | + /* RTD theme doesn't correctly set the sidebar width */ | ||
| 200 | + width: 300px; | ||
| 201 | + padding: 0 1em; | ||
| 202 | +} | ||
| 203 | +.ethical-rtd .ethical-sidebar { | ||
| 204 | + /* RTD theme doesn't set sidebar text color */ | ||
| 205 | + color: #b3b3b3; | ||
| 206 | + | ||
| 207 | + font-size: 14px; | ||
| 208 | + line-height: 20px; | ||
| 209 | +} | ||
| 210 | + | ||
| 211 | +/* Alabaster specific customizations */ | ||
| 212 | +.ethical-alabaster a.ethical-image-link { | ||
| 213 | + /* Alabaster adds a border even to image links on hover */ | ||
| 214 | + border: 0 !important; | ||
| 215 | +} | ||
| 216 | +.ethical-alabaster hr { | ||
| 217 | + /* Alabaster needs some extra spacing before the footer ad */ | ||
| 218 | + margin-top: 2em; | ||
| 219 | +} | ||
| 220 | +.ethical-alabaster::before { | ||
| 221 | + /* Alabaster's search box above the ad is floating */ | ||
| 222 | + clear: both; | ||
| 223 | + content: ''; | ||
| 224 | + display: table; | ||
| 225 | + margin-top: 3em; | ||
| 226 | +} | ||
| 227 | + | ||
| 228 | +/* Dark theme */ | ||
| 229 | +.ethical-dark-theme .ethical-sidebar { | ||
| 230 | + background-color: rgba(255, 255, 255, 0.1); | ||
| 231 | + border: 1px solid #a0a0a0; | ||
| 232 | + color: #c2c2c2 !important; | ||
| 233 | +} | ||
| 234 | +.ethical-dark-theme a, | ||
| 235 | +.ethical-dark-theme a:visited { | ||
| 236 | + color: #e6e6e6 !important; | ||
| 237 | + border-bottom: 0 !important; | ||
| 238 | +} | ||
| 239 | +.ethical-dark-theme .ethical-callout a { | ||
| 240 | + color: #b3b3b3 !important; | ||
| 241 | +} | ||
| 242 | + | ||
| 243 | + | ||
| 244 | +/* Ad block nag */ | ||
| 245 | +.keep-us-sustainable { | ||
| 246 | + padding: .5em; | ||
| 247 | + margin: 1em 0; | ||
| 248 | + text-align: center; | ||
| 249 | + border: 1px dotted #8ECC4C; | ||
| 250 | +} | ||
| 251 | +.keep-us-sustainable a, | ||
| 252 | +.keep-us-sustainable a:hover, | ||
| 253 | +.keep-us-sustainable a:visited { | ||
| 254 | + text-decoration: none; | ||
| 255 | +} | ||
| 256 | +/* Read the Docs theme specific fixes */ | ||
| 257 | +.wy-body-for-nav .keep-us-sustainable { | ||
| 258 | + margin: 1em 2em 1em 1em; | ||
| 259 | + color: #b3b3b3; | ||
| 260 | +} | ||
| 261 | +.wy-body-for-nav .keep-us-sustainable a { | ||
| 262 | + color: #efefef; | ||
| 263 | + font-size: 14px; | ||
| 264 | + line-height: 20px; | ||
| 265 | +} |
This diff is collapsed.
Click to expand it.
| 1 | +(function init($) { | ||
| 2 | + 'use strict'; | ||
| 3 | + | ||
| 4 | + var continuum = window.continuum || { }; | ||
| 5 | + | ||
| 6 | + // Check for client-only history data in localStorage | ||
| 7 | + continuum.history = function history(key) { | ||
| 8 | + return localStorage[key]; | ||
| 9 | + }; | ||
| 10 | + | ||
| 11 | + continuum.endsWith = function endsWith(string, searchString, strpos) { | ||
| 12 | + var subjectString = string; | ||
| 13 | + var position = strpos; | ||
| 14 | + var lastIndex = 0; | ||
| 15 | + | ||
| 16 | + if (typeof strpos !== 'number' || !isFinite(strpos) | ||
| 17 | + || Math.floor(strpos) !== strpos || strpos > subjectString.length) { | ||
| 18 | + position = subjectString.length; | ||
| 19 | + } | ||
| 20 | + position -= searchString.length; | ||
| 21 | + lastIndex = subjectString.lastIndexOf(searchString, position); | ||
| 22 | + | ||
| 23 | + return lastIndex !== -1 && lastIndex === position; | ||
| 24 | + }; | ||
| 25 | + | ||
| 26 | + continuum.stickySideBar = function stickySideBar() { | ||
| 27 | + var $stick = $('aside'); | ||
| 28 | + var $footer = $('footer'); | ||
| 29 | + var offtop = $stick.offset().top; | ||
| 30 | + var menuHeight = $stick.find('.pane-node-field-doc-navigation-menu').height(); | ||
| 31 | + var currentPage = location.pathname.substring(location.pathname.lastIndexOf("/") + 1); | ||
| 32 | + | ||
| 33 | + $(window).scroll(function () { | ||
| 34 | + var scrtop = $(window).scrollTop(); | ||
| 35 | + var offbtm = $footer.offset().top - $(window).height(); | ||
| 36 | + | ||
| 37 | + if (scrtop > offtop && $stick.hasClass('natural')) { | ||
| 38 | + $stick.removeClass('natural').addClass('fixed').css('top', 0); | ||
| 39 | + } | ||
| 40 | + if (offtop > scrtop && $stick.hasClass('fixed')) { | ||
| 41 | + $stick.removeClass('fixed').addClass('natural').css('top', 'auto'); | ||
| 42 | + } | ||
| 43 | + if (offbtm > scrtop && $stick.hasClass('bottom')) { | ||
| 44 | + $stick.removeClass('bottom').addClass('fixed').css('top', 0); | ||
| 45 | + } | ||
| 46 | + }); | ||
| 47 | + }; | ||
| 48 | + | ||
| 49 | + $(window).on('load', function () { | ||
| 50 | + | ||
| 51 | + if ($(window).width() > 640) { | ||
| 52 | + // sticky sidebar | ||
| 53 | + continuum.stickySideBar(); | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + }); | ||
| 57 | + | ||
| 58 | + $(document).ready(function onReady() { | ||
| 59 | + | ||
| 60 | + // toggle left menu | ||
| 61 | + $('.breadcrumb-wrapper .toggle-sidebar').click(function toggleLeftMenu() { | ||
| 62 | + if ($(window).width() > 799) { | ||
| 63 | + $('body').toggleClass('sidebar-collapsed'); | ||
| 64 | + $('body').removeClass('sidebar-expanded'); | ||
| 65 | + } else { | ||
| 66 | + $('body').toggleClass('sidebar-expanded'); | ||
| 67 | + $('body').removeClass('sidebar-collapsed'); | ||
| 68 | + } | ||
| 69 | + }); | ||
| 70 | + | ||
| 71 | + $('.layout-two-col__second .sidebar-close').click(function () { | ||
| 72 | + $('body').removeClass('sidebar-expanded'); | ||
| 73 | + $('body').removeClass('sidebar-collapsed'); | ||
| 74 | + }); | ||
| 75 | + | ||
| 76 | + // smooth anchor scroll | ||
| 77 | + $('a[href*="#"]:not([href="#"])').not('.tab-title > a').click(function smoothAScroll() { | ||
| 78 | + var target = $(this.hash); | ||
| 79 | + | ||
| 80 | + if (location.pathname.replace(/^\//, '') === this.pathname.replace(/^\//, '') | ||
| 81 | + && location.hostname === this.hostname) { | ||
| 82 | + target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); | ||
| 83 | + if (target.length) { | ||
| 84 | + $('html, body').animate({ | ||
| 85 | + scrollTop: target.offset().top | ||
| 86 | + }, 1000); | ||
| 87 | + } | ||
| 88 | + } | ||
| 89 | + }); | ||
| 90 | + | ||
| 91 | + // scroll pane for syntax blocks | ||
| 92 | + $('.highlight').addClass('horizontal-only scroll-pane'); | ||
| 93 | + | ||
| 94 | + $('.scroll-pane').jScrollPane({ autoReinitialise: true }); | ||
| 95 | + $('.scroll-pane').each( | ||
| 96 | + function () { | ||
| 97 | + var api = $(this).data('jsp'); | ||
| 98 | + var throttleTimeout; | ||
| 99 | + | ||
| 100 | + $(this).jScrollPane({ autoReinitialise: true }); | ||
| 101 | + | ||
| 102 | + $(window).bind( | ||
| 103 | + 'resize', | ||
| 104 | + function () { | ||
| 105 | + if (!throttleTimeout) { | ||
| 106 | + throttleTimeout = setTimeout( | ||
| 107 | + function () { | ||
| 108 | + api.reinitialise(); | ||
| 109 | + throttleTimeout = null; | ||
| 110 | + } | ||
| 111 | + ); | ||
| 112 | + } | ||
| 113 | + } | ||
| 114 | + ); | ||
| 115 | + } | ||
| 116 | + ); | ||
| 117 | + | ||
| 118 | + // temp menu hack: remove dashes and add arrows for menus with dashes only | ||
| 119 | + $('.pane-node-field-doc-navigation-menu ul > li').each(function (e) { | ||
| 120 | + var nlink = $(this).find('> a'); | ||
| 121 | + // treat section links | ||
| 122 | + if (nlink.html() === 'Anaconda Platform' | ||
| 123 | + || nlink.html() === 'Open source incubated projects') { | ||
| 124 | + $(this).removeClass('toctree-l1'); | ||
| 125 | + $(this).addClass('menu-bold'); | ||
| 126 | + if (nlink.html() === 'Anaconda Platform') { | ||
| 127 | + $(this).html('<span class="nolink">Anaconda Platform</span>'); | ||
| 128 | + nlink = false; | ||
| 129 | + } | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + // remove dashes | ||
| 133 | + if (nlink && nlink.html().indexOf('\u2013 ') === 0) { | ||
| 134 | + nlink.html(nlink.html().substring(2)); | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + if (nlink && (nlink.html() === 'Welcome' || nlink.hasClass('url-external'))) { | ||
| 138 | + $(this).removeClass('toctree-l1'); | ||
| 139 | + } | ||
| 140 | + }); | ||
| 141 | + }); | ||
| 142 | +})(jQuery); |
This diff is collapsed.
Click to expand it.
This file is too large to display.
This file is too large to display.
examples/python/anaconda.2019.03/windows/Installing on Windows — Anaconda 2.0 documentation.html
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 1 | +.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../fonts/fontawesome-webfont.eot");src:url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff") format("woff"),url("../fonts/fontawesome-webfont.ttf") format("truetype"),url("../fonts/fontawesome-webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}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:.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;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}.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{height:auto;max-height:100%}.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}} |
| 1 | +/* | ||
| 2 | + * doctools.js | ||
| 3 | + * ~~~~~~~~~~~ | ||
| 4 | + * | ||
| 5 | + * Sphinx JavaScript utilities for all documentation. | ||
| 6 | + * | ||
| 7 | + * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. | ||
| 8 | + * :license: BSD, see LICENSE for details. | ||
| 9 | + * | ||
| 10 | + */ | ||
| 11 | + | ||
| 12 | +/** | ||
| 13 | + * select a different prefix for underscore | ||
| 14 | + */ | ||
| 15 | +$u = _.noConflict(); | ||
| 16 | + | ||
| 17 | +/** | ||
| 18 | + * make the code below compatible with browsers without | ||
| 19 | + * an installed firebug like debugger | ||
| 20 | +if (!window.console || !console.firebug) { | ||
| 21 | + var names = ["log", "debug", "info", "warn", "error", "assert", "dir", | ||
| 22 | + "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", | ||
| 23 | + "profile", "profileEnd"]; | ||
| 24 | + window.console = {}; | ||
| 25 | + for (var i = 0; i < names.length; ++i) | ||
| 26 | + window.console[names[i]] = function() {}; | ||
| 27 | +} | ||
| 28 | + */ | ||
| 29 | + | ||
| 30 | +/** | ||
| 31 | + * small helper function to urldecode strings | ||
| 32 | + */ | ||
| 33 | +jQuery.urldecode = function(x) { | ||
| 34 | + return decodeURIComponent(x).replace(/\+/g, ' '); | ||
| 35 | +}; | ||
| 36 | + | ||
| 37 | +/** | ||
| 38 | + * small helper function to urlencode strings | ||
| 39 | + */ | ||
| 40 | +jQuery.urlencode = encodeURIComponent; | ||
| 41 | + | ||
| 42 | +/** | ||
| 43 | + * This function returns the parsed url parameters of the | ||
| 44 | + * current request. Multiple values per key are supported, | ||
| 45 | + * it will always return arrays of strings for the value parts. | ||
| 46 | + */ | ||
| 47 | +jQuery.getQueryParameters = function(s) { | ||
| 48 | + if (typeof s === 'undefined') | ||
| 49 | + s = document.location.search; | ||
| 50 | + var parts = s.substr(s.indexOf('?') + 1).split('&'); | ||
| 51 | + var result = {}; | ||
| 52 | + for (var i = 0; i < parts.length; i++) { | ||
| 53 | + var tmp = parts[i].split('=', 2); | ||
| 54 | + var key = jQuery.urldecode(tmp[0]); | ||
| 55 | + var value = jQuery.urldecode(tmp[1]); | ||
| 56 | + if (key in result) | ||
| 57 | + result[key].push(value); | ||
| 58 | + else | ||
| 59 | + result[key] = [value]; | ||
| 60 | + } | ||
| 61 | + return result; | ||
| 62 | +}; | ||
| 63 | + | ||
| 64 | +/** | ||
| 65 | + * highlight a given string on a jquery object by wrapping it in | ||
| 66 | + * span elements with the given class name. | ||
| 67 | + */ | ||
| 68 | +jQuery.fn.highlightText = function(text, className) { | ||
| 69 | + function highlight(node, addItems) { | ||
| 70 | + if (node.nodeType === 3) { | ||
| 71 | + var val = node.nodeValue; | ||
| 72 | + var pos = val.toLowerCase().indexOf(text); | ||
| 73 | + if (pos >= 0 && | ||
| 74 | + !jQuery(node.parentNode).hasClass(className) && | ||
| 75 | + !jQuery(node.parentNode).hasClass("nohighlight")) { | ||
| 76 | + var span; | ||
| 77 | + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); | ||
| 78 | + if (isInSVG) { | ||
| 79 | + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); | ||
| 80 | + } else { | ||
| 81 | + span = document.createElement("span"); | ||
| 82 | + span.className = className; | ||
| 83 | + } | ||
| 84 | + span.appendChild(document.createTextNode(val.substr(pos, text.length))); | ||
| 85 | + node.parentNode.insertBefore(span, node.parentNode.insertBefore( | ||
| 86 | + document.createTextNode(val.substr(pos + text.length)), | ||
| 87 | + node.nextSibling)); | ||
| 88 | + node.nodeValue = val.substr(0, pos); | ||
| 89 | + if (isInSVG) { | ||
| 90 | + var bbox = span.getBBox(); | ||
| 91 | + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); | ||
| 92 | + rect.x.baseVal.value = bbox.x; | ||
| 93 | + rect.y.baseVal.value = bbox.y; | ||
| 94 | + rect.width.baseVal.value = bbox.width; | ||
| 95 | + rect.height.baseVal.value = bbox.height; | ||
| 96 | + rect.setAttribute('class', className); | ||
| 97 | + var parentOfText = node.parentNode.parentNode; | ||
| 98 | + addItems.push({ | ||
| 99 | + "parent": node.parentNode, | ||
| 100 | + "target": rect}); | ||
| 101 | + } | ||
| 102 | + } | ||
| 103 | + } | ||
| 104 | + else if (!jQuery(node).is("button, select, textarea")) { | ||
| 105 | + jQuery.each(node.childNodes, function() { | ||
| 106 | + highlight(this, addItems); | ||
| 107 | + }); | ||
| 108 | + } | ||
| 109 | + } | ||
| 110 | + var addItems = []; | ||
| 111 | + var result = this.each(function() { | ||
| 112 | + highlight(this, addItems); | ||
| 113 | + }); | ||
| 114 | + for (var i = 0; i < addItems.length; ++i) { | ||
| 115 | + jQuery(addItems[i].parent).before(addItems[i].target); | ||
| 116 | + } | ||
| 117 | + return result; | ||
| 118 | +}; | ||
| 119 | + | ||
| 120 | +/* | ||
| 121 | + * backward compatibility for jQuery.browser | ||
| 122 | + * This will be supported until firefox bug is fixed. | ||
| 123 | + */ | ||
| 124 | +if (!jQuery.browser) { | ||
| 125 | + jQuery.uaMatch = function(ua) { | ||
| 126 | + ua = ua.toLowerCase(); | ||
| 127 | + | ||
| 128 | + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || | ||
| 129 | + /(webkit)[ \/]([\w.]+)/.exec(ua) || | ||
| 130 | + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || | ||
| 131 | + /(msie) ([\w.]+)/.exec(ua) || | ||
| 132 | + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || | ||
| 133 | + []; | ||
| 134 | + | ||
| 135 | + return { | ||
| 136 | + browser: match[ 1 ] || "", | ||
| 137 | + version: match[ 2 ] || "0" | ||
| 138 | + }; | ||
| 139 | + }; | ||
| 140 | + jQuery.browser = {}; | ||
| 141 | + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; | ||
| 142 | +} | ||
| 143 | + | ||
| 144 | +/** | ||
| 145 | + * Small JavaScript module for the documentation. | ||
| 146 | + */ | ||
| 147 | +var Documentation = { | ||
| 148 | + | ||
| 149 | + init : function() { | ||
| 150 | + this.fixFirefoxAnchorBug(); | ||
| 151 | + this.highlightSearchWords(); | ||
| 152 | + this.initIndexTable(); | ||
| 153 | + if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { | ||
| 154 | + this.initOnKeyListeners(); | ||
| 155 | + } | ||
| 156 | + }, | ||
| 157 | + | ||
| 158 | + /** | ||
| 159 | + * i18n support | ||
| 160 | + */ | ||
| 161 | + TRANSLATIONS : {}, | ||
| 162 | + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, | ||
| 163 | + LOCALE : 'unknown', | ||
| 164 | + | ||
| 165 | + // gettext and ngettext don't access this so that the functions | ||
| 166 | + // can safely bound to a different name (_ = Documentation.gettext) | ||
| 167 | + gettext : function(string) { | ||
| 168 | + var translated = Documentation.TRANSLATIONS[string]; | ||
| 169 | + if (typeof translated === 'undefined') | ||
| 170 | + return string; | ||
| 171 | + return (typeof translated === 'string') ? translated : translated[0]; | ||
| 172 | + }, | ||
| 173 | + | ||
| 174 | + ngettext : function(singular, plural, n) { | ||
| 175 | + var translated = Documentation.TRANSLATIONS[singular]; | ||
| 176 | + if (typeof translated === 'undefined') | ||
| 177 | + return (n == 1) ? singular : plural; | ||
| 178 | + return translated[Documentation.PLURALEXPR(n)]; | ||
| 179 | + }, | ||
| 180 | + | ||
| 181 | + addTranslations : function(catalog) { | ||
| 182 | + for (var key in catalog.messages) | ||
| 183 | + this.TRANSLATIONS[key] = catalog.messages[key]; | ||
| 184 | + this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); | ||
| 185 | + this.LOCALE = catalog.locale; | ||
| 186 | + }, | ||
| 187 | + | ||
| 188 | + /** | ||
| 189 | + * add context elements like header anchor links | ||
| 190 | + */ | ||
| 191 | + addContextElements : function() { | ||
| 192 | + $('div[id] > :header:first').each(function() { | ||
| 193 | + $('<a class="headerlink">\u00B6</a>'). | ||
| 194 | + attr('href', '#' + this.id). | ||
| 195 | + attr('title', _('Permalink to this headline')). | ||
| 196 | + appendTo(this); | ||
| 197 | + }); | ||
| 198 | + $('dt[id]').each(function() { | ||
| 199 | + $('<a class="headerlink">\u00B6</a>'). | ||
| 200 | + attr('href', '#' + this.id). | ||
| 201 | + attr('title', _('Permalink to this definition')). | ||
| 202 | + appendTo(this); | ||
| 203 | + }); | ||
| 204 | + }, | ||
| 205 | + | ||
| 206 | + /** | ||
| 207 | + * workaround a firefox stupidity | ||
| 208 | + * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 | ||
| 209 | + */ | ||
| 210 | + fixFirefoxAnchorBug : function() { | ||
| 211 | + if (document.location.hash && $.browser.mozilla) | ||
| 212 | + window.setTimeout(function() { | ||
| 213 | + document.location.href += ''; | ||
| 214 | + }, 10); | ||
| 215 | + }, | ||
| 216 | + | ||
| 217 | + /** | ||
| 218 | + * highlight the search words provided in the url in the text | ||
| 219 | + */ | ||
| 220 | + highlightSearchWords : function() { | ||
| 221 | + var params = $.getQueryParameters(); | ||
| 222 | + var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; | ||
| 223 | + if (terms.length) { | ||
| 224 | + var body = $('div.body'); | ||
| 225 | + if (!body.length) { | ||
| 226 | + body = $('body'); | ||
| 227 | + } | ||
| 228 | + window.setTimeout(function() { | ||
| 229 | + $.each(terms, function() { | ||
| 230 | + body.highlightText(this.toLowerCase(), 'highlighted'); | ||
| 231 | + }); | ||
| 232 | + }, 10); | ||
| 233 | + $('<p class="highlight-link"><a href="javascript:Documentation.' + | ||
| 234 | + 'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>') | ||
| 235 | + .appendTo($('#searchbox')); | ||
| 236 | + } | ||
| 237 | + }, | ||
| 238 | + | ||
| 239 | + /** | ||
| 240 | + * init the domain index toggle buttons | ||
| 241 | + */ | ||
| 242 | + initIndexTable : function() { | ||
| 243 | + var togglers = $('img.toggler').click(function() { | ||
| 244 | + var src = $(this).attr('src'); | ||
| 245 | + var idnum = $(this).attr('id').substr(7); | ||
| 246 | + $('tr.cg-' + idnum).toggle(); | ||
| 247 | + if (src.substr(-9) === 'minus.png') | ||
| 248 | + $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); | ||
| 249 | + else | ||
| 250 | + $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); | ||
| 251 | + }).css('display', ''); | ||
| 252 | + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { | ||
| 253 | + togglers.click(); | ||
| 254 | + } | ||
| 255 | + }, | ||
| 256 | + | ||
| 257 | + /** | ||
| 258 | + * helper function to hide the search marks again | ||
| 259 | + */ | ||
| 260 | + hideSearchWords : function() { | ||
| 261 | + $('#searchbox .highlight-link').fadeOut(300); | ||
| 262 | + $('span.highlighted').removeClass('highlighted'); | ||
| 263 | + }, | ||
| 264 | + | ||
| 265 | + /** | ||
| 266 | + * make the url absolute | ||
| 267 | + */ | ||
| 268 | + makeURL : function(relativeURL) { | ||
| 269 | + return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; | ||
| 270 | + }, | ||
| 271 | + | ||
| 272 | + /** | ||
| 273 | + * get the current relative url | ||
| 274 | + */ | ||
| 275 | + getCurrentURL : function() { | ||
| 276 | + var path = document.location.pathname; | ||
| 277 | + var parts = path.split(/\//); | ||
| 278 | + $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { | ||
| 279 | + if (this === '..') | ||
| 280 | + parts.pop(); | ||
| 281 | + }); | ||
| 282 | + var url = parts.join('/'); | ||
| 283 | + return path.substring(url.lastIndexOf('/') + 1, path.length - 1); | ||
| 284 | + }, | ||
| 285 | + | ||
| 286 | + initOnKeyListeners: function() { | ||
| 287 | + $(document).keyup(function(event) { | ||
| 288 | + var activeElementType = document.activeElement.tagName; | ||
| 289 | + // don't navigate when in search box or textarea | ||
| 290 | + if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { | ||
| 291 | + switch (event.keyCode) { | ||
| 292 | + case 37: // left | ||
| 293 | + var prevHref = $('link[rel="prev"]').prop('href'); | ||
| 294 | + if (prevHref) { | ||
| 295 | + window.location.href = prevHref; | ||
| 296 | + return false; | ||
| 297 | + } | ||
| 298 | + case 39: // right | ||
| 299 | + var nextHref = $('link[rel="next"]').prop('href'); | ||
| 300 | + if (nextHref) { | ||
| 301 | + window.location.href = nextHref; | ||
| 302 | + return false; | ||
| 303 | + } | ||
| 304 | + } | ||
| 305 | + } | ||
| 306 | + }); | ||
| 307 | + } | ||
| 308 | +}; | ||
| 309 | + | ||
| 310 | +// quick alias for translations | ||
| 311 | +_ = Documentation.gettext; | ||
| 312 | + | ||
| 313 | +$(document).ready(function() { | ||
| 314 | + Documentation.init(); | ||
| 315 | +}); |
| 1 | +var DOCUMENTATION_OPTIONS = { | ||
| 2 | + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), | ||
| 3 | + VERSION: '2.0', | ||
| 4 | + LANGUAGE: 'en', | ||
| 5 | + COLLAPSE_INDEX: false, | ||
| 6 | + FILE_SUFFIX: '', | ||
| 7 | + HAS_SOURCE: true, | ||
| 8 | + SOURCELINK_SUFFIX: '.txt', | ||
| 9 | + NAVIGATION_WITH_KEYS: false, | ||
| 10 | +}; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 1 | +<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 877 78" x="0px" y="0px" xml:space="preserve" preserveAspectRatio="xMinYMid"><defs><style>.cls-1{fill:#3fae2a;}</style></defs><path class="cls-1" d="M114.56,20.85a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4H101a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1h4.8a.93.93,0,0,0,.9-1.4Zm-6.8,25.2,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M166.66,20.85h-5a1,1,0,0,0-1,1v22.6h-.1l-22.8-24.2h-1.4a1,1,0,0,0-1,1v36.8a1.08,1.08,0,0,0,1,1h5a1,1,0,0,0,1-1V34.55h.1l22.9,25.1h1.3a1,1,0,0,0,1-1V21.85A.94.94,0,0,0,166.66,20.85Z"/><path class="cls-1" d="M191.26,20.85a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4h4.8a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1h4.8a.93.93,0,0,0,.9-1.4Zm-6.8,25.2,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M238.06,49.35a1.06,1.06,0,0,0-1.4,0,13,13,0,0,1-8.4,3.1A12.42,12.42,0,0,1,216,39.85c0-6.9,5.2-12.8,12.2-12.8a12.91,12.91,0,0,1,8.4,3.2,1,1,0,0,0,1.4,0l3.3-3.4a1,1,0,0,0-.1-1.5,18.6,18.6,0,0,0-13.2-5.1,19.7,19.7,0,1,0,0,39.4,18.74,18.74,0,0,0,13.3-5.3,1.09,1.09,0,0,0,.1-1.5Z"/><path class="cls-1" d="M264,20.25a19.7,19.7,0,1,0,19.7,19.8A19.61,19.61,0,0,0,264,20.25Zm0,32.3a12.55,12.55,0,0,1,0-25.1,12.55,12.55,0,1,1,0,25.1Z"/><path class="cls-1" d="M321,20.85h-5a1,1,0,0,0-1,1v22.6h-.1l-22.8-24.2h-1.4a1,1,0,0,0-1,1v36.8a1.08,1.08,0,0,0,1,1h5a1,1,0,0,0,1-1V34.55h.1l22.9,25.1H321a1,1,0,0,0,1-1V21.85A1.08,1.08,0,0,0,321,20.85Z"/><path class="cls-1" d="M342.86,20.85h-13a1.08,1.08,0,0,0-1,1v36.2a1,1,0,0,0,1,1h13a19.1,19.1,0,1,0,0-38.2Zm-.6,31.6H336v-25h6.2A12.09,12.09,0,0,1,354.46,40,12,12,0,0,1,342.26,52.45Z"/><path class="cls-1" d="M398.66,57.75,381.76,21a1,1,0,0,0-.9-.6h-.5a.91.91,0,0,0-.9.6l-17,36.8a1,1,0,0,0,.9,1.4h4.8a1.57,1.57,0,0,0,1.6-1.1l2.7-5.9h16.4l2.7,5.9a1.58,1.58,0,0,0,1.6,1.1H398A.94.94,0,0,0,398.66,57.75Zm-23.6-11.7,5.4-12h.2l5.5,12Z"/><path class="cls-1" d="M405.46,58.55h.3a.22.22,0,0,0,.2-.2v-1h.6l.4,1.1c0,.1.1.1.2.1h.4a.22.22,0,0,0,.2-.2c-.2-.3-.3-.7-.5-1a1,1,0,0,0,.7-1,1,1,0,0,0-1.1-1.1h-1.3a.22.22,0,0,0-.2.2v2.9C405.36,58.45,405.36,58.55,405.46,58.55Zm.5-2.7h.8a.37.37,0,0,1,.4.4.43.43,0,0,1-.4.4H406Z"/><path class="cls-1" d="M406.46,60.15a3.16,3.16,0,0,0,3.2-3.2,3.2,3.2,0,1,0-3.2,3.2Zm0-5.9a2.6,2.6,0,1,1-2.6,2.6A2.65,2.65,0,0,1,406.46,54.25Z"/><path class="cls-1" d="M24.46,57.65v-.2a36.79,36.79,0,0,1,.5-5.8v-.2l-.2-.1a49.67,49.67,0,0,1-5.2-2.5l-.2-.1-.1.2a53.76,53.76,0,0,0-2.8,7l-.1.2.2.1a39.14,39.14,0,0,0,7.6,1.4Z"/><path class="cls-1" d="M29.66,23.45h0c-1.5,0-2.9.1-4.4.2a33.92,33.92,0,0,0,.8,4.4A20.36,20.36,0,0,1,29.66,23.45Z"/><path class="cls-1" d="M24.46,59.45v-.2h-.2a51.94,51.94,0,0,1-6.5-1.1l-.6-.1.3.5a34.87,34.87,0,0,0,7.1,7.8l.4.4v-.7A51.43,51.43,0,0,1,24.46,59.45Z"/><path class="cls-1" d="M35,7.75a33.78,33.78,0,0,0-7.4,3.6,47,47,0,0,1,5.1,1.2A52.38,52.38,0,0,1,35,7.75Z"/><path class="cls-1" d="M45.86,6c-1.3,0-2.6.1-3.8.2a39.81,39.81,0,0,1,5.1,4.1l1.3,1.2-1.3,1.3a34.66,34.66,0,0,0-3.2,3.4v.1a6.12,6.12,0,0,0-.5.6,19.27,19.27,0,0,1,2.4-.1,23,23,0,1,1,0,46,22.39,22.39,0,0,1-12-3.4,45.33,45.33,0,0,1-5.2.3,19.27,19.27,0,0,1-2.4-.1,78.24,78.24,0,0,0,.7,8.1,33.26,33.26,0,0,0,18.9,5.8,33.75,33.75,0,1,0,0-67.5Z"/><path class="cls-1" d="M41.36,14c.7-.8,1.4-1.6,2.1-2.3a58.59,58.59,0,0,0-5-3.7,41.8,41.8,0,0,0-2.8,5.6c1.5.6,3,1.2,4.5,1.9C40.76,14.65,41.26,14.05,41.36,14Z"/><path class="cls-1" d="M18.46,33.25l.1.2.2-.1a50.41,50.41,0,0,1,4.9-3.1l.2-.1V30a38.39,38.39,0,0,1-1.1-5.9v-.2h-.2a43.62,43.62,0,0,0-7.3,2l-.2.1.1.2A30.3,30.3,0,0,0,18.46,33.25Z"/><path class="cls-1" d="M18.06,36.45l-.2.2a47,47,0,0,0-5.1,4.9l-.2.2.2.2a58.38,58.38,0,0,0,5.6,4.2l.2.1.1-.2a45.3,45.3,0,0,1,3-4.6l.1-.2-.1-.1a52,52,0,0,1-3.5-4.4Z"/><path class="cls-1" d="M31.36,57.75H32l-.5-.4a20.73,20.73,0,0,1-4.6-5.2v-.1l-.4-.2v.3a45.53,45.53,0,0,0-.4,5.3v.2h.2c.8,0,1.6.1,2.4.1A12.19,12.19,0,0,0,31.36,57.75Z"/><path class="cls-1" d="M30.26,20.45a39.43,39.43,0,0,1,1.4-4.9,46.94,46.94,0,0,0-6.5-1.4,48.47,48.47,0,0,0-.1,6.6A44.05,44.05,0,0,1,30.26,20.45Z"/><path class="cls-1" d="M33.46,20.35a29.18,29.18,0,0,1,4.7-2.3,27.49,27.49,0,0,0-3.6-1.5C34.16,17.75,33.76,19.05,33.46,20.35Z"/><path class="cls-1" d="M17.76,47.75l-.2-.1a57.36,57.36,0,0,1-5-3.6l-.5-.4.1.6a31.56,31.56,0,0,0,2.7,9.4l.2.5.2-.5a55.47,55.47,0,0,1,2.4-5.6Z"/><path class="cls-1" d="M22.06,15.75a33.47,33.47,0,0,0-5.2,6.7c1.7-.5,3.5-.9,5.3-1.3C22.06,19.35,22.06,17.55,22.06,15.75Z"/><path class="cls-1" d="M23.06,39.45v-.6a23.54,23.54,0,0,1,1-6l.2-.6-.5.3c-1.3.8-2.6,1.6-3.9,2.5l-.2.1.3.2c.9,1.2,1.8,2.5,2.8,3.6Z"/><path class="cls-1" d="M23.36,43l-.1-.6-.3.5c-.9,1.3-1.8,2.7-2.6,4.1l-.1.2.2.1c1.4.8,2.9,1.5,4.4,2.2l.5.2-.2-.5A23.11,23.11,0,0,1,23.36,43Z"/><path class="cls-1" d="M16.76,34.85l.2-.1-.1-.2a54.49,54.49,0,0,1-2.9-5.3l-.2-.5-.2.6a33.77,33.77,0,0,0-1.6,9.5v.6l.4-.4A24.93,24.93,0,0,1,16.76,34.85Z"/><path class="cls-1" d="M419.48,22.87a1,1,0,0,1,1-1H433A18.55,18.55,0,1,1,433,59H420.43a1,1,0,0,1-1-1Zm12.88,29.62c6.89,0,11.92-5.19,11.92-12.13a11.69,11.69,0,0,0-11.92-12.08h-6V52.49Z"/><path class="cls-1" d="M475,21.33a19.08,19.08,0,1,1-19,19.13A19,19,0,0,1,475,21.33Zm0,31.27a12.19,12.19,0,1,0-12.14-12.14A12.21,12.21,0,0,0,475,52.59Z"/><path class="cls-1" d="M517.42,21.33a17.94,17.94,0,0,1,12.83,4.93,1,1,0,0,1,.05,1.48l-3.23,3.34a.85.85,0,0,1-1.33,0A12.54,12.54,0,0,0,517.58,28c-6.78,0-11.82,5.67-11.82,12.35a12,12,0,0,0,11.87,12.24,12.72,12.72,0,0,0,8.11-3,1,1,0,0,1,1.33,0l3.29,3.39a1,1,0,0,1-.05,1.43,18.19,18.19,0,0,1-12.88,5.14,19.08,19.08,0,1,1,0-38.16Z"/><path class="cls-1" d="M536.71,22.87a1,1,0,0,1,1-1h5a1,1,0,0,1,1,1V44.54c0,4.5,3.07,8.05,7.68,8.05a7.64,7.64,0,0,0,7.74-8V22.87a1,1,0,0,1,1-1h5a1,1,0,0,1,1,1v22a14.76,14.76,0,0,1-29.52,0Z"/><path class="cls-1" d="M579.22,22.12a.89.89,0,0,1,1-.79H581a1,1,0,0,1,.9.53l11.66,25h.16l11.66-25a.91.91,0,0,1,.9-.53h.85a.89.89,0,0,1,1,.79l6.25,35.61a.92.92,0,0,1-1,1.22h-4.82a1.15,1.15,0,0,1-1-.79l-3.13-20.08h-.16L595,58.9a.9.9,0,0,1-.9.58h-1a1,1,0,0,1-.9-.58l-9.38-20.83h-.16l-3.07,20.08a1,1,0,0,1-1,.79h-4.77a1,1,0,0,1-1-1.22Z"/><path class="cls-1" d="M621.62,22.87a1,1,0,0,1,1-1h21.57a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1H628.51v8.69H641.6a1,1,0,0,1,1,1v4.4a1,1,0,0,1-1,1H628.51v9.27h15.69a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1H622.63a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M652.78,22.28a1,1,0,0,1,1-1h1.33l22,23.42h.05V22.87a1,1,0,0,1,1-1h4.88a1,1,0,0,1,1,1V58.53a1,1,0,0,1-1,1h-1.27L659.67,35.16h-.05V57.95a1,1,0,0,1-1,1h-4.82a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M698.73,28.22h-8.11a1,1,0,0,1-1-1V22.87a1,1,0,0,1,1-1h23.16a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1h-8.11V57.95a1,1,0,0,1-1,1h-4.93a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M713.47,57.58l16.48-35.66a1,1,0,0,1,.9-.58h.53a.9.9,0,0,1,.9.58L748.6,57.58a.94.94,0,0,1-.9,1.38h-4.61a1.52,1.52,0,0,1-1.54-1.06L739,52.17H723.11l-2.6,5.72A1.6,1.6,0,0,1,719,59h-4.61A.94.94,0,0,1,713.47,57.58Zm22.89-11.29-5.3-11.66h-.16l-5.19,11.66Z"/><path class="cls-1" d="M756.45,28.22h-8.11a1,1,0,0,1-1-1V22.87a1,1,0,0,1,1-1H771.5a1,1,0,0,1,1,1v4.35a1,1,0,0,1-1,1h-8.11V57.95a1,1,0,0,1-1,1h-4.93a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M778,22.87a1,1,0,0,1,1-1H784a1,1,0,0,1,1,1V57.95a1,1,0,0,1-1,1H779a1,1,0,0,1-1-1Z"/><path class="cls-1" d="M811,21.33a19.08,19.08,0,1,1-19,19.13A19,19,0,0,1,811,21.33Zm0,31.27a12.19,12.19,0,1,0-12.14-12.14A12.21,12.21,0,0,0,811,52.59Z"/><path class="cls-1" d="M837,22.28a1,1,0,0,1,1-1h1.33l22,23.42h.05V22.87a1,1,0,0,1,1-1h4.88a1,1,0,0,1,1,1V58.53a1,1,0,0,1-1,1H866L843.9,35.16h-.05V57.95a1,1,0,0,1-1,1H838a1,1,0,0,1-1-1Z"/></svg> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +.highlight .hll { background-color: #ffffcc } | ||
| 2 | +.highlight { background: #eeffcc; } | ||
| 3 | +.highlight .c { color: #408090; font-style: italic } /* Comment */ | ||
| 4 | +.highlight .err { border: 1px solid #FF0000 } /* Error */ | ||
| 5 | +.highlight .k { color: #007020; font-weight: bold } /* Keyword */ | ||
| 6 | +.highlight .o { color: #666666 } /* Operator */ | ||
| 7 | +.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ | ||
| 8 | +.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ | ||
| 9 | +.highlight .cp { color: #007020 } /* Comment.Preproc */ | ||
| 10 | +.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ | ||
| 11 | +.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ | ||
| 12 | +.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ | ||
| 13 | +.highlight .gd { color: #A00000 } /* Generic.Deleted */ | ||
| 14 | +.highlight .ge { font-style: italic } /* Generic.Emph */ | ||
| 15 | +.highlight .gr { color: #FF0000 } /* Generic.Error */ | ||
| 16 | +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | ||
| 17 | +.highlight .gi { color: #00A000 } /* Generic.Inserted */ | ||
| 18 | +.highlight .go { color: #333333 } /* Generic.Output */ | ||
| 19 | +.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ | ||
| 20 | +.highlight .gs { font-weight: bold } /* Generic.Strong */ | ||
| 21 | +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | ||
| 22 | +.highlight .gt { color: #0044DD } /* Generic.Traceback */ | ||
| 23 | +.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ | ||
| 24 | +.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ | ||
| 25 | +.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ | ||
| 26 | +.highlight .kp { color: #007020 } /* Keyword.Pseudo */ | ||
| 27 | +.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ | ||
| 28 | +.highlight .kt { color: #902000 } /* Keyword.Type */ | ||
| 29 | +.highlight .m { color: #208050 } /* Literal.Number */ | ||
| 30 | +.highlight .s { color: #4070a0 } /* Literal.String */ | ||
| 31 | +.highlight .na { color: #4070a0 } /* Name.Attribute */ | ||
| 32 | +.highlight .nb { color: #007020 } /* Name.Builtin */ | ||
| 33 | +.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ | ||
| 34 | +.highlight .no { color: #60add5 } /* Name.Constant */ | ||
| 35 | +.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ | ||
| 36 | +.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ | ||
| 37 | +.highlight .ne { color: #007020 } /* Name.Exception */ | ||
| 38 | +.highlight .nf { color: #06287e } /* Name.Function */ | ||
| 39 | +.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ | ||
| 40 | +.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ | ||
| 41 | +.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ | ||
| 42 | +.highlight .nv { color: #bb60d5 } /* Name.Variable */ | ||
| 43 | +.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ | ||
| 44 | +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ | ||
| 45 | +.highlight .mb { color: #208050 } /* Literal.Number.Bin */ | ||
| 46 | +.highlight .mf { color: #208050 } /* Literal.Number.Float */ | ||
| 47 | +.highlight .mh { color: #208050 } /* Literal.Number.Hex */ | ||
| 48 | +.highlight .mi { color: #208050 } /* Literal.Number.Integer */ | ||
| 49 | +.highlight .mo { color: #208050 } /* Literal.Number.Oct */ | ||
| 50 | +.highlight .sa { color: #4070a0 } /* Literal.String.Affix */ | ||
| 51 | +.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ | ||
| 52 | +.highlight .sc { color: #4070a0 } /* Literal.String.Char */ | ||
| 53 | +.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */ | ||
| 54 | +.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ | ||
| 55 | +.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ | ||
| 56 | +.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ | ||
| 57 | +.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ | ||
| 58 | +.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ | ||
| 59 | +.highlight .sx { color: #c65d09 } /* Literal.String.Other */ | ||
| 60 | +.highlight .sr { color: #235388 } /* Literal.String.Regex */ | ||
| 61 | +.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ | ||
| 62 | +.highlight .ss { color: #517918 } /* Literal.String.Symbol */ | ||
| 63 | +.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ | ||
| 64 | +.highlight .fm { color: #06287e } /* Name.Function.Magic */ | ||
| 65 | +.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ | ||
| 66 | +.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ | ||
| 67 | +.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ | ||
| 68 | +.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */ | ||
| 69 | +.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +// For more details on analytics at Read the Docs, please see: | ||
| 2 | +// https://docs.readthedocs.io/en/latest/advertising-details.html#analytics | ||
| 3 | + | ||
| 4 | + | ||
| 5 | +// Skip analytics for users with Do Not Track enabled | ||
| 6 | +if (navigator.doNotTrack === '1') { | ||
| 7 | + console.log('Respecting DNT with respect to analytics...'); | ||
| 8 | +} else { | ||
| 9 | + // RTD Analytics Code | ||
| 10 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
| 11 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
| 12 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
| 13 | + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
| 14 | + | ||
| 15 | + if (typeof READTHEDOCS_DATA !== 'undefined') { | ||
| 16 | + if (READTHEDOCS_DATA.global_analytics_code) { | ||
| 17 | + ga('create', READTHEDOCS_DATA.global_analytics_code, 'auto', 'rtfd', { | ||
| 18 | + 'cookieExpires': 30 * 24 * 60 * 60 | ||
| 19 | + }); | ||
| 20 | + ga('rtfd.set', 'dimension1', READTHEDOCS_DATA.project); | ||
| 21 | + ga('rtfd.set', 'dimension2', READTHEDOCS_DATA.version); | ||
| 22 | + ga('rtfd.set', 'dimension3', READTHEDOCS_DATA.language); | ||
| 23 | + ga('rtfd.set', 'dimension4', READTHEDOCS_DATA.theme); | ||
| 24 | + ga('rtfd.set', 'dimension5', READTHEDOCS_DATA.programming_language); | ||
| 25 | + ga('rtfd.set', 'dimension6', READTHEDOCS_DATA.builder); | ||
| 26 | + ga('rtfd.set', 'anonymizeIp', true); | ||
| 27 | + ga('rtfd.send', 'pageview'); | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + // User Analytics Code | ||
| 31 | + if (READTHEDOCS_DATA.user_analytics_code) { | ||
| 32 | + ga('create', READTHEDOCS_DATA.user_analytics_code, 'auto', 'user', { | ||
| 33 | + 'cookieExpires': 30 * 24 * 60 * 60 | ||
| 34 | + }); | ||
| 35 | + ga('user.set', 'anonymizeIp', true); | ||
| 36 | + ga('user.send', 'pageview'); | ||
| 37 | + } | ||
| 38 | + // End User Analytics Code | ||
| 39 | + } | ||
| 40 | + // end RTD Analytics Code | ||
| 41 | +} |
| 1 | +var READTHEDOCS_DATA = { | ||
| 2 | + project: "continuumio-docs", | ||
| 3 | + version: "latest", | ||
| 4 | + language: "en", | ||
| 5 | + programming_language: "words", | ||
| 6 | + subprojects: {}, | ||
| 7 | + canonical_url: "https://docs.anaconda.com/", | ||
| 8 | + theme: "continuum", | ||
| 9 | + builder: "sphinx", | ||
| 10 | + docroot: "/docs/source/", | ||
| 11 | + source_suffix: ".rst", | ||
| 12 | + api_host: "https://readthedocs.com", | ||
| 13 | + commit: "654270ef", | ||
| 14 | + ad_free: false, | ||
| 15 | + | ||
| 16 | + global_analytics_code: 'UA-17997319-2', | ||
| 17 | + user_analytics_code: null | ||
| 18 | +}; | ||
| 19 | + |
| 1 | +/* Left for CSS overrides we need to make in the future */ | ||
| 2 | + | ||
| 3 | +/* Fix badge on RTD Theme */ | ||
| 4 | + | ||
| 5 | +/* Please keep RTD badge displayed on your site */ | ||
| 6 | +.rst-versions.rst-badge { | ||
| 7 | + display: block; | ||
| 8 | + | ||
| 9 | + bottom: 50px; | ||
| 10 | + | ||
| 11 | + /* Workaround for mkdocs which set a specific height for this element */ | ||
| 12 | + height: auto; | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +.rst-other-versions { | ||
| 16 | + text-align: left; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +.rst-other-versions a { | ||
| 20 | + border: 0; | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +.rst-other-versions dl { | ||
| 24 | + margin: 0; | ||
| 25 | +} | ||
| 26 | + | ||
| 27 | + | ||
| 28 | +/* Fix RTD theme bottom margin */ | ||
| 29 | +.rst-content .line-block { | ||
| 30 | + margin-bottom: 24px | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +/* Fix for nav bottom padding with flyout */ | ||
| 34 | +nav.wy-nav-side { | ||
| 35 | + padding-bottom: 3em; | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | +/* bookmark icon */ | ||
| 39 | +.bookmark-added-msg {display: none;} | ||
| 40 | +.bookmark-active {display: none;} | ||
| 41 | +.bookmark-inactive {display: none;} | ||
| 42 | + | ||
| 43 | + | ||
| 44 | +/* Read the Docs promotional block, only applicable to RTD.org | ||
| 45 | + | ||
| 46 | +To support sphinx_rtd_theme, a `wy-menu` element is added. Other themes are | ||
| 47 | +targeted using the theme identifier and use custom elements instead of a CSS | ||
| 48 | +framework html structure. | ||
| 49 | + | ||
| 50 | +*/ | ||
| 51 | + | ||
| 52 | +div.ethical-sidebar, | ||
| 53 | +div.ethical-footer { | ||
| 54 | + display: block !important; | ||
| 55 | +} | ||
| 56 | +.ethical-sidebar, | ||
| 57 | +.ethical-footer { | ||
| 58 | + padding: 0.5em; | ||
| 59 | + margin: 1em 0; | ||
| 60 | +} | ||
| 61 | +.ethical-sidebar img, | ||
| 62 | +.ethical-footer img { | ||
| 63 | + width: 120px; | ||
| 64 | + height: 90px; | ||
| 65 | + display: inline-block; | ||
| 66 | +} | ||
| 67 | +.ethical-sidebar .ethical-callout, | ||
| 68 | +.ethical-footer .ethical-callout { | ||
| 69 | + padding-top: 1em; | ||
| 70 | + clear: both; | ||
| 71 | +} | ||
| 72 | +.ethical-sidebar .ethical-pixel, | ||
| 73 | +.ethical-footer .ethical-pixel, | ||
| 74 | +.ethical-fixedfooter .ethical-pixel { | ||
| 75 | + display: none !important; | ||
| 76 | +} | ||
| 77 | +.ethical-sidebar .ethical-text, | ||
| 78 | +.ethical-footer .ethical-text { | ||
| 79 | + margin-top: 1em; | ||
| 80 | +} | ||
| 81 | +.ethical-sidebar .ethical-image-link, | ||
| 82 | +.ethical-footer .ethical-image-link { | ||
| 83 | + border: 0; | ||
| 84 | +} | ||
| 85 | + | ||
| 86 | +.ethical-sidebar, | ||
| 87 | +.ethical-footer { | ||
| 88 | + background-color: #eee; | ||
| 89 | + border: 1px solid #ccc; | ||
| 90 | + border-radius: 5px; | ||
| 91 | + color: #0a0a0a; | ||
| 92 | + font-size: 14px; | ||
| 93 | + line-height: 20px; | ||
| 94 | +} | ||
| 95 | + | ||
| 96 | +/* Techstack badging */ | ||
| 97 | +.ethical-sidebar ul { | ||
| 98 | + margin: 0 !important; | ||
| 99 | + padding-left: 0; | ||
| 100 | + list-style: none; | ||
| 101 | +} | ||
| 102 | +.ethical-sidebar ul li { | ||
| 103 | + display: inline-block; | ||
| 104 | + background-color: lightskyblue; | ||
| 105 | + color: black; | ||
| 106 | + padding: 0.25em 0.4em; | ||
| 107 | + font-size: 75%; | ||
| 108 | + font-weight: 700; | ||
| 109 | + margin: 0.25em; | ||
| 110 | + border-radius: 0.25rem; | ||
| 111 | + text-align: center; | ||
| 112 | + vertical-align: baseline; | ||
| 113 | + white-space: nowrap; | ||
| 114 | + line-height: 1.41; | ||
| 115 | +} | ||
| 116 | +.ethical-sidebar ul li:not(:last-child) { | ||
| 117 | + margin-right: .25rem; | ||
| 118 | +} | ||
| 119 | + | ||
| 120 | +.ethical-sidebar a, | ||
| 121 | +.ethical-sidebar a:visited, | ||
| 122 | +.ethical-sidebar a:hover, | ||
| 123 | +.ethical-sidebar a:active, | ||
| 124 | +.ethical-footer a, | ||
| 125 | +.ethical-footer a:visited, | ||
| 126 | +.ethical-footer a:hover, | ||
| 127 | +.ethical-footer a:active { | ||
| 128 | + color: #0a0a0a; | ||
| 129 | + text-decoration: none !important; | ||
| 130 | + border-bottom: 0 !important; | ||
| 131 | +} | ||
| 132 | + | ||
| 133 | +.ethical-callout a { | ||
| 134 | + color: #707070 !important; | ||
| 135 | + text-decoration: none !important; | ||
| 136 | +} | ||
| 137 | + | ||
| 138 | +/* Sidebar promotions */ | ||
| 139 | +.ethical-sidebar { | ||
| 140 | + text-align: center; | ||
| 141 | +} | ||
| 142 | + | ||
| 143 | +/* Footer promotions */ | ||
| 144 | +.ethical-footer { | ||
| 145 | + text-align: left; | ||
| 146 | + | ||
| 147 | + font-size: 14px; | ||
| 148 | + line-height: 20px; | ||
| 149 | +} | ||
| 150 | +.ethical-footer img { | ||
| 151 | + float: right; | ||
| 152 | + margin-left: 25px; | ||
| 153 | +} | ||
| 154 | +.ethical-footer .ethical-callout { | ||
| 155 | + text-align: center; | ||
| 156 | +} | ||
| 157 | +.ethical-footer small { | ||
| 158 | + font-size: 10px; | ||
| 159 | +} | ||
| 160 | + | ||
| 161 | +/* Fixed footer promotions */ | ||
| 162 | +.ethical-fixedfooter { | ||
| 163 | + box-sizing: border-box; | ||
| 164 | + position: fixed; | ||
| 165 | + bottom: 0; | ||
| 166 | + left: 0; | ||
| 167 | + z-index: 100; | ||
| 168 | + background-color: #eee; | ||
| 169 | + border-top: 1px solid #bfbfbf; | ||
| 170 | + font-size: 12px; | ||
| 171 | + line-height: 16px; | ||
| 172 | + padding: 0.5em 2.5em; | ||
| 173 | + text-align: center; | ||
| 174 | + color: #404040; | ||
| 175 | + width: 100%; /* Fallback for Opera Mini */ | ||
| 176 | + width: 100vw; | ||
| 177 | +} | ||
| 178 | +.ethical-fixedfooter a, | ||
| 179 | +.ethical-fixedfooter a:hover, | ||
| 180 | +.ethical-fixedfooter a:active, | ||
| 181 | +.ethical-fixedfooter a:visited { | ||
| 182 | + color: #004B6B; | ||
| 183 | + text-decoration: underline; | ||
| 184 | +} | ||
| 185 | +.ethical-fixedfooter .ethical-close { | ||
| 186 | + position: absolute; | ||
| 187 | + top: 0; | ||
| 188 | + right: 5px; | ||
| 189 | + font-size: 15px; | ||
| 190 | + line-height: 15px; | ||
| 191 | +} | ||
| 192 | +.ethical-fixedfooter .ethical-close a { | ||
| 193 | + color: black; | ||
| 194 | + text-decoration: none; | ||
| 195 | +} | ||
| 196 | + | ||
| 197 | +/* RTD Theme specific customizations */ | ||
| 198 | +.wy-nav-side .ethical-rtd { | ||
| 199 | + /* RTD theme doesn't correctly set the sidebar width */ | ||
| 200 | + width: 300px; | ||
| 201 | + padding: 0 1em; | ||
| 202 | +} | ||
| 203 | +.ethical-rtd .ethical-sidebar { | ||
| 204 | + /* RTD theme doesn't set sidebar text color */ | ||
| 205 | + color: #b3b3b3; | ||
| 206 | + | ||
| 207 | + font-size: 14px; | ||
| 208 | + line-height: 20px; | ||
| 209 | +} | ||
| 210 | + | ||
| 211 | +/* Alabaster specific customizations */ | ||
| 212 | +.ethical-alabaster a.ethical-image-link { | ||
| 213 | + /* Alabaster adds a border even to image links on hover */ | ||
| 214 | + border: 0 !important; | ||
| 215 | +} | ||
| 216 | +.ethical-alabaster hr { | ||
| 217 | + /* Alabaster needs some extra spacing before the footer ad */ | ||
| 218 | + margin-top: 2em; | ||
| 219 | +} | ||
| 220 | +.ethical-alabaster::before { | ||
| 221 | + /* Alabaster's search box above the ad is floating */ | ||
| 222 | + clear: both; | ||
| 223 | + content: ''; | ||
| 224 | + display: table; | ||
| 225 | + margin-top: 3em; | ||
| 226 | +} | ||
| 227 | + | ||
| 228 | +/* Dark theme */ | ||
| 229 | +.ethical-dark-theme .ethical-sidebar { | ||
| 230 | + background-color: rgba(255, 255, 255, 0.1); | ||
| 231 | + border: 1px solid #a0a0a0; | ||
| 232 | + color: #c2c2c2 !important; | ||
| 233 | +} | ||
| 234 | +.ethical-dark-theme a, | ||
| 235 | +.ethical-dark-theme a:visited { | ||
| 236 | + color: #e6e6e6 !important; | ||
| 237 | + border-bottom: 0 !important; | ||
| 238 | +} | ||
| 239 | +.ethical-dark-theme .ethical-callout a { | ||
| 240 | + color: #b3b3b3 !important; | ||
| 241 | +} | ||
| 242 | + | ||
| 243 | + | ||
| 244 | +/* Ad block nag */ | ||
| 245 | +.keep-us-sustainable { | ||
| 246 | + padding: .5em; | ||
| 247 | + margin: 1em 0; | ||
| 248 | + text-align: center; | ||
| 249 | + border: 1px dotted #8ECC4C; | ||
| 250 | +} | ||
| 251 | +.keep-us-sustainable a, | ||
| 252 | +.keep-us-sustainable a:hover, | ||
| 253 | +.keep-us-sustainable a:visited { | ||
| 254 | + text-decoration: none; | ||
| 255 | +} | ||
| 256 | +/* Read the Docs theme specific fixes */ | ||
| 257 | +.wy-body-for-nav .keep-us-sustainable { | ||
| 258 | + margin: 1em 2em 1em 1em; | ||
| 259 | + color: #b3b3b3; | ||
| 260 | +} | ||
| 261 | +.wy-body-for-nav .keep-us-sustainable a { | ||
| 262 | + color: #efefef; | ||
| 263 | + font-size: 14px; | ||
| 264 | + line-height: 20px; | ||
| 265 | +} |
This diff is collapsed.
Click to expand it.
| 1 | +(function init($) { | ||
| 2 | + 'use strict'; | ||
| 3 | + | ||
| 4 | + var continuum = window.continuum || { }; | ||
| 5 | + | ||
| 6 | + // Check for client-only history data in localStorage | ||
| 7 | + continuum.history = function history(key) { | ||
| 8 | + return localStorage[key]; | ||
| 9 | + }; | ||
| 10 | + | ||
| 11 | + continuum.endsWith = function endsWith(string, searchString, strpos) { | ||
| 12 | + var subjectString = string; | ||
| 13 | + var position = strpos; | ||
| 14 | + var lastIndex = 0; | ||
| 15 | + | ||
| 16 | + if (typeof strpos !== 'number' || !isFinite(strpos) | ||
| 17 | + || Math.floor(strpos) !== strpos || strpos > subjectString.length) { | ||
| 18 | + position = subjectString.length; | ||
| 19 | + } | ||
| 20 | + position -= searchString.length; | ||
| 21 | + lastIndex = subjectString.lastIndexOf(searchString, position); | ||
| 22 | + | ||
| 23 | + return lastIndex !== -1 && lastIndex === position; | ||
| 24 | + }; | ||
| 25 | + | ||
| 26 | + continuum.stickySideBar = function stickySideBar() { | ||
| 27 | + var $stick = $('aside'); | ||
| 28 | + var $footer = $('footer'); | ||
| 29 | + var offtop = $stick.offset().top; | ||
| 30 | + var menuHeight = $stick.find('.pane-node-field-doc-navigation-menu').height(); | ||
| 31 | + var currentPage = location.pathname.substring(location.pathname.lastIndexOf("/") + 1); | ||
| 32 | + | ||
| 33 | + $(window).scroll(function () { | ||
| 34 | + var scrtop = $(window).scrollTop(); | ||
| 35 | + var offbtm = $footer.offset().top - $(window).height(); | ||
| 36 | + | ||
| 37 | + if (scrtop > offtop && $stick.hasClass('natural')) { | ||
| 38 | + $stick.removeClass('natural').addClass('fixed').css('top', 0); | ||
| 39 | + } | ||
| 40 | + if (offtop > scrtop && $stick.hasClass('fixed')) { | ||
| 41 | + $stick.removeClass('fixed').addClass('natural').css('top', 'auto'); | ||
| 42 | + } | ||
| 43 | + if (offbtm > scrtop && $stick.hasClass('bottom')) { | ||
| 44 | + $stick.removeClass('bottom').addClass('fixed').css('top', 0); | ||
| 45 | + } | ||
| 46 | + }); | ||
| 47 | + }; | ||
| 48 | + | ||
| 49 | + $(window).on('load', function () { | ||
| 50 | + | ||
| 51 | + if ($(window).width() > 640) { | ||
| 52 | + // sticky sidebar | ||
| 53 | + continuum.stickySideBar(); | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + }); | ||
| 57 | + | ||
| 58 | + $(document).ready(function onReady() { | ||
| 59 | + | ||
| 60 | + // toggle left menu | ||
| 61 | + $('.breadcrumb-wrapper .toggle-sidebar').click(function toggleLeftMenu() { | ||
| 62 | + if ($(window).width() > 799) { | ||
| 63 | + $('body').toggleClass('sidebar-collapsed'); | ||
| 64 | + $('body').removeClass('sidebar-expanded'); | ||
| 65 | + } else { | ||
| 66 | + $('body').toggleClass('sidebar-expanded'); | ||
| 67 | + $('body').removeClass('sidebar-collapsed'); | ||
| 68 | + } | ||
| 69 | + }); | ||
| 70 | + | ||
| 71 | + $('.layout-two-col__second .sidebar-close').click(function () { | ||
| 72 | + $('body').removeClass('sidebar-expanded'); | ||
| 73 | + $('body').removeClass('sidebar-collapsed'); | ||
| 74 | + }); | ||
| 75 | + | ||
| 76 | + // smooth anchor scroll | ||
| 77 | + $('a[href*="#"]:not([href="#"])').not('.tab-title > a').click(function smoothAScroll() { | ||
| 78 | + var target = $(this.hash); | ||
| 79 | + | ||
| 80 | + if (location.pathname.replace(/^\//, '') === this.pathname.replace(/^\//, '') | ||
| 81 | + && location.hostname === this.hostname) { | ||
| 82 | + target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); | ||
| 83 | + if (target.length) { | ||
| 84 | + $('html, body').animate({ | ||
| 85 | + scrollTop: target.offset().top | ||
| 86 | + }, 1000); | ||
| 87 | + } | ||
| 88 | + } | ||
| 89 | + }); | ||
| 90 | + | ||
| 91 | + // scroll pane for syntax blocks | ||
| 92 | + $('.highlight').addClass('horizontal-only scroll-pane'); | ||
| 93 | + | ||
| 94 | + $('.scroll-pane').jScrollPane({ autoReinitialise: true }); | ||
| 95 | + $('.scroll-pane').each( | ||
| 96 | + function () { | ||
| 97 | + var api = $(this).data('jsp'); | ||
| 98 | + var throttleTimeout; | ||
| 99 | + | ||
| 100 | + $(this).jScrollPane({ autoReinitialise: true }); | ||
| 101 | + | ||
| 102 | + $(window).bind( | ||
| 103 | + 'resize', | ||
| 104 | + function () { | ||
| 105 | + if (!throttleTimeout) { | ||
| 106 | + throttleTimeout = setTimeout( | ||
| 107 | + function () { | ||
| 108 | + api.reinitialise(); | ||
| 109 | + throttleTimeout = null; | ||
| 110 | + } | ||
| 111 | + ); | ||
| 112 | + } | ||
| 113 | + } | ||
| 114 | + ); | ||
| 115 | + } | ||
| 116 | + ); | ||
| 117 | + | ||
| 118 | + // temp menu hack: remove dashes and add arrows for menus with dashes only | ||
| 119 | + $('.pane-node-field-doc-navigation-menu ul > li').each(function (e) { | ||
| 120 | + var nlink = $(this).find('> a'); | ||
| 121 | + // treat section links | ||
| 122 | + if (nlink.html() === 'Anaconda Platform' | ||
| 123 | + || nlink.html() === 'Open source incubated projects') { | ||
| 124 | + $(this).removeClass('toctree-l1'); | ||
| 125 | + $(this).addClass('menu-bold'); | ||
| 126 | + if (nlink.html() === 'Anaconda Platform') { | ||
| 127 | + $(this).html('<span class="nolink">Anaconda Platform</span>'); | ||
| 128 | + nlink = false; | ||
| 129 | + } | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + // remove dashes | ||
| 133 | + if (nlink && nlink.html().indexOf('\u2013 ') === 0) { | ||
| 134 | + nlink.html(nlink.html().substring(2)); | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + if (nlink && (nlink.html() === 'Welcome' || nlink.hasClass('url-external'))) { | ||
| 138 | + $(this).removeClass('toctree-l1'); | ||
| 139 | + } | ||
| 140 | + }); | ||
| 141 | + }); | ||
| 142 | +})(jQuery); |
This diff is collapsed.
Click to expand it.
44.4 KB
24.1 KB
30.5 KB
26.4 KB
123 KB
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or sign in to post a comment