Changeset 13316 for fact/tools/pyscripts/doc/_build/html/_static
- Timestamp:
- 04/05/12 14:10:40 (13 years ago)
- Location:
- fact/tools/pyscripts/doc/_build/html/_static
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/doc/_build/html/_static/basic.css
r13151 r13316 5 5 * Sphinx stylesheet -- basic theme. 6 6 * 7 * :copyright: Copyright 2007-201 1by the Sphinx team, see AUTHORS.7 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. 8 8 * :license: BSD, see LICENSE for details. 9 9 * … … 78 78 font-family: sans-serif; 79 79 font-size: 1em; 80 }81 82 div.sphinxsidebar input[type="text"] {83 width: 170px;84 }85 86 div.sphinxsidebar input[type="submit"] {87 width: 30px;88 80 } 89 81 … … 222 214 } 223 215 224 img.align-left, .figure.align-left, object.align-left {225 clear: left;226 float: left;227 margin-right: 1em;228 }229 230 img.align-right, .figure.align-right, object.align-right {231 clear: right;232 float: right;233 margin-left: 1em;234 }235 236 img.align-center, .figure.align-center, object.align-center {237 display: block;238 margin-left: auto;239 margin-right: auto;240 }241 242 216 .align-left { 243 217 text-align: left; … … 245 219 246 220 .align-center { 221 clear: both; 247 222 text-align: center; 248 223 } … … 421 396 422 397 .footnote:target { 423 background-color: #ffa ;398 background-color: #ffa 424 399 } 425 400 … … 448 423 } 449 424 450 abbr, acronym {451 border-bottom: dotted 1px;452 cursor: help;453 }454 455 425 /* -- code displays --------------------------------------------------------- */ 456 426 457 427 pre { 458 428 overflow: auto; 459 overflow-y: hidden; /* fixes display issues on Chrome browsers */460 429 } 461 430 -
fact/tools/pyscripts/doc/_build/html/_static/default.css
r13151 r13316 5 5 * Sphinx stylesheet -- default theme. 6 6 * 7 * :copyright: Copyright 2007-201 1by the Sphinx team, see AUTHORS.7 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. 8 8 * :license: BSD, see LICENSE for details. 9 9 * -
fact/tools/pyscripts/doc/_build/html/_static/doctools.js
r13151 r13316 3 3 * ~~~~~~~~~~~ 4 4 * 5 * Sphinx JavaScript util ities for all documentation.5 * Sphinx JavaScript utilties for all documentation. 6 6 * 7 * :copyright: Copyright 2007-201 1by the Sphinx team, see AUTHORS.7 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. 8 8 * :license: BSD, see LICENSE for details. 9 9 * … … 186 186 }); 187 187 }, 10); 188 $('< pclass="highlight-link"><a href="javascript:Documentation.' +189 'hideSearchWords()">' + _('Hide Search Matches') + '</a></ p>')190 .appendTo($(' #searchbox'));188 $('<li class="highlight-link"><a href="javascript:Documentation.' + 189 'hideSearchWords()">' + _('Hide Search Matches') + '</a></li>') 190 .appendTo($('.sidebar .this-page-menu')); 191 191 } 192 192 }, … … 214 214 */ 215 215 hideSearchWords : function() { 216 $(' #searchbox.highlight-link').fadeOut(300);216 $('.sidebar .this-page-menu li.highlight-link').fadeOut(300); 217 217 $('span.highlighted').removeClass('highlighted'); 218 218 }, -
fact/tools/pyscripts/doc/_build/html/_static/searchtools.js
r13151 r13316 1 1 /* 2 * searchtools.js _t3 * ~~~~~~~~~~~~~~ ~~2 * searchtools.js 3 * ~~~~~~~~~~~~~~ 4 4 * 5 5 * Sphinx JavaScript utilties for the full-text search. 6 6 * 7 * :copyright: Copyright 2007-201 1by the Sphinx team, see AUTHORS.7 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. 8 8 * :license: BSD, see LICENSE for details. 9 9 * … … 37 37 } 38 38 39 40 39 /** 41 40 * Porter Stemmer 42 41 */ 43 var Stemmer = function() {42 var PorterStemmer = function() { 44 43 45 44 var step2list = { … … 302 301 303 302 query : function(query) { 304 var stopwords = ["and","then","into","it","as","are","in","if","for","no","there","their","was","is","be","to","that","but","they","not","such","with","by","a","on","these","of","will","this","near","the","or","at"]; 305 306 // Stem the searchterms and add them to the correct list 307 var stemmer = new Stemmer(); 303 var stopwords = ['and', 'then', 'into', 'it', 'as', 'are', 'in', 304 'if', 'for', 'no', 'there', 'their', 'was', 'is', 305 'be', 'to', 'that', 'but', 'they', 'not', 'such', 306 'with', 'by', 'a', 'on', 'these', 'of', 'will', 307 'this', 'near', 'the', 'or', 'at']; 308 309 // stem the searchterms and add them to the correct list 310 var stemmer = new PorterStemmer(); 308 311 var searchterms = []; 309 312 var excluded = []; 310 313 var hlterms = []; 311 314 var tmp = query.split(/\s+/); 312 var object terms = [];315 var object = (tmp.length == 1) ? tmp[0].toLowerCase() : null; 313 316 for (var i = 0; i < tmp.length; i++) { 314 if (tmp[i] != "") {315 objectterms.push(tmp[i].toLowerCase());316 }317 318 317 if ($u.indexOf(stopwords, tmp[i]) != -1 || tmp[i].match(/^\d+$/) || 319 318 tmp[i] == "") { … … 346 345 var titles = this._index.titles; 347 346 var terms = this._index.terms; 347 var objects = this._index.objects; 348 var objtypes = this._index.objtypes; 349 var objnames = this._index.objnames; 348 350 var fileMap = {}; 349 351 var files = null; … … 356 358 357 359 // lookup as object 358 for (var i = 0; i < objectterms.length; i++) { 359 var others = [].concat(objectterms.slice(0,i), 360 objectterms.slice(i+1, objectterms.length)) 361 var results = this.performObjectSearch(objectterms[i], others); 362 // Assume first word is most likely to be the object, 363 // other words more likely to be in description. 364 // Therefore put matches for earlier words first. 365 // (Results are eventually used in reverse order). 366 objectResults = results[0].concat(objectResults); 367 importantResults = results[1].concat(importantResults); 368 unimportantResults = results[2].concat(unimportantResults); 369 } 360 if (object != null) { 361 for (var prefix in objects) { 362 for (var name in objects[prefix]) { 363 var fullname = (prefix ? prefix + '.' : '') + name; 364 if (fullname.toLowerCase().indexOf(object) > -1) { 365 match = objects[prefix][name]; 366 descr = objnames[match[1]] + _(', in ') + titles[match[0]]; 367 // XXX the generated anchors are not generally correct 368 // XXX there may be custom prefixes 369 result = [filenames[match[0]], fullname, '#'+fullname, descr]; 370 switch (match[2]) { 371 case 1: objectResults.push(result); break; 372 case 0: importantResults.push(result); break; 373 case 2: unimportantResults.push(result); break; 374 } 375 } 376 } 377 } 378 } 379 380 // sort results descending 381 objectResults.sort(function(a, b) { 382 return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); 383 }); 384 385 importantResults.sort(function(a, b) { 386 return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); 387 }); 388 389 unimportantResults.sort(function(a, b) { 390 return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0); 391 }); 392 370 393 371 394 // perform the search on the required terms … … 467 490 displayNextItem(); 468 491 }); 469 } , "text");492 }); 470 493 } else { 471 494 // no source available, just display title … … 488 511 } 489 512 displayNextItem(); 490 },491 492 performObjectSearch : function(object, otherterms) {493 var filenames = this._index.filenames;494 var objects = this._index.objects;495 var objnames = this._index.objnames;496 var titles = this._index.titles;497 498 var importantResults = [];499 var objectResults = [];500 var unimportantResults = [];501 502 for (var prefix in objects) {503 for (var name in objects[prefix]) {504 var fullname = (prefix ? prefix + '.' : '') + name;505 if (fullname.toLowerCase().indexOf(object) > -1) {506 var match = objects[prefix][name];507 var objname = objnames[match[1]][2];508 var title = titles[match[0]];509 // If more than one term searched for, we require other words to be510 // found in the name/title/description511 if (otherterms.length > 0) {512 var haystack = (prefix + ' ' + name + ' ' +513 objname + ' ' + title).toLowerCase();514 var allfound = true;515 for (var i = 0; i < otherterms.length; i++) {516 if (haystack.indexOf(otherterms[i]) == -1) {517 allfound = false;518 break;519 }520 }521 if (!allfound) {522 continue;523 }524 }525 var descr = objname + _(', in ') + title;526 anchor = match[3];527 if (anchor == '')528 anchor = fullname;529 else if (anchor == '-')530 anchor = objnames[match[1]][1] + '-' + fullname;531 result = [filenames[match[0]], fullname, '#'+anchor, descr];532 switch (match[2]) {533 case 1: objectResults.push(result); break;534 case 0: importantResults.push(result); break;535 case 2: unimportantResults.push(result); break;536 }537 }538 }539 }540 541 // sort results descending542 objectResults.sort(function(a, b) {543 return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);544 });545 546 importantResults.sort(function(a, b) {547 return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);548 });549 550 unimportantResults.sort(function(a, b) {551 return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);552 });553 554 return [importantResults, objectResults, unimportantResults]555 513 } 556 514 } -
fact/tools/pyscripts/doc/_build/html/_static/sidebar.js
r13151 r13316 17 17 * reset to the default (expanded). 18 18 * 19 * :copyright: Copyright 2007-201 1by the Sphinx team, see AUTHORS.19 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. 20 20 * :license: BSD, see LICENSE for details. 21 21 * … … 29 29 var sidebar = $('.sphinxsidebar'); 30 30 var sidebarwrapper = $('.sphinxsidebarwrapper'); 31 32 // for some reason, the document has no sidebar; do not run into errors33 if (!sidebar.length) return;34 31 35 32 // original margin-left of the bodywrapper and width of the sidebar -
fact/tools/pyscripts/doc/_build/html/_static/underscore.js
r13151 r13316 1 // Underscore.js 0.5.52 // (c) 2009 Jeremy Ashkenas, DocumentCloud Inc.3 // Underscore is freely distributable under the terms of the MIT license.4 // Portions of Underscore are inspired by or borrowed from Prototype.js,5 // Oliver Steele's Functional, and John Resig's Micro-Templating.6 // For all details and documentation:7 // http://documentcloud.github.com/underscore/8 1 (function(){var j=this,n=j._,i=function(a){this._wrapped=a},m=typeof StopIteration!=="undefined"?StopIteration:"__break__",b=j._=function(a){return new i(a)};if(typeof exports!=="undefined")exports._=b;var k=Array.prototype.slice,o=Array.prototype.unshift,p=Object.prototype.toString,q=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;b.VERSION="0.5.5";b.each=function(a,c,d){try{if(a.forEach)a.forEach(c,d);else if(b.isArray(a)||b.isArguments(a))for(var e=0,f=a.length;e<f;e++)c.call(d, 9 2 a[e],e,a);else{var g=b.keys(a);f=g.length;for(e=0;e<f;e++)c.call(d,a[g[e]],g[e],a)}}catch(h){if(h!=m)throw h;}return a};b.map=function(a,c,d){if(a&&b.isFunction(a.map))return a.map(c,d);var e=[];b.each(a,function(f,g,h){e.push(c.call(d,f,g,h))});return e};b.reduce=function(a,c,d,e){if(a&&b.isFunction(a.reduce))return a.reduce(b.bind(d,e),c);b.each(a,function(f,g,h){c=d.call(e,c,f,g,h)});return c};b.reduceRight=function(a,c,d,e){if(a&&b.isFunction(a.reduceRight))return a.reduceRight(b.bind(d,e),c);
Note:
See TracChangeset
for help on using the changeset viewer.