Skip to content

Commit 162c703

Browse files
committed
update pyjalali documentation about using jmktime and remove unnecessary workaround since issue 4 is now fixed
1 parent 268cc77 commit 162c703

18 files changed

+321
-489
lines changed

docs/pyjalali/_static/basic.css

+2-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -89,6 +89,7 @@ div.sphinxsidebar #searchbox input[type="submit"] {
8989

9090
img {
9191
border: 0;
92+
max-width: 100%;
9293
}
9394

9495
/* -- search page ----------------------------------------------------------- */
@@ -401,10 +402,6 @@ dl.glossary dt {
401402
margin: 0;
402403
}
403404

404-
.refcount {
405-
color: #060;
406-
}
407-
408405
.optional {
409406
font-size: 1.3em;
410407
}

docs/pyjalali/_static/default.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- default theme.
66
*
7-
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/

docs/pyjalali/_static/doctools.js

+5-14
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for all documentation.
66
*
7-
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -32,7 +32,7 @@ if (!window.console || !console.firebug) {
3232
*/
3333
jQuery.urldecode = function(x) {
3434
return decodeURIComponent(x).replace(/\+/g, ' ');
35-
}
35+
};
3636

3737
/**
3838
* small helper function to urlencode strings
@@ -61,18 +61,6 @@ jQuery.getQueryParameters = function(s) {
6161
return result;
6262
};
6363

64-
/**
65-
* small function to check if an array contains
66-
* a given item.
67-
*/
68-
jQuery.contains = function(arr, item) {
69-
for (var i = 0; i < arr.length; i++) {
70-
if (arr[i] == item)
71-
return true;
72-
}
73-
return false;
74-
};
75-
7664
/**
7765
* highlight a given string on a jquery object by wrapping it in
7866
* span elements with the given class name.
@@ -180,6 +168,9 @@ var Documentation = {
180168
var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : [];
181169
if (terms.length) {
182170
var body = $('div.body');
171+
if (!body.length) {
172+
body = $('body');
173+
}
183174
window.setTimeout(function() {
184175
$.each(terms, function() {
185176
body.highlightText(this.toLowerCase(), 'highlighted');

docs/pyjalali/_static/jquery.js

+2-154
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)