Update docs from commit c10af0338a80fcd0c78eee55cf9c8cf518fee5a4
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/commit/f1c4031c Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/tree/f1c4031c Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/diff/f1c4031c Branch: refs/heads/asf-site Commit: f1c4031c97648102da929319fc4762b2ae497e2b Parents: de20148 Author: jenkins <bui...@apache.org> Authored: Mon Mar 26 14:42:46 2018 +0000 Committer: jenkins <bui...@apache.org> Committed: Mon Mar 26 14:42:46 2018 +0000 ---------------------------------------------------------------------- .../D22DCAA3-18CC-48F4-965B-5312993F9820.png | Bin 99921 -> 0 bytes docs/master/_images/mso-rank.png | Bin 140070 -> 0 bytes docs/master/_images/tp_bottom_menu.png | Bin 2345 -> 0 bytes .../admin/quick_howto/multi_site_ats5.rst.txt | 95 - .../_sources/admin/traffic_portal.rst.txt | 51 - docs/master/_static/basic.css | 39 +- docs/master/_static/doctools.js | 56 +- docs/master/_static/documentation_options.js | 9 + docs/master/_static/favicon.ico | Bin 16958 -> 1150 bytes docs/master/_static/jquery-3.1.0.js | 10074 ---------------- docs/master/_static/jquery-3.2.1.js | 10253 +++++++++++++++++ docs/master/_static/jquery.js | 8 +- docs/master/_static/searchtools.js | 5 +- docs/master/_static/websupport.js | 4 +- docs/master/admin/index.html | 8 +- docs/master/admin/quick_howto/dnssec.html | 16 +- docs/master/admin/quick_howto/ds_requests.html | 16 +- docs/master/admin/quick_howto/federations.html | 14 +- docs/master/admin/quick_howto/index.html | 6 +- docs/master/admin/quick_howto/multi_site.html | 14 +- .../admin/quick_howto/multi_site_ats5.html | 369 - docs/master/admin/quick_howto/regionalgeo.html | 26 +- docs/master/admin/quick_howto/steering.html | 26 +- docs/master/admin/traffic_monitor.html | 36 +- docs/master/admin/traffic_monitor_golang.html | 20 +- .../master/admin/traffic_ops/configuration.html | 46 +- .../admin/traffic_ops/default_profiles.html | 12 +- docs/master/admin/traffic_ops/extensions.html | 18 +- docs/master/admin/traffic_ops/installation.html | 48 +- .../traffic_ops/migration_from_10_to_20.html | 18 +- .../traffic_ops/migration_from_20_to_22.html | 32 +- docs/master/admin/traffic_ops/using.html | 154 +- docs/master/admin/traffic_portal.html | 322 - .../admin/traffic_portal/installation.html | 8 +- .../traffic_portal/usingtrafficportal.html | 10 +- docs/master/admin/traffic_router.html | 124 +- docs/master/admin/traffic_server.html | 92 +- docs/master/admin/traffic_stats.html | 47 +- docs/master/admin/traffic_vault.html | 110 +- docs/master/basics/cache_revalidation.html | 18 +- docs/master/basics/caching_proxies.html | 66 +- .../basics/content_delivery_networks.html | 23 +- docs/master/basics/http_11.html | 18 +- docs/master/basics/index.html | 4 +- docs/master/development/building.html | 24 +- docs/master/development/index.html | 14 +- docs/master/development/traffic_monitor.html | 70 +- .../traffic_monitor/traffic_monitor_api.html | 48 +- .../development/traffic_monitor_golang.html | 155 +- docs/master/development/traffic_ops.html | 104 +- .../development/traffic_ops_api/routes.html | 6 +- .../development/traffic_ops_api/v11/asn.html | 18 +- .../traffic_ops_api/v11/cachegroup.html | 94 +- .../development/traffic_ops_api/v11/cdn.html | 502 +- .../traffic_ops_api/v11/changelog.html | 42 +- .../traffic_ops_api/v11/deliveryservice.html | 542 +- .../development/traffic_ops_api/v11/hwinfo.html | 26 +- .../traffic_ops_api/v11/parameter.html | 32 +- .../traffic_ops_api/v11/phys_location.html | 180 +- .../traffic_ops_api/v11/profile.html | 32 +- .../development/traffic_ops_api/v11/region.html | 64 +- .../development/traffic_ops_api/v11/role.html | 16 +- .../development/traffic_ops_api/v11/server.html | 316 +- .../traffic_ops_api/v11/static_dns.html | 20 +- .../development/traffic_ops_api/v11/status.html | 28 +- .../development/traffic_ops_api/v11/system.html | 34 +- .../traffic_ops_api/v11/to_extension.html | 66 +- .../development/traffic_ops_api/v11/type.html | 38 +- .../development/traffic_ops_api/v11/user.html | 298 +- .../traffic_ops_api/v12/api_capability.html | 114 +- .../development/traffic_ops_api/v12/asn.html | 58 +- .../development/traffic_ops_api/v12/cache.html | 24 +- .../traffic_ops_api/v12/cache_stats.html | 52 +- .../traffic_ops_api/v12/cachegroup.html | 238 +- .../v12/cachegroup_parameter.html | 32 +- .../traffic_ops_api/v12/capability.html | 74 +- .../development/traffic_ops_api/v12/cdn.html | 592 +- .../traffic_ops_api/v12/changelog.html | 46 +- .../traffic_ops_api/v12/configfiles_ats.html | 72 +- .../traffic_ops_api/v12/deliveryservice.html | 1412 +-- .../v12/deliveryservice_regex.html | 106 +- .../v12/deliveryservice_stats.html | 58 +- .../traffic_ops_api/v12/division.html | 46 +- .../traffic_ops_api/v12/federation.html | 114 +- .../v12/federation_deliveryservice.html | 36 +- .../v12/federation_federationresolver.html | 28 +- .../v12/federation_resolver.html | 24 +- .../traffic_ops_api/v12/federation_user.html | 40 +- .../development/traffic_ops_api/v12/hwinfo.html | 26 +- .../traffic_ops_api/v12/influxdb.html | 10 +- .../development/traffic_ops_api/v12/iso.html | 50 +- .../development/traffic_ops_api/v12/job.html | 46 +- .../traffic_ops_api/v12/parameter.html | 194 +- .../traffic_ops_api/v12/phys_location.html | 182 +- .../traffic_ops_api/v12/profile.html | 136 +- .../traffic_ops_api/v12/profile_parameter.html | 116 +- .../development/traffic_ops_api/v12/region.html | 66 +- .../development/traffic_ops_api/v12/role.html | 16 +- .../development/traffic_ops_api/v12/server.html | 504 +- .../traffic_ops_api/v12/static_dns.html | 20 +- .../development/traffic_ops_api/v12/status.html | 28 +- .../traffic_ops_api/v12/steering_target.html | 102 +- .../development/traffic_ops_api/v12/system.html | 34 +- .../development/traffic_ops_api/v12/tenant.html | 72 +- .../traffic_ops_api/v12/to_extension.html | 66 +- .../traffic_ops_api/v12/topology.html | 44 +- .../development/traffic_ops_api/v12/type.html | 38 +- .../development/traffic_ops_api/v12/user.html | 538 +- docs/master/development/traffic_portal.html | 12 +- docs/master/development/traffic_router.html | 84 +- .../traffic_router/traffic_router_api.html | 8 +- docs/master/development/traffic_server.html | 6 +- docs/master/development/traffic_stats.html | 14 +- docs/master/faq/administration.html | 49 +- docs/master/faq/development.html | 4 +- docs/master/faq/general.html | 8 +- docs/master/faq/index.html | 4 +- docs/master/genindex.html | 6 +- docs/master/glossary.html | 4 +- docs/master/index.html | 14 +- docs/master/objects.inv | Bin 4959 -> 4962 bytes docs/master/overview/index.html | 4 +- docs/master/overview/introduction.html | 4 +- docs/master/overview/traffic_monitor.html | 12 +- docs/master/overview/traffic_ops.html | 6 +- docs/master/overview/traffic_portal.html | 4 +- docs/master/overview/traffic_router.html | 22 +- docs/master/overview/traffic_server.html | 4 +- docs/master/overview/traffic_stats.html | 6 +- docs/master/overview/traffic_vault.html | 17 +- docs/master/search.html | 6 +- docs/master/searchindex.js | 2 +- 132 files changed, 15148 insertions(+), 15690 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_images/D22DCAA3-18CC-48F4-965B-5312993F9820.png ---------------------------------------------------------------------- diff --git a/docs/master/_images/D22DCAA3-18CC-48F4-965B-5312993F9820.png b/docs/master/_images/D22DCAA3-18CC-48F4-965B-5312993F9820.png deleted file mode 100644 index 59d5b8e..0000000 Binary files a/docs/master/_images/D22DCAA3-18CC-48F4-965B-5312993F9820.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_images/mso-rank.png ---------------------------------------------------------------------- diff --git a/docs/master/_images/mso-rank.png b/docs/master/_images/mso-rank.png deleted file mode 100644 index de80ac5..0000000 Binary files a/docs/master/_images/mso-rank.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_images/tp_bottom_menu.png ---------------------------------------------------------------------- diff --git a/docs/master/_images/tp_bottom_menu.png b/docs/master/_images/tp_bottom_menu.png deleted file mode 100644 index 7733d27..0000000 Binary files a/docs/master/_images/tp_bottom_menu.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_sources/admin/quick_howto/multi_site_ats5.rst.txt ---------------------------------------------------------------------- diff --git a/docs/master/_sources/admin/quick_howto/multi_site_ats5.rst.txt b/docs/master/_sources/admin/quick_howto/multi_site_ats5.rst.txt deleted file mode 100644 index 570e844..0000000 --- a/docs/master/_sources/admin/quick_howto/multi_site_ats5.rst.txt +++ /dev/null @@ -1,95 +0,0 @@ -.. -.. -.. Licensed under the Apache License, Version 2.0 (the "License"); -.. you may not use this file except in compliance with the License. -.. You may obtain a copy of the License at -.. -.. http://www.apache.org/licenses/LICENSE-2.0 -.. -.. Unless required by applicable law or agreed to in writing, software -.. distributed under the License is distributed on an "AS IS" BASIS, -.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -.. See the License for the specific language governing permissions and -.. limitations under the License. -.. - -.. _rl-multi-site-origin-qht-ats5: - -********************************* -Configure Multi Site Origin (5.x) -********************************* - -1) Create "cachegroups" for the origin locations, and assign the appropriate parent-child relationship between the mid cg's and org cgs (click the image to see full size): - -.. image:: C5C4CD22-949A-48FD-8976-C673083E2177.png - :scale: 100% - :align: center - -2) Create a profile to assign to each of the origins: - -.. image:: 19BB6EC1-B6E8-4D22-BFA0-B7D6A9708B42.png - :scale: 100% - :align: center - -3) Create server entries for the origination vips: - -.. image:: D28614AA-9758-45ED-9EFD-3A284FC4218E.png - :scale: 100% - :align: center - -4) Check the multi-site check box in the delivery service screen: - -.. image:: mso-enable.png - :scale: 100% - :align: center - -5) Assign the org servers to the delivery service that will have the multi site feature: - -.. image:: 066CEF4F-C1A3-4A89-8B52-4F72B0531367.png - :scale: 100% - :align: center - -.. Note:: âOrigin Server Base URLâ uniqueness: In order to enable MID caches to distinguish delivery services by different MSO algorithms while performing parent failover, it requires that âOrigin Server Base URLâ (OFQDN) for each MSO enabled delivery service is unique unless the exceptions listed afterwards. This means that the OFQDN of a MSO enabled delivery service should be different with the OFQDNs of any other delivery service, regardless of whether they are MSO enabled or not. The exceptions are: - 1) If there are multiple CDNs created on the same Traffic Ops, delivery services across different CDNs may have the same OFQDN configured. - 2) If several delivery services in the same CDN have the same MSO algorithm configured, they may share the same OFQDN. - 3) If delivery services are assigned with different MID cache groups respectively, they can share the same OFQDN. - -6) Select an option from the "Multi Site Origin Algorithm" drop-down list. Four MSO algorithms are supported: - -+------------------+--------------------------------------------------------------------------------------------------------------------+ -| Option | Description | -+==================+====================================================================================================================+ -| Consistent hash | Origin server selection is based on the consistent hash of requested URLs. | -+------------------+--------------------------------------------------------------------------------------------------------------------+ -| Primary/back | Round robin selection does not occur. The first origin server is selected unless it fails. | -| | If the first fails, the second and other following origin servers will be tried by order. | -| | Order is defined by 2 factors - if the origin server's cachegroup is configured as the | -| | parent cachegroup for the mid, then this server will be used as the primary. The same rules | -| | apply for secondary parents, in order. Within the cachegroups, the rank parameter will sort | -| | order further. If no parents are defined at the mid, then only rank is considered. | -+------------------+--------------------------------------------------------------------------------------------------------------------+ -| Strict | MID caches serve requests strictly in turn. For example: origin server 1 serves the first request, | -| round-robin | origin server 2 serves the second request, and so on. | -+------------------+--------------------------------------------------------------------------------------------------------------------+ -| IP based | MID cache goes through the origin server list in a round robin-based on the IP address of EDGE cache. | -| round-robin | | -+------------------+--------------------------------------------------------------------------------------------------------------------+ - -7) Optionally, there are two configuration options that can set the order of the origins used if "Primary/backup" is selected for "Multi Site Origin Algorithm". By creating location-based cachegroups and assigning the origin servers accordingly and defining these cachegroups as parents for specific mids, location-based primary/secondary selection can be made. If primary/secondary selection should be the same for all mids, then a new parameter ârankâ should be configured for each origin server profile. Origin servers with lower values of rank have higher ranking in the origin server list on MID caches, e.g. OS with rank of "2" precedes OS with the rank of "5". For any OS, if rank value is not defined in its profile, its rank value will default to â1â. In the event that both location based cachegroups are used alongside rank, sorting will be by cachegroup first and rank second. In this way it is possible to have specific backup servers for use at specific locations. - -.. image:: mso-rank.png - :scale: 60% - :align: center - -8) Assign the parent.config location parameter to the MID profile: - -.. image:: D22DCAA3-18CC-48F4-965B-5312993F9820.png - :scale: 100% - :align: center - - -9) Configure the mid hdr_rewrite on the delivery service, example: :: - - cond %{REMAP_PSEUDO_HOOK} __RETURN__ set-config proxy.config.http.parent_origin.dead_server_retry_enabled 1 __RETURN__ set-config proxy.config.http.parent_origin.simple_retry_enabled 1 __RETURN__ set-config proxy.config.http.parent_origin.simple_retry_response_codes "400,404,412" __RETURN__ set-config proxy.config.http.parent_origin.dead_server_retry_response_codes "502,503" __RETURN__ set-config proxy.config.http.connect_attempts_timeout 2 __RETURN__ set-config proxy.config.http.connect_attempts_max_retries 2 __RETURN__ set-config proxy.config.http.connect_attempts_max_retries_dead_server 1 __RETURN__ set-config proxy.config.http.transaction_active_timeout_in 5 [L] __RETURN__ - -10) Turn on parent_proxy_routing in the MID profile. http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_sources/admin/traffic_portal.rst.txt ---------------------------------------------------------------------- diff --git a/docs/master/_sources/admin/traffic_portal.rst.txt b/docs/master/_sources/admin/traffic_portal.rst.txt deleted file mode 100644 index ea7a303..0000000 --- a/docs/master/_sources/admin/traffic_portal.rst.txt +++ /dev/null @@ -1,51 +0,0 @@ -.. -.. -.. Licensed under the Apache License, Version 2.0 (the "License"); -.. you may not use this file except in compliance with the License. -.. You may obtain a copy of the License at -.. -.. http://www.apache.org/licenses/LICENSE-2.0 -.. -.. Unless required by applicable law or agreed to in writing, software -.. distributed under the License is distributed on an "AS IS" BASIS, -.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -.. See the License for the specific language governing permissions and -.. limitations under the License. -.. - -***************************** -Traffic Portal Administration -***************************** -The following are requirements to ensure an accurate set up: - -* CentOS 6.7 or 7 -* Node.js 6.0.x or above - -**Installing Traffic Portal** - - - Download the Traffic Portal RPM from `Apache Jenkins <https://builds.apache.org/view/S-Z/view/TrafficControl/job/incubator-trafficcontrol-master-build/>`_ or build from source (./pkg traffic_portal_build). - - Copy the Traffic Portal RPM to your server - - curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash - - - sudo yum install -y nodejs - - sudo yum install -y <traffic_portal rpm> - -**Configuring Traffic Portal** - - - update /etc/traffic_portal/conf/config.js (if upgrade, reconcile config.js with config.js.rpmnew and then delete config.js.rpmnew) - - update /opt/traffic_portal/public/traffic_portal_properties.json (if upgrade, reconcile traffic_portal_properties.json with traffic_portal_properties.json.rpmnew and then delete traffic_portal_properties.json.rpmnew) - - [OPTIONAL] update /opt/traffic_portal/public/resources/assets/css/custom.css (to customize traffic portal skin) - -**Starting Traffic Portal** - - - sudo service traffic_portal start - -**Stopping Traffic Portal** - - - sudo service traffic_portal stop - - - - - - - http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_static/basic.css ---------------------------------------------------------------------- diff --git a/docs/master/_static/basic.css b/docs/master/_static/basic.css index dc88b5a..19ced10 100644 --- a/docs/master/_static/basic.css +++ b/docs/master/_static/basic.css @@ -4,7 +4,7 @@ * * Sphinx stylesheet -- basic theme. * - * :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -82,9 +82,21 @@ div.sphinxsidebar input { } div.sphinxsidebar #searchbox input[type="text"] { - width: 170px; + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; } + img { border: 0; max-width: 100%; @@ -199,6 +211,11 @@ table.modindextable td { /* -- general body styles --------------------------------------------------- */ +div.body { + min-width: 450px; + max-width: 800px; +} + div.body p, div.body dd, div.body li, div.body blockquote { -moz-hyphens: auto; -ms-hyphens: auto; @@ -332,6 +349,11 @@ table.docutils { border-collapse: collapse; } +table.align-center { + margin-left: auto; + margin-right: auto; +} + table caption span.caption-number { font-style: italic; } @@ -398,6 +420,13 @@ table.field-list td, table.field-list th { margin: 0; } +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + /* -- other body styles ----------------------------------------------------- */ ol.arabic { @@ -438,10 +467,14 @@ dd { margin-left: 30px; } -dt:target, .highlighted { +dt:target, span.highlighted { background-color: #fbe54e; } +rect.highlighted { + fill: #fbe54e; +} + dl.glossary dt { font-weight: bold; font-size: 1.1em; http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_static/doctools.js ---------------------------------------------------------------------- diff --git a/docs/master/_static/doctools.js b/docs/master/_static/doctools.js index 5654977..0c15c00 100644 --- a/docs/master/_static/doctools.js +++ b/docs/master/_static/doctools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for all documentation. * - * :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -45,7 +45,7 @@ jQuery.urlencode = encodeURIComponent; * it will always return arrays of strings for the value parts. */ jQuery.getQueryParameters = function(s) { - if (typeof s == 'undefined') + if (typeof s === 'undefined') s = document.location.search; var parts = s.substr(s.indexOf('?') + 1).split('&'); var result = {}; @@ -66,29 +66,53 @@ jQuery.getQueryParameters = function(s) { * span elements with the given class name. */ jQuery.fn.highlightText = function(text, className) { - function highlight(node) { - if (node.nodeType == 3) { + function highlight(node, addItems) { + if (node.nodeType === 3) { var val = node.nodeValue; var pos = val.toLowerCase().indexOf(text); if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { - var span = document.createElement("span"); - span.className = className; + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } span.appendChild(document.createTextNode(val.substr(pos, text.length))); node.parentNode.insertBefore(span, node.parentNode.insertBefore( document.createTextNode(val.substr(pos + text.length)), node.nextSibling)); node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var bbox = span.getBBox(); + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + var parentOfText = node.parentNode.parentNode; + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } } } else if (!jQuery(node).is("button, select, textarea")) { jQuery.each(node.childNodes, function() { - highlight(this); + highlight(this, addItems); }); } } - return this.each(function() { - highlight(this); + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; }; /* @@ -131,21 +155,21 @@ var Documentation = { * i18n support */ TRANSLATIONS : {}, - PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, + PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, LOCALE : 'unknown', // gettext and ngettext don't access this so that the functions // can safely bound to a different name (_ = Documentation.gettext) gettext : function(string) { var translated = Documentation.TRANSLATIONS[string]; - if (typeof translated == 'undefined') + if (typeof translated === 'undefined') return string; - return (typeof translated == 'string') ? translated : translated[0]; + return (typeof translated === 'string') ? translated : translated[0]; }, ngettext : function(singular, plural, n) { var translated = Documentation.TRANSLATIONS[singular]; - if (typeof translated == 'undefined') + if (typeof translated === 'undefined') return (n == 1) ? singular : plural; return translated[Documentation.PLURALEXPR(n)]; }, @@ -180,7 +204,7 @@ var Documentation = { * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 */ fixFirefoxAnchorBug : function() { - if (document.location.hash) + if (document.location.hash && $.browser.mozilla) window.setTimeout(function() { document.location.href += ''; }, 10); @@ -216,7 +240,7 @@ var Documentation = { var src = $(this).attr('src'); var idnum = $(this).attr('id').substr(7); $('tr.cg-' + idnum).toggle(); - if (src.substr(-9) == 'minus.png') + if (src.substr(-9) === 'minus.png') $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); else $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); @@ -248,7 +272,7 @@ var Documentation = { var path = document.location.pathname; var parts = path.split(/\//); $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { - if (this == '..') + if (this === '..') parts.pop(); }); var url = parts.join('/'); http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_static/documentation_options.js ---------------------------------------------------------------------- diff --git a/docs/master/_static/documentation_options.js b/docs/master/_static/documentation_options.js new file mode 100644 index 0000000..3f235e7 --- /dev/null +++ b/docs/master/_static/documentation_options.js @@ -0,0 +1,9 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: '', + VERSION: '2.2-dev', + LANGUAGE: 'None', + COLLAPSE_INDEX: false, + FILE_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt' +}; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol-website/blob/f1c4031c/docs/master/_static/favicon.ico ---------------------------------------------------------------------- diff --git a/docs/master/_static/favicon.ico b/docs/master/_static/favicon.ico index b0a7633..a2e49cc 100644 Binary files a/docs/master/_static/favicon.ico and b/docs/master/_static/favicon.ico differ