diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6b7fe2e9720..a1bb60c14d9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,43 @@ +Version 2.6.6 +------------- + +:Date: September 25, 2018 + +* `@davidfischer `__: Fix a markdown test error (`#4663 `__) +* `@davidfischer `__: Ad customization docs (`#4659 `__) +* `@davidfischer `__: Fix a typo in the privacy policy (`#4658 `__) +* `@agjohnson `__: Put search step back into project build task (`#4655 `__) +* `@davidfischer `__: Create an explicit ad placement (`#4647 `__) +* `@stsewd `__: Fix some typos in docs and code (`#4646 `__) +* `@stsewd `__: Downgrade celery (`#4644 `__) +* `@stsewd `__: Downgrade django-taggit (`#4639 `__) +* `@safwanrahman `__: [Fix #4247] deleting old search code (`#4635 `__) +* `@stsewd `__: Add change versions slug to faq (`#4633 `__) +* `@stsewd `__: Pin sphinx to a compatible version (`#4631 `__) +* `@davidfischer `__: Make ads more obvious that they are ads (`#4628 `__) +* `@agjohnson `__: Change mentions of "CNAME" -> custom domain (`#4627 `__) +* `@invinciblycool `__: Use validate_dict for more accurate error messages (`#4617 `__) +* `@safwanrahman `__: fixing the indexing (`#4615 `__) +* `@humitos `__: Update our sponsors to mention Azure (`#4614 `__) +* `@agjohnson `__: Add cwd to subprocess calls (`#4611 `__) +* `@agjohnson `__: Make restapi URL additions conditional (`#4609 `__) +* `@agjohnson `__: Ability to use supervisor from python 2.7 and still run Python 3 (`#4606 `__) +* `@humitos `__: Return 404 for inactive versions and allow redirects on them (`#4599 `__) +* `@davidfischer `__: Fixes an issue with duplicate gold subscriptions (`#4597 `__) +* `@davidfischer `__: Fix ad block nag project issue (`#4596 `__) +* `@humitos `__: Run all our tests with Python 3.6 on Travis (`#4592 `__) +* `@humitos `__: Sanitize command output when running under DockerBuildEnvironment (`#4591 `__) +* `@humitos `__: Force resolver to use PUBLIC_DOMAIN over HTTPS if not Domain.https (`#4579 `__) +* `@davidfischer `__: Updates and simplification for mkdocs (`#4556 `__) +* `@humitos `__: Docs for hidding "On ..." section from versions menu (`#4547 `__) +* `@stsewd `__: Implement sphinx key from v2 config (`#4482 `__) +* `@safwanrahman `__: [Fix #4268] Adding Documentation for upgraded Search (`#4467 `__) +* `@humitos `__: Upgrade all packages using pur (`#4318 `__) +* `@humitos `__: Clean CC sensible data on Gold subscriptions (`#4291 `__) +* `@stsewd `__: Update docs to match the new triague guidelines (`#4260 `__) +* `@xrmx `__: Make the STABLE and LATEST constants overridable (`#4099 `__) +* `@stsewd `__: Use str to get the exception message (`#3912 `__) + Version 2.6.5 ------------- diff --git a/readthedocs/builds/static/builds/js/detail.js b/readthedocs/builds/static/builds/js/detail.js index 42f2407a31e..2b1cf9490fb 100644 --- a/readthedocs/builds/static/builds/js/detail.js +++ b/readthedocs/builds/static/builds/js/detail.js @@ -1 +1 @@ -require=function n(i,u,a){function c(o,e){if(!u[o]){if(!i[o]){var t="function"==typeof require&&require;if(!e&&t)return t(o,!0);if(d)return d(o,!0);var r=new Error("Cannot find module '"+o+"'");throw r.code="MODULE_NOT_FOUND",r}var s=u[o]={exports:{}};i[o][0].call(s.exports,function(e){var t=i[o][1][e];return c(t||e)},s,s.exports,n,i,u,a)}return u[o].exports}for(var d="function"==typeof require&&require,e=0;e"),i("table.docutils.footnote").wrap("
"),i("table.docutils.citation").wrap("
"),i(".wy-menu-vertical ul").not(".simple").siblings("a").each(function(){var t=i(this);expand=i(''),expand.on("click",function(e){return r.toggleCurrent(t),e.stopPropagation(),!1}),t.prepend(expand)})},reset:function(){var e=encodeURI(window.location.hash)||"#";try{var t=$(".wy-menu-vertical"),i=t.find('[href="'+e+'"]');if(0===i.length){var r=$('.document [id="'+e.substring(1)+'"]').closest("div.section");0===(i=t.find('[href="#'+r.attr("id")+'"]')).length&&(i=t.find('[href="#"]'))}0this.docHeight||(this.navBar.scrollTop(i),this.winPosition=e)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",function(){this.linkScroll=!1})},toggleCurrent:function(e){var t=e.closest("li");t.siblings("li.current").removeClass("current"),t.siblings().find("li.current").removeClass("current"),t.find("> ul li.current").removeClass("current"),t.toggleClass("current")}},"undefined"!=typeof window&&(window.SphinxRtdTheme={Navigation:t.exports.ThemeNav,StickyNav:t.exports.ThemeNav}),function(){for(var o=0,e=["ms","moz","webkit","o"],t=0;t/g,c=/"/g,p=/"/g,f=/&#([a-zA-Z0-9]*);?/gim,h=/:?/gim,m=/&newline;?/gim,g=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,v=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,b=/u\s*r\s*l\s*\(.*/gi;function w(e){return e.replace(c,""")}function y(e){return e.replace(p,'"')}function _(e){return e.replace(f,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})}function x(e){return e.replace(h,":").replace(m," ")}function k(e){for(var t="",i=0,r=e.length;i/g;i.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]},i.getDefaultWhiteList=o,i.onTag=function(e,t,i){},i.onIgnoreTag=function(e,t,i){},i.onTagAttr=function(e,t,i){},i.onIgnoreTagAttr=function(e,t,i){},i.safeAttrValue=function(e,t,i,r){if(i=T(i),"href"===t||"src"===t){if("#"===(i=u.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===t){if(g.lastIndex=0,g.test(i))return""}else if("style"===t){if(v.lastIndex=0,v.test(i))return"";if(b.lastIndex=0,b.test(i)&&(g.lastIndex=0,g.test(i)))return"";!1!==r&&(i=(r=r||s).process(i))}return i=E(i)},i.escapeHtml=a,i.escapeQuote=w,i.unescapeQuote=y,i.escapeHtmlEntities=_,i.escapeDangerHtml5Entities=x,i.clearNonPrintableCharacter=k,i.friendlyAttrValue=T,i.escapeAttrValue=E,i.onIgnoreTagStripAll=function(){return""},i.StripTagBody=function(s,a){"function"!=typeof a&&(a=function(){});var l=!Array.isArray(s),d=[],c=!1;return{onIgnoreTag:function(e,t,i){if(o=e,l||-1!==u.indexOf(s,o)){if(i.isClosing){var r="[/removed]",n=i.position+r.length;return d.push([!1!==c?c:i.position,n]),c=!1,r}return c||(c=i.position),"[removed]"}return a(e,t,i);var o},remove:function(t){var i="",r=0;return u.forEach(d,function(e){i+=t.slice(r,e[0]),r=e[1]}),i+=t.slice(r)}}},i.stripCommentTag=function(e){return e.replace(S,"")},i.stripBlankChar=function(e){var t=e.split("");return(t=t.filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")},i.cssFilter=s,i.getDefaultCSSWhiteList=n},{"./util":5,cssfilter:10}],3:[function(e,t,i){var r=e("./default"),n=e("./parser"),o=e("./xss");for(var s in(i=t.exports=function(e,t){return new o(t).process(e)}).FilterXSS=o,r)i[s]=r[s];for(var s in n)i[s]=n[s];"undefined"!=typeof window&&(window.filterXSS=t.exports)},{"./default":2,"./parser":4,"./xss":6}],4:[function(e,t,i){var c=e("./util");function p(e){var t=c.spaceIndex(e);if(-1===t)var i=e.slice(1,-1);else i=e.slice(1,t+1);return"/"===(i=c.trim(i).toLowerCase()).slice(0,1)&&(i=i.slice(1)),"/"===i.slice(-1)&&(i=i.slice(0,-1)),i}var u=/[^a-zA-Z0-9_:\.\-]/gim;function f(e,t){for(;t"===u){r+=i(e.slice(n,o)),c=p(d=e.slice(o,a+1)),r+=t(o,r.length,c,d,"";var a=function(e){var t=w.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var i="/"===(e=w.trim(e.slice(t+1,-1)))[e.length-1];return i&&(e=w.trim(e.slice(0,-1))),{html:e,closing:i}}(i),l=c[n],d=b(a.html,function(e,t){var i,r=-1!==w.indexOf(l,e);return y(i=f(n,e,t,r))?r?(t=m(n,e,t,v))?e+'="'+t+'"':e:y(i=h(n,e,t,r))?void 0:i:i});i="<"+n;return d&&(i+=" "+d),a.closing&&(i+=" /"),i+=">"}return y(o=p(n,i,s))?g(i):o},g);return i&&(r=i.remove(r)),r},t.exports=a},{"./default":2,"./parser":4,"./util":5,cssfilter:10}],7:[function(e,t,i){var r,n;r=this,n=function(){var T=!0;function s(i){function e(e){var t=i.match(e);return t&&1t[1][i])return 1;if(t[0][i]!==t[1][i])return-1;if(0===i)return 0}}function o(e,t,i){var r=a;"string"==typeof t&&(i=t,t=void 0),void 0===t&&(t=!1),i&&(r=s(i));var n=""+r.version;for(var o in e)if(e.hasOwnProperty(o)&&r[o]){if("string"!=typeof e[o])throw new Error("Browser version in the minVersion map should be a string: "+o+": "+String(e));return l([n,e[o]])<0}return t}return a.test=function(e){for(var t=0;t'),s=document.createElement("a"),a=r.highlight;if(s.href+=n.link+DOCUMENTATION_OPTIONS.FILE_SUFFIX,s.search="?highlight="+$.urlencode(d),o.append($("").attr("href",s).html(n.title)),-1===n.project.indexOf(c)&&o.append($("").text(" (from project "+n.project+")")),a.content.length){var l=$('
').html(u(a.content[0]));l.find("em").addClass("highlighted"),o.append(l)}Search.output.append(o),o.slideDown(5)}t.length?Search.status.text(_("Search finished, found %s page(s) matching the search query.").replace("%s",t.length)):Search.query_fallback(d)}).fail(function(e){Search.query_fallback(d)}).always(function(){$("#search-progress").empty(),Search.stopPulse(),Search.title.text(_("Search Results")),Search.status.fadeIn(500)}),$.ajax({url:e.href,crossDomain:!0,xhrFields:{withCredentials:!0},complete:function(e,t){return void 0===e.responseJSON||void 0===e.responseJSON.results?r.reject():r.resolve(e.responseJSON.results)}}).error(function(e,t,i){return r.reject()})}}$(document).ready(function(){"undefined"!=typeof Search&&Search.init()})}(r.get())}}},{"./../../../../../../bower_components/xss/lib/index":3,"./rtd-data":15}],17:[function(n,e,t){var o=n("./rtd-data");e.exports={init:function(){var e=o.get();if($(document).on("click","[data-toggle='rst-current-version']",function(){var e=$("[data-toggle='rst-versions']").hasClass("shift-up")?"was_open":"was_closed";"undefined"!=typeof ga?ga("rtfd.send","event","Flyout","Click",e):"undefined"!=typeof _gaq&&_gaq.push(["rtfd._setAccount","UA-17997319-1"],["rtfd._trackEvent","Flyout","Click",e])}),(void 0===e.builder||"sphinx"===e.builder)&&void 0===window.SphinxRtdTheme){var t=n("./../../../../../../bower_components/sphinx-rtd-theme/js/theme.js").ThemeNav;if($(document).ready(function(){setTimeout(function(){t.navBar||t.enable()},1e3)}),e.is_rtd_like_theme()&&!jquery("div.wy-side-scroll:first").length){console.log("Applying theme sidebar fix...");var i=jquery("nav.wy-nav-side:first"),r=$("
").addClass("wy-side-scroll");i.children().detach().appendTo(r),r.prependTo(i),t.navBar=r}}}}},{"./../../../../../../bower_components/sphinx-rtd-theme/js/theme.js":1,"./rtd-data":15}],18:[function(e,t,i){var l,d=e("./constants"),c=e("./rtd-data"),r=e("bowser");function u(){var e,t,i="rtd-"+(Math.random()+1).toString(36).substring(4),r=d.PROMO_TYPES.LEFTNAV,n=d.DEFAULT_PROMO_PRIORITY,o=null;return l.is_mkdocs_builder()&&l.is_rtd_like_theme()?(o="nav.wy-nav-side",e="ethical-rtd"):l.is_rtd_like_theme()?(o="nav.wy-nav-side > div.wy-side-scroll",e="ethical-rtd"):l.is_alabaster_like_theme()&&(o="div.sphinxsidebar > div.sphinxsidebarwrapper",e="ethical-alabaster"),o?($("
").attr("id",i).addClass(e).appendTo(o),(!(t=$("#"+i).offset())||t.top>$(window).height())&&(n=d.LOW_PROMO_PRIORITY),{div_id:i,display_type:r,priority:n}):null}function p(){var e,t,i="rtd-"+(Math.random()+1).toString(36).substring(4),r=d.PROMO_TYPES.FOOTER,n=d.DEFAULT_PROMO_PRIORITY,o=null;return l.is_rtd_like_theme()?(o=$("
").insertAfter("footer hr"),e="ethical-rtd"):l.is_alabaster_like_theme()&&(o="div.bodywrapper .body",e="ethical-alabaster"),o?($("
").attr("id",i).addClass(e).appendTo(o),(!(t=$("#"+i).offset())||t.top<$(window).height())&&(n=d.LOW_PROMO_PRIORITY),{div_id:i,display_type:r,priority:n}):null}function f(){var e="rtd-"+(Math.random()+1).toString(36).substring(4),t=d.PROMO_TYPES.FIXED_FOOTER;return r&&r.mobile?($("
").attr("id",e).appendTo("body"),{div_id:e,display_type:t,priority:d.MAXIMUM_PROMO_PRIORITY}):null}function h(e){this.id=e.id,this.div_id=e.div_id||"",this.html=e.html||"",this.display_type=e.display_type||"",this.click_handler=function(){"undefined"!=typeof ga?ga("rtfd.send","event","Promo","Click",e.id):"undefined"!=typeof _gaq&&_gaq.push(["rtfd._setAccount","UA-17997319-1"],["rtfd._trackEvent","Promo","Click",e.id])}}h.prototype.display=function(){$("#"+this.div_id).html(this.html),$("#"+this.div_id).find('a[href*="/sustainability/click/"]').on("click",this.click_handler),this.post_promo_display()},h.prototype.disable=function(){$("#"+this.div_id).hide()},h.prototype.post_promo_display=function(){this.display_type===d.PROMO_TYPES.FOOTER&&($("
").insertAfter("#"+this.div_id),$("
").insertBefore("#"+this.div_id+".ethical-alabaster .ethical-footer"))},t.exports={Promo:h,init:function(){var e,t,i={format:"jsonp"},r=[],n=[],o=[],s=[p,u,f];if((l=c.get()).show_promo()){for(var a=0;a").attr("id","rtd-detection").attr("class","ethical-rtd").html(" ").appendTo("body"),0===$("#rtd-detection").height()&&(i=!0),$("#rtd-detection").remove(),i)&&(console.log("---------------------------------------------------------------------------------------"),console.log("Read the Docs hosts documentation for tens of thousands of open source projects."),console.log("We fund our development (we are open source) and operations through advertising."),console.log("We promise to:"),console.log(" - never let advertisers run 3rd party JavaScript"),console.log(" - never sell user data to advertisers or other 3rd parties"),console.log(" - only show advertisements of interest to developers"),console.log("Read more about our approach to advertising here: https://docs.readthedocs.io/en/latest/ethical-advertising.html"),console.log("%cPlease allow our Ethical Ads or go ad-free:","font-size: 2em"),console.log("https://docs.readthedocs.io/en/latest/advertising/ad-blocking.html"),console.log("--------------------------------------------------------------------------------------"),e=u(),t=null,e&&e.div_id&&(t=$("#"+e.div_id).attr("class","keep-us-sustainable"),$("

").text("Support Read the Docs!").appendTo(t),$("

").html('Please help keep us sustainable by allowing our Ethical Ads in your ad blocker or go ad-free by subscribing.').appendTo(t),$("

").text("Thank you! ❤️").appendTo(t)))}})}}}},{"./constants":13,"./rtd-data":15,bowser:7}],19:[function(e,t,i){var o=e("./rtd-data");t.exports={init:function(e){var t=o.get();if(!e.is_highest){var i=window.location.pathname.replace(t.version,e.slug),r=$('

Note

You are not using the most up to date version of the library. is the newest version.

');r.find("a").attr("href",i).text(e.slug);var n=$("div.body");n.length||(n=$("div.document")),n.prepend(r)}}}},{"./rtd-data":15}],20:[function(e,t,i){var r=e("./doc-embed/sponsorship"),n=e("./doc-embed/footer.js"),o=(e("./doc-embed/rtd-data"),e("./doc-embed/sphinx")),s=e("./doc-embed/search");$(document).ready(function(){n.init(),o.init(),s.init(),r.init()})},{"./doc-embed/footer.js":14,"./doc-embed/rtd-data":15,"./doc-embed/search":16,"./doc-embed/sphinx":17,"./doc-embed/sponsorship":18}]},{},[20]); \ No newline at end of file +!function o(s,a,l){function d(t,e){if(!a[t]){if(!s[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(c)return c(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var n=a[t]={exports:{}};s[t][0].call(n.exports,function(e){return d(s[t][1][e]||e)},n,n.exports,o,s,a,l)}return a[t].exports}for(var c="function"==typeof require&&require,e=0;e
"),i("table.docutils.footnote").wrap("
"),i("table.docutils.citation").wrap("
"),i(".wy-menu-vertical ul").not(".simple").siblings("a").each(function(){var t=i(this);expand=i(''),expand.on("click",function(e){return r.toggleCurrent(t),e.stopPropagation(),!1}),t.prepend(expand)})},reset:function(){var e=encodeURI(window.location.hash)||"#";try{var t=$(".wy-menu-vertical"),i=t.find('[href="'+e+'"]');if(0===i.length){var r=$('.document [id="'+e.substring(1)+'"]').closest("div.section");0===(i=t.find('[href="#'+r.attr("id")+'"]')).length&&(i=t.find('[href="#"]'))}0this.docHeight||(this.navBar.scrollTop(i),this.winPosition=e)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",function(){this.linkScroll=!1})},toggleCurrent:function(e){var t=e.closest("li");t.siblings("li.current").removeClass("current"),t.siblings().find("li.current").removeClass("current"),t.find("> ul li.current").removeClass("current"),t.toggleClass("current")}},"undefined"!=typeof window&&(window.SphinxRtdTheme={Navigation:t.exports.ThemeNav,StickyNav:t.exports.ThemeNav}),function(){for(var o=0,e=["ms","moz","webkit","o"],t=0;t/g,c=/"/g,p=/"/g,h=/&#([a-zA-Z0-9]*);?/gim,f=/:?/gim,m=/&newline;?/gim,g=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,v=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,b=/u\s*r\s*l\s*\(.*/gi;function w(e){return e.replace(c,""")}function y(e){return e.replace(p,'"')}function _(e){return e.replace(h,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})}function x(e){return e.replace(f,":").replace(m," ")}function k(e){for(var t="",i=0,r=e.length;i/g;i.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]},i.getDefaultWhiteList=o,i.onTag=function(e,t,i){},i.onIgnoreTag=function(e,t,i){},i.onTagAttr=function(e,t,i){},i.onIgnoreTagAttr=function(e,t,i){},i.safeAttrValue=function(e,t,i,r){if(i=T(i),"href"===t||"src"===t){if("#"===(i=u.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===t){if(g.lastIndex=0,g.test(i))return""}else if("style"===t){if(v.lastIndex=0,v.test(i))return"";if(b.lastIndex=0,b.test(i)&&(g.lastIndex=0,g.test(i)))return"";!1!==r&&(i=(r=r||s).process(i))}return i=E(i)},i.escapeHtml=a,i.escapeQuote=w,i.unescapeQuote=y,i.escapeHtmlEntities=_,i.escapeDangerHtml5Entities=x,i.clearNonPrintableCharacter=k,i.friendlyAttrValue=T,i.escapeAttrValue=E,i.onIgnoreTagStripAll=function(){return""},i.StripTagBody=function(s,a){"function"!=typeof a&&(a=function(){});var l=!Array.isArray(s),d=[],c=!1;return{onIgnoreTag:function(e,t,i){if(o=e,l||-1!==u.indexOf(s,o)){if(i.isClosing){var r="[/removed]",n=i.position+r.length;return d.push([!1!==c?c:i.position,n]),c=!1,r}return c||(c=i.position),"[removed]"}return a(e,t,i);var o},remove:function(t){var i="",r=0;return u.forEach(d,function(e){i+=t.slice(r,e[0]),r=e[1]}),i+=t.slice(r)}}},i.stripCommentTag=function(e){return e.replace(S,"")},i.stripBlankChar=function(e){var t=e.split("");return(t=t.filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")},i.cssFilter=s,i.getDefaultCSSWhiteList=n},{"./util":5,cssfilter:10}],3:[function(e,t,i){var r=e("./default"),n=e("./parser"),o=e("./xss");for(var s in(i=t.exports=function(e,t){return new o(t).process(e)}).FilterXSS=o,r)i[s]=r[s];for(var s in n)i[s]=n[s];"undefined"!=typeof window&&(window.filterXSS=t.exports)},{"./default":2,"./parser":4,"./xss":6}],4:[function(e,t,i){var c=e("./util");function p(e){var t=c.spaceIndex(e);if(-1===t)var i=e.slice(1,-1);else i=e.slice(1,t+1);return"/"===(i=c.trim(i).toLowerCase()).slice(0,1)&&(i=i.slice(1)),"/"===i.slice(-1)&&(i=i.slice(0,-1)),i}var u=/[^a-zA-Z0-9_:\.\-]/gim;function h(e,t){for(;t"===u){r+=i(e.slice(n,o)),c=p(d=e.slice(o,a+1)),r+=t(o,r.length,c,d,"";var a=function(e){var t=w.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var i="/"===(e=w.trim(e.slice(t+1,-1)))[e.length-1];return i&&(e=w.trim(e.slice(0,-1))),{html:e,closing:i}}(i),l=c[n],d=b(a.html,function(e,t){var i,r=-1!==w.indexOf(l,e);return y(i=h(n,e,t,r))?r?(t=m(n,e,t,v))?e+'="'+t+'"':e:y(i=f(n,e,t,r))?void 0:i:i});i="<"+n;return d&&(i+=" "+d),a.closing&&(i+=" /"),i+=">"}return y(o=p(n,i,s))?g(i):o},g);return i&&(r=i.remove(r)),r},t.exports=a},{"./default":2,"./parser":4,"./util":5,cssfilter:10}],7:[function(e,t,i){var r,n;r=this,n=function(){var T=!0;function s(i){function e(e){var t=i.match(e);return t&&1t[1][i])return 1;if(t[0][i]!==t[1][i])return-1;if(0===i)return 0}}function o(e,t,i){var r=a;"string"==typeof t&&(i=t,t=void 0),void 0===t&&(t=!1),i&&(r=s(i));var n=""+r.version;for(var o in e)if(e.hasOwnProperty(o)&&r[o]){if("string"!=typeof e[o])throw new Error("Browser version in the minVersion map should be a string: "+o+": "+String(e));return l([n,e[o]])<0}return t}return a.test=function(e){for(var t=0;t'),s=document.createElement("a"),a=r.highlight;if(s.href+=n.link+DOCUMENTATION_OPTIONS.FILE_SUFFIX,s.search="?highlight="+$.urlencode(d),o.append($("").attr("href",s).html(n.title)),-1===n.project.indexOf(c)&&o.append($("").text(" (from project "+n.project+")")),a.content.length){var l=$('
').html(u(a.content[0]));l.find("em").addClass("highlighted"),o.append(l)}Search.output.append(o),o.slideDown(5)}t.length?Search.status.text(_("Search finished, found %s page(s) matching the search query.").replace("%s",t.length)):Search.query_fallback(d)}).fail(function(e){Search.query_fallback(d)}).always(function(){$("#search-progress").empty(),Search.stopPulse(),Search.title.text(_("Search Results")),Search.status.fadeIn(500)}),$.ajax({url:e.href,crossDomain:!0,xhrFields:{withCredentials:!0},complete:function(e,t){return void 0===e.responseJSON||void 0===e.responseJSON.results?r.reject():r.resolve(e.responseJSON.results)}}).error(function(e,t,i){return r.reject()})}}$(document).ready(function(){"undefined"!=typeof Search&&Search.init()})}(r.get())}}},{"./../../../../../../bower_components/xss/lib/index":3,"./rtd-data":15}],17:[function(n,e,t){var o=n("./rtd-data");e.exports={init:function(){var e=o.get();if($(document).on("click","[data-toggle='rst-current-version']",function(){var e=$("[data-toggle='rst-versions']").hasClass("shift-up")?"was_open":"was_closed";"undefined"!=typeof ga?ga("rtfd.send","event","Flyout","Click",e):"undefined"!=typeof _gaq&&_gaq.push(["rtfd._setAccount","UA-17997319-1"],["rtfd._trackEvent","Flyout","Click",e])}),void 0===window.SphinxRtdTheme){var t=n("./../../../../../../bower_components/sphinx-rtd-theme/js/theme.js").ThemeNav;if($(document).ready(function(){setTimeout(function(){t.navBar||t.enable()},1e3)}),e.is_rtd_like_theme()&&!jquery("div.wy-side-scroll:first").length){console.log("Applying theme sidebar fix...");var i=jquery("nav.wy-nav-side:first"),r=$("
").addClass("wy-side-scroll");i.children().detach().appendTo(r),r.prependTo(i),t.navBar=r}}}}},{"./../../../../../../bower_components/sphinx-rtd-theme/js/theme.js":1,"./rtd-data":15}],18:[function(e,t,i){var u,p=e("./constants"),h=e("./rtd-data"),r=e("bowser"),f="#ethical-ad-placement";function m(){var e,t,i="rtd-"+(Math.random()+1).toString(36).substring(4),r=p.PROMO_TYPES.LEFTNAV,n=p.DEFAULT_PROMO_PRIORITY,o=null;return u.is_mkdocs_builder()&&u.is_rtd_like_theme()?(o="nav.wy-nav-side",e="ethical-rtd ethical-dark-theme"):u.is_rtd_like_theme()?(o="nav.wy-nav-side > div.wy-side-scroll",e="ethical-rtd ethical-dark-theme"):u.is_alabaster_like_theme()&&(o="div.sphinxsidebar > div.sphinxsidebarwrapper",e="ethical-alabaster"),o?($("
").attr("id",i).addClass(e).appendTo(o),(!(t=$("#"+i).offset())||t.top>$(window).height())&&(n=p.LOW_PROMO_PRIORITY),{div_id:i,display_type:r,priority:n}):null}function g(){var e,t,i="rtd-"+(Math.random()+1).toString(36).substring(4),r=p.PROMO_TYPES.FOOTER,n=p.DEFAULT_PROMO_PRIORITY,o=null;return u.is_rtd_like_theme()?(o=$("
").insertAfter("footer hr"),e="ethical-rtd"):u.is_alabaster_like_theme()&&(o="div.bodywrapper .body",e="ethical-alabaster"),o?($("
").attr("id",i).addClass(e).appendTo(o),(!(t=$("#"+i).offset())||t.top<$(window).height())&&(n=p.LOW_PROMO_PRIORITY),{div_id:i,display_type:r,priority:n}):null}function v(){var e="rtd-"+(Math.random()+1).toString(36).substring(4),t=p.PROMO_TYPES.FIXED_FOOTER;return r&&r.mobile?($("
").attr("id",e).appendTo("body"),{div_id:e,display_type:t,priority:p.MAXIMUM_PROMO_PRIORITY}):null}function b(e){this.id=e.id,this.div_id=e.div_id||"",this.html=e.html||"",this.display_type=e.display_type||"",this.click_handler=function(){"undefined"!=typeof ga?ga("rtfd.send","event","Promo","Click",e.id):"undefined"!=typeof _gaq&&_gaq.push(["rtfd._setAccount","UA-17997319-1"],["rtfd._trackEvent","Promo","Click",e.id])}}b.prototype.display=function(){$("#"+this.div_id).html(this.html),$("#"+this.div_id).find('a[href*="/sustainability/click/"]').on("click",this.click_handler),this.post_promo_display()},b.prototype.disable=function(){$("#"+this.div_id).hide()},b.prototype.post_promo_display=function(){this.display_type===p.PROMO_TYPES.FOOTER&&($("
").insertAfter("#"+this.div_id),$("
").insertBefore("#"+this.div_id+".ethical-alabaster .ethical-footer"))},t.exports={Promo:b,init:function(){var e,t,i,r,n,o={format:"jsonp"},s=[],a=[],l=[],d=[g,m,v];if(u=h.get(),r="rtd-"+(Math.random()+1).toString(36).substring(4),n=p.PROMO_TYPES.LEFTNAV,i=u.is_rtd_like_theme()?"ethical-rtd ethical-dark-theme":"ethical-alabaster",t=0<$(f).length?($("
").attr("id",r).addClass(i).appendTo(f),{div_id:r,display_type:n}):null)s.push(t.div_id),a.push(t.display_type),l.push(t.priority||p.DEFAULT_PROMO_PRIORITY);else{if(!u.show_promo())return;for(var c=0;c").attr("id","rtd-detection").attr("class","ethical-rtd").html(" ").appendTo("body"),0===$("#rtd-detection").height()&&(i=!0),$("#rtd-detection").remove(),i)&&(console.log("---------------------------------------------------------------------------------------"),console.log("Read the Docs hosts documentation for tens of thousands of open source projects."),console.log("We fund our development (we are open source) and operations through advertising."),console.log("We promise to:"),console.log(" - never let advertisers run 3rd party JavaScript"),console.log(" - never sell user data to advertisers or other 3rd parties"),console.log(" - only show advertisements of interest to developers"),console.log("Read more about our approach to advertising here: https://docs.readthedocs.io/en/latest/ethical-advertising.html"),console.log("%cPlease allow our Ethical Ads or go ad-free:","font-size: 2em"),console.log("https://docs.readthedocs.io/en/latest/advertising/ad-blocking.html"),console.log("--------------------------------------------------------------------------------------"),e=m(),t=null,e&&e.div_id&&(t=$("#"+e.div_id).attr("class","keep-us-sustainable"),$("

").text("Support Read the Docs!").appendTo(t),$("

").html('Please help keep us sustainable by allowing our Ethical Ads in your ad blocker or go ad-free by subscribing.').appendTo(t),$("

").text("Thank you! ❤️").appendTo(t)))}})}}},{"./constants":13,"./rtd-data":15,bowser:7}],19:[function(e,t,i){var o=e("./rtd-data");t.exports={init:function(e){var t=o.get();if(!e.is_highest){var i=window.location.pathname.replace(t.version,e.slug),r=$('

Note

You are not using the most up to date version of the library. is the newest version.

');r.find("a").attr("href",i).text(e.slug);var n=$("div.body");n.length||(n=$("div.document")),n.prepend(r)}}}},{"./rtd-data":15}],20:[function(e,t,i){var r=e("./doc-embed/sponsorship"),n=e("./doc-embed/footer.js"),o=(e("./doc-embed/rtd-data"),e("./doc-embed/sphinx")),s=e("./doc-embed/search");$(document).ready(function(){n.init(),o.init(),s.init(),r.init()})},{"./doc-embed/footer.js":14,"./doc-embed/rtd-data":15,"./doc-embed/search":16,"./doc-embed/sphinx":17,"./doc-embed/sponsorship":18}]},{},[20]); \ No newline at end of file diff --git a/readthedocs/core/static/core/js/site.js b/readthedocs/core/static/core/js/site.js index 200c5a9c586..29af40c5056 100644 --- a/readthedocs/core/static/core/js/site.js +++ b/readthedocs/core/static/core/js/site.js @@ -1 +1 @@ -require=function o(u,f,a){function c(i,t){if(!f[i]){if(!u[i]){var r="function"==typeof require&&require;if(!t&&r)return r(i,!0);if(s)return s(i,!0);var n=new Error("Cannot find module '"+i+"'");throw n.code="MODULE_NOT_FOUND",n}var e=f[i]={exports:{}};u[i][0].call(e.exports,function(t){var r=u[i][1][t];return c(r||t)},e,e.exports,o,u,f,a)}return f[i].exports}for(var s="function"==typeof require&&require,t=0;t a").click(function(t){var n=$(this).attr("href"),r=$(this).parent().attr("data-dismiss-url");r?(t.preventDefault(),$.get(r,function(t,r,i){window.location.href=n})):$(this).hide()})})}},{}]},{},[]); \ No newline at end of file +require=function o(u,f,a){function c(r,t){if(!f[r]){if(!u[r]){var i="function"==typeof require&&require;if(!t&&i)return i(r,!0);if(s)return s(r,!0);var n=new Error("Cannot find module '"+r+"'");throw n.code="MODULE_NOT_FOUND",n}var e=f[r]={exports:{}};u[r][0].call(e.exports,function(t){return c(u[r][1][t]||t)},e,e.exports,o,u,f,a)}return f[r].exports}for(var s="function"==typeof require&&require,t=0;t a").click(function(t){var n=$(this).attr("href"),r=$(this).parent().attr("data-dismiss-url");r?(t.preventDefault(),$.get(r,function(t,r,i){window.location.href=n})):$(this).hide()})})}},{}]},{},[]); \ No newline at end of file diff --git a/readthedocs/gold/static/gold/js/gold.js b/readthedocs/gold/static/gold/js/gold.js index 338f7471686..3912bb6c0de 100644 --- a/readthedocs/gold/static/gold/js/gold.js +++ b/readthedocs/gold/static/gold/js/gold.js @@ -1 +1 @@ -require=function o(a,c,u){function l(r,e){if(!c[r]){if(!a[r]){var t="function"==typeof require&&require;if(!e&&t)return t(r,!0);if(s)return s(r,!0);var n=new Error("Cannot find module '"+r+"'");throw n.code="MODULE_NOT_FOUND",n}var i=c[r]={exports:{}};a[r][0].call(i.exports,function(e){var t=a[r][1][e];return l(t||e)},i,i.exports,o,a,c,u)}return c[r].exports}for(var s="function"==typeof require&&require,e=0;e").attr("href",e).get(0);return Object.keys(r).map(function(e){t.search&&(t.search+="&"),t.search+=e+"="+r[e]}),t.href}function l(e,r){var t=this;t.id=i.observable(e.id),t.name=i.observable(e.name),t.slug=i.observable(e.slug),t.active=i.observable(e.active),t.avatar_url=i.observable(c(e.avatar_url,{size:32})),t.display_name=i.computed(function(){return t.name()||t.slug()}),t.filter_id=i.computed(function(){return t.id()}),t.filter_type="org",t.filtered=i.computed(function(){var e=r.filter_by();return e.id&&e.id!==t.filter_id()||e.type&&e.type!==t.filter_type})}function p(e,r){var t=this;t.id=i.observable(e.id),t.username=i.observable(e.username),t.active=i.observable(e.active),t.avatar_url=i.observable(c(e.avatar_url,{size:32})),t.provider=i.observable(e.provider),t.display_name=i.computed(function(){return t.username()}),t.filter_id=i.computed(function(){return t.provider().id}),t.filter_type="own",t.filtered=i.computed(function(){var e=r.filter_by();return e.id&&e.id!==t.filter_id()||e.type&&e.type!==t.filter_type})}function a(e,a){var o=this;o.id=i.observable(e.id),o.name=i.observable(e.name),o.full_name=i.observable(e.full_name),o.description=i.observable(e.description),o.vcs=i.observable(e.vcs),o.organization=i.observable(e.organization),o.html_url=i.observable(e.html_url),o.clone_url=i.observable(e.clone_url),o.ssh_url=i.observable(e.ssh_url),o.matches=i.observable(e.matches),o.match=i.computed(function(){var e=o.matches();if(e&&0");n.attr("action",a.urls.projects_import).attr("method","POST").hide(),Object.keys(t).map(function(e){var r=u("").attr("type","hidden").attr("name",e).attr("value",t[e]);n.append(r)});var e=u("").attr("type","hidden").attr("name","csrfmiddlewaretoken").attr("value",a.csrf_token);n.append(e);var r=u("").attr("type","submit");n.append(r),u("body").append(n),n.submit()}}function o(e,r){var s=this;s.config=r||{},s.urls=r.urls||{},s.csrf_token=r.csrf_token||"",s.error=i.observable(null),s.is_syncing=i.observable(!1),s.is_ready=i.observable(!1),s.page_current=i.observable(null),s.page_next=i.observable(null),s.page_previous=i.observable(null),s.filter_by=i.observable({id:null,type:null}),s.accounts_raw=i.observableArray(),s.organizations_raw=i.observableArray(),s.filters=i.computed(function(){var e,r=[],t=s.accounts_raw(),n=s.organizations_raw();for(e in t){var a=new p(t[e],s);r.push(a)}for(e in n){var o=new l(n[e],s);r.push(o)}return r}),s.projects=i.observableArray(),i.computed(function(){var e=s.filter_by(),r=s.page_current()||s.urls["remoterepository-list"];s.page_current()||("org"===e.type&&(r=c(s.urls["remoterepository-list"],{org:e.id})),"own"===e.type&&(r=c(s.urls["remoterepository-list"],{own:e.id}))),s.error(null),u.getJSON(r).success(function(e){var r,t=[];for(r in s.page_next(e.next),s.page_previous(e.previous),e.results){var n=new a(e.results[r],s);t.push(n)}s.projects(t)}).error(function(e){var r=e.responseJSON.detail||e.statusText;s.error({message:r})}).always(function(){s.is_ready(!0)})}).extend({deferred:!0}),s.get_organizations=function(){u.getJSON(s.urls["remoteorganization-list"]).success(function(e){s.organizations_raw(e.results)}).error(function(e){var r=e.responseJSON.detail||e.statusText;s.error({message:r})})},s.get_accounts=function(){u.getJSON(s.urls["remoteaccount-list"]).success(function(e){s.accounts_raw(e.results)}).error(function(e){var r=e.responseJSON.detail||e.statusText;s.error({message:r})})},s.sync_projects=function(){var e=s.urls.api_sync_remote_repositories;s.error(null),s.is_syncing(!0),n.trigger_task({url:e,token:s.csrf_token}).then(function(e){s.get_organizations(),s.get_accounts(),s.filter_by.valueHasMutated()}).fail(function(e){s.error(e)}).always(function(){s.is_syncing(!1)})},s.has_projects=i.computed(function(){return 0").attr("href",e).get(0);return Object.keys(r).map(function(e){t.search&&(t.search+="&"),t.search+=e+"="+r[e]}),t.href}function l(e,r){var t=this;t.id=i.observable(e.id),t.name=i.observable(e.name),t.slug=i.observable(e.slug),t.active=i.observable(e.active),t.avatar_url=i.observable(c(e.avatar_url,{size:32})),t.display_name=i.computed(function(){return t.name()||t.slug()}),t.filter_id=i.computed(function(){return t.id()}),t.filter_type="org",t.filtered=i.computed(function(){var e=r.filter_by();return e.id&&e.id!==t.filter_id()||e.type&&e.type!==t.filter_type})}function p(e,r){var t=this;t.id=i.observable(e.id),t.username=i.observable(e.username),t.active=i.observable(e.active),t.avatar_url=i.observable(c(e.avatar_url,{size:32})),t.provider=i.observable(e.provider),t.display_name=i.computed(function(){return t.username()}),t.filter_id=i.computed(function(){return t.provider().id}),t.filter_type="own",t.filtered=i.computed(function(){var e=r.filter_by();return e.id&&e.id!==t.filter_id()||e.type&&e.type!==t.filter_type})}function a(e,a){var o=this;o.id=i.observable(e.id),o.name=i.observable(e.name),o.full_name=i.observable(e.full_name),o.description=i.observable(e.description),o.vcs=i.observable(e.vcs),o.organization=i.observable(e.organization),o.html_url=i.observable(e.html_url),o.clone_url=i.observable(e.clone_url),o.ssh_url=i.observable(e.ssh_url),o.matches=i.observable(e.matches),o.match=i.computed(function(){var e=o.matches();if(e&&0");n.attr("action",a.urls.projects_import).attr("method","POST").hide(),Object.keys(t).map(function(e){var r=u("").attr("type","hidden").attr("name",e).attr("value",t[e]);n.append(r)});var e=u("").attr("type","hidden").attr("name","csrfmiddlewaretoken").attr("value",a.csrf_token);n.append(e);var r=u("").attr("type","submit");n.append(r),u("body").append(n),n.submit()}}function o(e,r){var s=this;s.config=r||{},s.urls=r.urls||{},s.csrf_token=r.csrf_token||"",s.error=i.observable(null),s.is_syncing=i.observable(!1),s.is_ready=i.observable(!1),s.page_current=i.observable(null),s.page_next=i.observable(null),s.page_previous=i.observable(null),s.filter_by=i.observable({id:null,type:null}),s.accounts_raw=i.observableArray(),s.organizations_raw=i.observableArray(),s.filters=i.computed(function(){var e,r=[],t=s.accounts_raw(),n=s.organizations_raw();for(e in t){var a=new p(t[e],s);r.push(a)}for(e in n){var o=new l(n[e],s);r.push(o)}return r}),s.projects=i.observableArray(),i.computed(function(){var e=s.filter_by(),r=s.page_current()||s.urls["remoterepository-list"];s.page_current()||("org"===e.type&&(r=c(s.urls["remoterepository-list"],{org:e.id})),"own"===e.type&&(r=c(s.urls["remoterepository-list"],{own:e.id}))),s.error(null),u.getJSON(r).success(function(e){var r,t=[];for(r in s.page_next(e.next),s.page_previous(e.previous),e.results){var n=new a(e.results[r],s);t.push(n)}s.projects(t)}).error(function(e){var r=e.responseJSON.detail||e.statusText;s.error({message:r})}).always(function(){s.is_ready(!0)})}).extend({deferred:!0}),s.get_organizations=function(){u.getJSON(s.urls["remoteorganization-list"]).success(function(e){s.organizations_raw(e.results)}).error(function(e){var r=e.responseJSON.detail||e.statusText;s.error({message:r})})},s.get_accounts=function(){u.getJSON(s.urls["remoteaccount-list"]).success(function(e){s.accounts_raw(e.results)}).error(function(e){var r=e.responseJSON.detail||e.statusText;s.error({message:r})})},s.sync_projects=function(){var e=s.urls.api_sync_remote_repositories;s.error(null),s.is_syncing(!0),n.trigger_task({url:e,token:s.csrf_token}).then(function(e){s.get_organizations(),s.get_accounts(),s.filter_by.valueHasMutated()}).fail(function(e){s.error(e)}).always(function(){s.is_syncing(!1)})},s.has_projects=i.computed(function(){return 0'),i("body").append(t));var n=e.insertContent(t);i(n).show(),t.show(),i(document).click(function(e){i(e.target).closest("#embed-container").length||(i(n).remove(),t.remove())})}function s(e){var s=this;s.config=e||{},void 0===s.config.api_host&&(s.config.api_host="https://readthedocs.org"),s.help=o.observable(null),s.error=o.observable(null),s.project=o.observable(s.config.project),s.file=o.observable(null),s.sections=o.observableArray(),o.computed(function(){var e=s.file();(s.sections.removeAll(),e)&&(s.help("Loading..."),s.error(null),s.section(null),new r.Embed(s.config).page(s.project(),"latest",s.file(),function(e){s.sections.removeAll(),s.help(null),s.error(null);var t,n=[];for(t in e.sections){var r=e.sections[t];i.each(r,function(e,t){n.push({title:e,id:e})})}s.sections(n)},function(e){s.help(null),s.error("There was a problem retrieving data from the API")}))}),s.has_sections=o.computed(function(){return 0'),i("body").append(t));var n=e.insertContent(t);i(n).show(),t.show(),i(document).click(function(e){i(e.target).closest("#embed-container").length||(i(n).remove(),t.remove())})}function s(e){var s=this;s.config=e||{},void 0===s.config.api_host&&(s.config.api_host="https://readthedocs.org"),s.help=o.observable(null),s.error=o.observable(null),s.project=o.observable(s.config.project),s.file=o.observable(null),s.sections=o.observableArray(),o.computed(function(){var e=s.file();(s.sections.removeAll(),e)&&(s.help("Loading..."),s.error(null),s.section(null),new r.Embed(s.config).page(s.project(),"latest",s.file(),function(e){s.sections.removeAll(),s.help(null),s.error(null);var t,n=[];for(t in e.sections){var r=e.sections[t];i.each(r,function(e,t){n.push({title:e,id:e})})}s.sections(n)},function(e){s.help(null),s.error("There was a problem retrieving data from the API")}))}),s.has_sections=o.computed(function(){return 0