File tree Expand file tree Collapse file tree 14 files changed +121
-30
lines changed Expand file tree Collapse file tree 14 files changed +121
-30
lines changed Original file line number Diff line number Diff line change 21
21
< script type ="text/javascript " src ="_static/doctools.js "> </ script >
22
22
< script type ="text/javascript ">
23
23
$ ( function ( ) {
24
+ var pageURL = $ ( location ) . attr ( "href" ) ;
25
+ var splitURL = pageURL . split ( "/" ) ;
24
26
$ . ajax ( {
25
27
url : 'http://docs.sympy.org/releases.txt' ,
26
28
success : function ( data ) {
29
31
if ( elem != "" ) {
30
32
var res = elem . split ( ":" ) ;
31
33
if ( n == ( lines . length - 2 ) ) {
32
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color:#389cc7; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
34
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
33
35
}
34
36
else if ( res [ 0 ] == 'dev' ) {
35
37
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
36
38
}
39
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
40
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
41
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
42
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
43
+ $ ( this ) . show ( ) ;
44
+ } ) ;
45
+ }
37
46
else {
38
47
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
39
48
}
Original file line number Diff line number Diff line change 22
22
< script type ="text/javascript " src ="_static/doctools.js "> </ script >
23
23
< script type ="text/javascript ">
24
24
$ ( function ( ) {
25
+ var pageURL = $ ( location ) . attr ( "href" ) ;
26
+ var splitURL = pageURL . split ( "/" ) ;
25
27
$ . ajax ( {
26
28
url : 'http://docs.sympy.org/releases.txt' ,
27
29
success : function ( data ) {
30
32
if ( elem != "" ) {
31
33
var res = elem . split ( ":" ) ;
32
34
if ( n == ( lines . length - 2 ) ) {
33
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color:#389cc7; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
35
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
34
36
}
35
37
else if ( res [ 0 ] == 'dev' ) {
36
38
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
37
39
}
40
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
41
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
42
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
43
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
44
+ $ ( this ) . show ( ) ;
45
+ } ) ;
46
+ }
38
47
else {
39
48
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
40
49
}
Original file line number Diff line number Diff line change 25
25
< link rel ="next " title ="Installation " href ="install.html " />
26
26
< script type ="text/javascript ">
27
27
$ ( function ( ) {
28
+ var pageURL = $ ( location ) . attr ( "href" ) ;
29
+ var splitURL = pageURL . split ( "/" ) ;
28
30
$ . ajax ( {
29
31
url : 'http://docs.sympy.org/releases.txt' ,
30
32
success : function ( data ) {
33
35
if ( elem != "" ) {
34
36
var res = elem . split ( ":" ) ;
35
37
if ( n == ( lines . length - 2 ) ) {
36
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color:#389cc7; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
38
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
37
39
}
38
40
else if ( res [ 0 ] == 'dev' ) {
39
41
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
40
42
}
43
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
44
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
45
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
46
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
47
+ $ ( this ) . show ( ) ;
48
+ } ) ;
49
+ }
41
50
else {
42
51
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
43
52
}
Original file line number Diff line number Diff line change 35
35
< script type ="text/javascript " src ="_static/sidebar.js "> </ script >
36
36
< script type ="text/javascript ">
37
37
$ ( function ( ) {
38
+ var pageURL = $ ( location ) . attr ( "href" ) ;
39
+ var splitURL = pageURL . split ( "/" ) ;
38
40
$ . ajax ( {
39
41
url : 'http://docs.sympy.org/releases.txt' ,
40
42
success : function ( data ) {
43
45
if ( elem != "" ) {
44
46
var res = elem . split ( ":" ) ;
45
47
if ( n == ( lines . length - 2 ) ) {
46
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color:#389cc7; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
48
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
47
49
}
48
50
else if ( res [ 0 ] == 'dev' ) {
49
51
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
50
52
}
53
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
54
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
55
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
56
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
57
+ $ ( this ) . show ( ) ;
58
+ } ) ;
59
+ }
51
60
else {
52
61
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
53
62
}
Original file line number Diff line number Diff line change 35
35
< script type ="text/javascript " src ="_static/sidebar.js "> </ script >
36
36
< script type ="text/javascript ">
37
37
$ ( function ( ) {
38
+ var pageURL = $ ( location ) . attr ( "href" ) ;
39
+ var splitURL = pageURL . split ( "/" ) ;
38
40
$ . ajax ( {
39
41
url : 'http://docs.sympy.org/releases.txt' ,
40
42
success : function ( data ) {
43
45
if ( elem != "" ) {
44
46
var res = elem . split ( ":" ) ;
45
47
if ( n == ( lines . length - 2 ) ) {
46
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color:#389cc7; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
48
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
47
49
}
48
50
else if ( res [ 0 ] == 'dev' ) {
49
51
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
50
52
}
53
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
54
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
55
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
56
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
57
+ $ ( this ) . show ( ) ;
58
+ } ) ;
59
+ }
51
60
else {
52
61
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
53
62
}
Original file line number Diff line number Diff line change 35
35
< script type ="text/javascript " src ="_static/sidebar.js "> </ script >
36
36
< script type ="text/javascript ">
37
37
$ ( function ( ) {
38
+ var pageURL = $ ( location ) . attr ( "href" ) ;
39
+ var splitURL = pageURL . split ( "/" ) ;
38
40
$ . ajax ( {
39
41
url : 'http://docs.sympy.org/releases.txt' ,
40
42
success : function ( data ) {
43
45
if ( elem != "" ) {
44
46
var res = elem . split ( ":" ) ;
45
47
if ( n == ( lines . length - 2 ) ) {
46
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color: #7ab54a; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
48
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
47
49
}
48
50
else if ( res [ 0 ] == 'dev' ) {
49
51
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
50
52
}
53
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
54
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
55
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
56
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
57
+ $ ( this ) . show ( ) ;
58
+ } ) ;
59
+ }
51
60
else {
52
61
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
53
62
}
Original file line number Diff line number Diff line change 35
35
< script type ="text/javascript " src ="_static/sidebar.js "> </ script >
36
36
< script type ="text/javascript ">
37
37
$ ( function ( ) {
38
+ var pageURL = $ ( location ) . attr ( "href" ) ;
39
+ var splitURL = pageURL . split ( "/" ) ;
38
40
$ . ajax ( {
39
41
url : 'http://docs.sympy.org/releases.txt' ,
40
42
success : function ( data ) {
43
45
if ( elem != "" ) {
44
46
var res = elem . split ( ":" ) ;
45
47
if ( n == ( lines . length - 2 ) ) {
46
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color: #7ab54a; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
48
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
47
49
}
48
50
else if ( res [ 0 ] == 'dev' ) {
49
51
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
50
52
}
53
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
54
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
55
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
56
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
57
+ $ ( this ) . show ( ) ;
58
+ } ) ;
59
+ }
51
60
else {
52
61
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
53
62
}
Original file line number Diff line number Diff line change 35
35
< script type ="text/javascript " src ="_static/sidebar.js "> </ script >
36
36
< script type ="text/javascript ">
37
37
$ ( function ( ) {
38
+ var pageURL = $ ( location ) . attr ( "href" ) ;
39
+ var splitURL = pageURL . split ( "/" ) ;
38
40
$ . ajax ( {
39
41
url : 'http://docs.sympy.org/releases.txt' ,
40
42
success : function ( data ) {
43
45
if ( elem != "" ) {
44
46
var res = elem . split ( ":" ) ;
45
47
if ( n == ( lines . length - 2 ) ) {
46
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color: #7ab54a; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
48
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
47
49
}
48
50
else if ( res [ 0 ] == 'dev' ) {
49
51
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
50
52
}
53
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
54
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
55
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
56
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
57
+ $ ( this ) . show ( ) ;
58
+ } ) ;
59
+ }
51
60
else {
52
61
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
53
62
}
Original file line number Diff line number Diff line change 35
35
< script type ="text/javascript " src ="_static/sidebar.js "> </ script >
36
36
< script type ="text/javascript ">
37
37
$ ( function ( ) {
38
+ var pageURL = $ ( location ) . attr ( "href" ) ;
39
+ var splitURL = pageURL . split ( "/" ) ;
38
40
$ . ajax ( {
39
41
url : 'http://docs.sympy.org/releases.txt' ,
40
42
success : function ( data ) {
43
45
if ( elem != "" ) {
44
46
var res = elem . split ( ":" ) ;
45
47
if ( n == ( lines . length - 2 ) ) {
46
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color: #7ab54a; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
48
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
47
49
}
48
50
else if ( res [ 0 ] == 'dev' ) {
49
51
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
50
52
}
53
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
54
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
55
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
56
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
57
+ $ ( this ) . show ( ) ;
58
+ } ) ;
59
+ }
51
60
else {
52
61
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
53
62
}
Original file line number Diff line number Diff line change 35
35
< script type ="text/javascript " src ="_static/sidebar.js "> </ script >
36
36
< script type ="text/javascript ">
37
37
$ ( function ( ) {
38
+ var pageURL = $ ( location ) . attr ( "href" ) ;
39
+ var splitURL = pageURL . split ( "/" ) ;
38
40
$ . ajax ( {
39
41
url : 'http://docs.sympy.org/releases.txt' ,
40
42
success : function ( data ) {
43
45
if ( elem != "" ) {
44
46
var res = elem . split ( ":" ) ;
45
47
if ( n == ( lines . length - 2 ) ) {
46
- $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;background-color: #7ab54a; ' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
48
+ $ ( "#version-list" ) . prepend ( "<li><a style='font-size:100%;' href=" + "../latest/index.html" + "><span>Latest</span></a></li>" ) ;
47
49
}
48
50
else if ( res [ 0 ] == 'dev' ) {
49
51
$ ( "#version-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>Dev</span></a></li>" ) ;
50
52
}
53
+ else if ( res [ 0 ] == splitURL [ 9 ] ) {
54
+ $ ( "#bottom-list" ) . prepend ( "<li><a id=" + res [ 0 ] + " style='font-size: 100%;background-color:#ccc;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
55
+ $ ( 'li.has-sub' ) . addClass ( 'open' ) ;
56
+ $ ( 'li.has-sub>ul' ) . slideDown ( 500 , function ( ) {
57
+ $ ( this ) . show ( ) ;
58
+ } ) ;
59
+ }
51
60
else {
52
61
$ ( "#bottom-list" ) . prepend ( "<li><a style='font-size: 100%;' href=" + "../" + res [ 0 ] + "/index.html" + "><span>" + res [ 1 ] + "</span></a></li>" ) ;
53
62
}
71
80
}
72
81
} ) ;
73
82
} ) ;
83
+
74
84
</ script >
75
85
< link rel ="shortcut icon " href ="_static/sympy-notailtext-favicon.ico "/>
76
86
< link rel ="top " title ="SymPy 0.7.6.1 documentation " href ="# " />
You can’t perform that action at this time.
0 commit comments