File tree Expand file tree Collapse file tree 10 files changed +19
-12
lines changed Expand file tree Collapse file tree 10 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 1
1
var DOCUMENTATION_OPTIONS = {
2
2
URL_ROOT : document . getElementById ( "documentation_options" ) . getAttribute ( 'data-url_root' ) ,
3
- VERSION : '0.1.15 ' ,
3
+ VERSION : '0.1.16 ' ,
4
4
LANGUAGE : 'en' ,
5
5
COLLAPSE_INDEX : false ,
6
6
BUILDER : 'html' ,
Original file line number Diff line number Diff line change @@ -282,7 +282,10 @@ var Search = {
282
282
complete : function ( jqxhr , textstatus ) {
283
283
var data = jqxhr . responseText ;
284
284
if ( data !== '' && data !== undefined ) {
285
- listItem . append ( Search . makeSearchSummary ( data , searchterms , hlterms ) ) ;
285
+ var summary = Search . makeSearchSummary ( data , searchterms , hlterms ) ;
286
+ if ( summary ) {
287
+ listItem . append ( summary ) ;
288
+ }
286
289
}
287
290
Search . output . append ( listItem ) ;
288
291
setTimeout ( function ( ) {
@@ -498,6 +501,9 @@ var Search = {
498
501
*/
499
502
makeSearchSummary : function ( htmlText , keywords , hlwords ) {
500
503
var text = Search . htmlToText ( htmlText ) ;
504
+ if ( text == "" ) {
505
+ return null ;
506
+ }
501
507
var textLower = text . toLowerCase ( ) ;
502
508
var start = 0 ;
503
509
$ . each ( keywords , function ( ) {
Original file line number Diff line number Diff line change 5
5
< head >
6
6
< meta charset ="utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < title > About BioSimulators-BioNetGen — BioSimulators-BioNetGen 0.1.15 documentation</ title >
8
+ < title > About BioSimulators-BioNetGen — BioSimulators-BioNetGen 0.1.16 documentation</ title >
9
9
10
10
< link href ="_static/css/theme.css " rel ="stylesheet " />
11
11
< link href ="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css " rel ="stylesheet " />
Original file line number Diff line number Diff line change 5
5
< head >
6
6
< meta charset ="utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < title > Index — BioSimulators-BioNetGen 0.1.15 documentation</ title >
8
+ < title > Index — BioSimulators-BioNetGen 0.1.16 documentation</ title >
9
9
10
10
< link href ="_static/css/theme.css " rel ="stylesheet " />
11
11
< link href ="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css " rel ="stylesheet " />
Original file line number Diff line number Diff line change 5
5
< head >
6
6
< meta charset ="utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < title > BioSimulators-BioNetGen documentation — BioSimulators-BioNetGen 0.1.15 documentation</ title >
8
+ < title > BioSimulators-BioNetGen documentation — BioSimulators-BioNetGen 0.1.16 documentation</ title >
9
9
10
10
< link href ="_static/css/theme.css " rel ="stylesheet " />
11
11
< link href ="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css " rel ="stylesheet " />
Original file line number Diff line number Diff line change 5
5
< head >
6
6
< meta charset ="utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < title > Installation instructions — BioSimulators-BioNetGen 0.1.15 documentation</ title >
8
+ < title > Installation instructions — BioSimulators-BioNetGen 0.1.16 documentation</ title >
9
9
10
10
< link href ="_static/css/theme.css " rel ="stylesheet " />
11
11
< link href ="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css " rel ="stylesheet " />
Original file line number Diff line number Diff line change 5
5
< head >
6
6
< meta charset ="utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < title > Python Module Index — BioSimulators-BioNetGen 0.1.15 documentation</ title >
8
+ < title > Python Module Index — BioSimulators-BioNetGen 0.1.16 documentation</ title >
9
9
10
10
< link href ="_static/css/theme.css " rel ="stylesheet " />
11
11
< link href ="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css " rel ="stylesheet " />
Original file line number Diff line number Diff line change 5
5
< head >
6
6
< meta charset ="utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < title > Search — BioSimulators-BioNetGen 0.1.15 documentation</ title >
8
+ < title > Search — BioSimulators-BioNetGen 0.1.16 documentation</ title >
9
9
10
10
< link href ="_static/css/theme.css " rel ="stylesheet " />
11
11
< link href ="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css " rel ="stylesheet " />
146
146
147
147
< h1 id ="search-documentation "> Search</ h1 >
148
148
149
- < div id =" fallback " class =" admonition warning " >
150
- < script > $ ( '#fallback' ) . hide ( ) ; </ script >
149
+ < noscript >
150
+ < div class =" admonition warning " >
151
151
< p >
152
152
Please activate JavaScript to enable the search
153
153
functionality.
154
154
</ p >
155
155
</ div >
156
+ </ noscript >
156
157
157
158
158
159
< p >
Original file line number Diff line number Diff line change 5
5
< head >
6
6
< meta charset ="utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < title > biosimulators_bionetgen package — BioSimulators-BioNetGen 0.1.15 documentation</ title >
8
+ < title > biosimulators_bionetgen package — BioSimulators-BioNetGen 0.1.16 documentation</ title >
9
9
10
10
< link href ="../_static/css/theme.css " rel ="stylesheet " />
11
11
< link href ="../_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css " rel ="stylesheet " />
Original file line number Diff line number Diff line change 5
5
< head >
6
6
< meta charset ="utf-8 " />
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < title > Tutorial — BioSimulators-BioNetGen 0.1.15 documentation</ title >
8
+ < title > Tutorial — BioSimulators-BioNetGen 0.1.16 documentation</ title >
9
9
10
10
< link href ="_static/css/theme.css " rel ="stylesheet " />
11
11
< link href ="_static/css/index.c5995385ac14fb8791e8eb36b4908be2.css " rel ="stylesheet " />
You can’t perform that action at this time.
0 commit comments