openvox 8.28.0 → 8.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1068 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- #
4
- # = CSS2 RDoc HTML template
5
- #
6
- # This is a template for RDoc that uses XHTML 1.0 Transitional and dictates a
7
- # bit more of the appearance of the output to cascading stylesheets than the
8
- # default. It was designed for clean inline code display, and uses DHTMl to
9
- # toggle the visbility of each method's source with each click on the '[source]'
10
- # link.
11
- #
12
- # == Authors
13
- #
14
- # * Michael Granger <ged@FaerieMUD.org>
15
- #
16
- # Copyright (c) 2002, 2003 The FaerieMUD Consortium. Some rights reserved.
17
- #
18
- # This work is licensed under the Creative Commons Attribution License. To view
19
- # a copy of this license, visit http://creativecommons.org/licenses/by/1.0/ or
20
- # send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California
21
- # 94305, USA.
22
- #
23
-
24
- module RDoc
25
- module Page
26
- FONTS = "Verdana,Arial,Helvetica,sans-serif"
27
-
28
- STYLE = %(
29
- /* Reset */
30
- html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
31
- :focus{outline:0;}
32
- body{line-height:1;color:#282828;background:#fff;}
33
- ol,ul{list-style:none;}
34
- table{border-collapse:separate;border-spacing:0;}
35
- caption,th,td{text-align:left;font-weight:normal;}
36
- blockquote:before,blockquote:after,q:before,q:after{content:"";}
37
- blockquote,q{quotes:"""";}
38
-
39
- body {
40
- font-family: Verdana,Arial,Helvetica,sans-serif;
41
- font-size: 0.9em;
42
- }
43
-
44
- pre {
45
- background: none repeat scroll 0 0 #F7F7F7;
46
- border: 1px dashed #DDDDDD;
47
- color: #555555;
48
- font-family: courier;
49
- margin: 10px 19px;
50
- padding: 10px;
51
- }
52
-
53
- h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
54
- h1 { font-size: 1.2em; }
55
- h2,h3,h4 { margin-top: 1em; color:#558; }
56
- h2,h3 { font-size: 1.1em; }
57
-
58
- a { color: #037; text-decoration: none; }
59
- a:hover { color: #04d; }
60
-
61
- /* Override the base stylesheet's Anchor inside a table cell */
62
- td > a {
63
- background: transparent;
64
- color: #039;
65
- text-decoration: none;
66
- }
67
-
68
- /* and inside a section title */
69
- .section-title > a {
70
- background: transparent;
71
- color: #eee;
72
- text-decoration: none;
73
- }
74
-
75
- /* === Structural elements =================================== */
76
-
77
- div#index {
78
- padding: 0;
79
- }
80
-
81
-
82
- div#index a {
83
- display:inline-block;
84
- padding:2px 10px;
85
- }
86
-
87
-
88
- div#index .section-bar {
89
- background: #ffe;
90
- padding:10px;
91
- }
92
-
93
-
94
- div#classHeader, div#fileHeader {
95
- border-bottom: 1px solid #ddd;
96
- padding:10px;
97
- font-size:0.9em;
98
- }
99
-
100
- div#classHeader a, div#fileHeader a {
101
- background: inherit;
102
- color: white;
103
- }
104
-
105
- div#classHeader td, div#fileHeader td {
106
- color: white;
107
- padding:3px;
108
- font-size:0.9em;
109
- }
110
-
111
-
112
- div#fileHeader {
113
- background: #057;
114
- }
115
-
116
- div#classHeader {
117
- background: #048;
118
- }
119
-
120
- div#nodeHeader {
121
- background: #7f7f7f;
122
- }
123
-
124
- .class-name-in-header {
125
- font-weight: bold;
126
- }
127
-
128
-
129
- div#bodyContent {
130
- padding: 10px;
131
- }
132
-
133
- div#description {
134
- padding: 10px;
135
- background: #f5f5f5;
136
- border: 1px dotted #ddd;
137
- line-height:1.2em;
138
- }
139
-
140
- div#description h1,h2,h3,h4,h5,h6 {
141
- color: #125;;
142
- background: transparent;
143
- }
144
-
145
- div#validator-badges {
146
- text-align: center;
147
- }
148
- div#validator-badges img { border: 0; }
149
-
150
- div#copyright {
151
- color: #333;
152
- background: #efefef;
153
- font: 0.75em sans-serif;
154
- margin-top: 5em;
155
- margin-bottom: 0;
156
- padding: 0.5em 2em;
157
- }
158
-
159
-
160
- /* === Classes =================================== */
161
-
162
- table.header-table {
163
- color: white;
164
- font-size: small;
165
- }
166
-
167
- .type-note {
168
- font-size: small;
169
- color: #DEDEDE;
170
- }
171
-
172
- .xxsection-bar {
173
- background: #eee;
174
- color: #333;
175
- padding: 3px;
176
- }
177
-
178
- .section-bar {
179
- color: #333;
180
- border-bottom: 1px solid #ddd;
181
- padding:10px 0;
182
- margin:5px 0 10px 0;
183
- }
184
-
185
- div#class-list, div#methods, div#includes, div#resources, div#requires, div#realizes, div#attribute-list { padding:10px; }
186
-
187
- .section-title {
188
- background: #79a;
189
- color: #eee;
190
- padding: 3px;
191
- margin-top: 2em;
192
- border: 1px solid #999;
193
- }
194
-
195
- .top-aligned-row { vertical-align: top }
196
- .bottom-aligned-row { vertical-align: bottom }
197
-
198
- /* --- Context section classes ----------------------- */
199
-
200
- .context-row { }
201
- .context-item-name { font-family: monospace; font-weight: bold; color: black; }
202
- .context-item-value { font-size: small; color: #448; }
203
- .context-item-desc { color: #333; padding-left: 2em; }
204
-
205
- /* --- Method classes -------------------------- */
206
- .method-detail {
207
- background: #f5f5f5;
208
- }
209
- .method-heading {
210
- color: #333;
211
- font-style:italic;
212
- background: #ddd;
213
- padding:5px 10px;
214
- }
215
- .method-signature { color: black; background: inherit; }
216
- .method-name { font-weight: bold; }
217
- .method-args { font-style: italic; }
218
- .method-description { padding: 10px 10px 20px 10px; }
219
-
220
- /* --- Source code sections -------------------- */
221
-
222
- a.source-toggle { font-size: 90%; }
223
- div.method-source-code {
224
- background: #262626;
225
- color: #ffdead;
226
- margin: 1em;
227
- padding: 0.5em;
228
- border: 1px dashed #999;
229
- overflow: hidden;
230
- }
231
-
232
- div.method-source-code pre { color: #ffdead; overflow: hidden; }
233
-
234
- /* --- Ruby keyword styles --------------------- */
235
-
236
- .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
237
-
238
- .ruby-constant { color: #7fffd4; background: transparent; }
239
- .ruby-keyword { color: #00ffff; background: transparent; }
240
- .ruby-ivar { color: #eedd82; background: transparent; }
241
- .ruby-operator { color: #00ffee; background: transparent; }
242
- .ruby-identifier { color: #ffdead; background: transparent; }
243
- .ruby-node { color: #ffa07a; background: transparent; }
244
- .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
245
- .ruby-regexp { color: #ffa07a; background: transparent; }
246
- .ruby-value { color: #7fffd4; background: transparent; }
247
- )
248
-
249
- #####################################################################
250
- ### H E A D E R T E M P L A T E
251
- #####################################################################
252
-
253
- XHTML_PREAMBLE = %(<?xml version="1.0" encoding="%charset%"?>
254
- <!DOCTYPE html
255
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
256
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
257
- )
258
-
259
- HEADER = XHTML_PREAMBLE + %{
260
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
261
- <head>
262
- <title>%title%</title>
263
- <meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
264
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
265
- <link rel="stylesheet" href="%style_url%" type="text/css" media="screen" />
266
- <script type="text/javascript">
267
- // <![CDATA[
268
-
269
- function popupCode( url ) {
270
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
271
- }
272
-
273
- function toggleCode( id ) {
274
- if ( document.getElementById )
275
- elem = document.getElementById( id );
276
- else if ( document.all )
277
- elem = eval( "document.all." + id );
278
- else
279
- return false;
280
-
281
- elemStyle = elem.style;
282
-
283
- if ( elemStyle.display != "block" ) {
284
- elemStyle.display = "block"
285
- } else {
286
- elemStyle.display = "none"
287
- }
288
-
289
- return true;
290
- }
291
-
292
- // Make codeblocks hidden by default
293
- document.writeln( "<style type=\\"text/css\\">div.method-source-code { display: none }</style>" )
294
-
295
- // ]]>
296
- </script>
297
-
298
- </head>
299
- <body>
300
- }
301
-
302
- #####################################################################
303
- ### C O N T E X T C O N T E N T T E M P L A T E
304
- #####################################################################
305
-
306
- CONTEXT_CONTENT = %(
307
- )
308
-
309
- #####################################################################
310
- ### F O O T E R T E M P L A T E
311
- #####################################################################
312
- FOOTER = %(
313
- <div id="validator-badges">
314
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
315
- </div>
316
-
317
- </body>
318
- </html>
319
- )
320
-
321
- #####################################################################
322
- ### F I L E P A G E H E A D E R T E M P L A T E
323
- #####################################################################
324
-
325
- FILE_PAGE = %{
326
- <div id="fileHeader">
327
- <h1>%short_name%</h1>
328
- <table class="header-table">
329
- <tr class="top-aligned-row">
330
- <td><strong>Path:</strong></td>
331
- <td>%full_path%
332
- IF:cvsurl
333
- &nbsp;(<a href="%cvsurl%"><acronym title="Concurrent Versioning System">CVS</acronym></a>)
334
- ENDIF:cvsurl
335
- </td>
336
- </tr>
337
- <tr class="top-aligned-row">
338
- <td><strong>Last Update:</strong></td>
339
- <td>%dtm_modified%</td>
340
- </tr>
341
- </table>
342
- </div>
343
- }
344
-
345
- #####################################################################
346
- ### C L A S S P A G E H E A D E R T E M P L A T E
347
- #####################################################################
348
-
349
- CLASS_PAGE = %{
350
- <div id="classHeader">
351
- <table class="header-table">
352
- <tr class="top-aligned-row">
353
- <td><strong>%classmod%</strong></td>
354
- <td class="class-name-in-header">%full_name%</td>
355
- </tr>
356
- <tr class="top-aligned-row">
357
- <td><strong>In:</strong></td>
358
- <td>
359
- START:infiles
360
- IF:full_path_url
361
- <a href="%full_path_url%">
362
- ENDIF:full_path_url
363
- %full_path%
364
- IF:full_path_url
365
- </a>
366
- ENDIF:full_path_url
367
- IF:cvsurl
368
- &nbsp;(<a href="%cvsurl%"><acronym title="Concurrent Versioning System">CVS</acronym></a>)
369
- ENDIF:cvsurl
370
- <br />
371
- END:infiles
372
- </td>
373
- </tr>
374
-
375
- IF:parent
376
- <tr class="top-aligned-row">
377
- <td><strong>Parent:</strong></td>
378
- <td>
379
- IF:par_url
380
- <a href="%par_url%">
381
- ENDIF:par_url
382
- %parent%
383
- IF:par_url
384
- </a>
385
- ENDIF:par_url
386
- </td>
387
- </tr>
388
- ENDIF:parent
389
- </table>
390
- </div>
391
- }
392
-
393
- NODE_PAGE = %{
394
- <div id="nodeHeader">
395
- <table class="header-table">
396
- <tr class="top-aligned-row">
397
- <td><strong>%classmod%</strong></td>
398
- <td class="class-name-in-header">%full_name%</td>
399
- </tr>
400
- <tr class="top-aligned-row">
401
- <td><strong>In:</strong></td>
402
- <td>
403
- START:infiles
404
- IF:full_path_url
405
- <a href="%full_path_url%">
406
- ENDIF:full_path_url
407
- %full_path%
408
- IF:full_path_url
409
- </a>
410
- ENDIF:full_path_url
411
- IF:cvsurl
412
- &nbsp;(<a href="%cvsurl%"><acronym title="Concurrent Versioning System">CVS</acronym></a>)
413
- ENDIF:cvsurl
414
- <br />
415
- END:infiles
416
- </td>
417
- </tr>
418
-
419
- IF:parent
420
- <tr class="top-aligned-row">
421
- <td><strong>Parent:</strong></td>
422
- <td>
423
- IF:par_url
424
- <a href="%par_url%">
425
- ENDIF:par_url
426
- %parent%
427
- IF:par_url
428
- </a>
429
- ENDIF:par_url
430
- </td>
431
- </tr>
432
- ENDIF:parent
433
- </table>
434
- </div>
435
- }
436
-
437
- PLUGIN_PAGE = %{
438
- <div id="classHeader">
439
- <table class="header-table">
440
- <tr class="top-aligned-row">
441
- <td><strong>%classmod%</strong></td>
442
- <td class="class-name-in-header">%full_name%</td>
443
- </tr>
444
- <tr class="top-aligned-row">
445
- <td><strong>In:</strong></td>
446
- <td>
447
- START:infiles
448
- IF:full_path_url
449
- <a href="%full_path_url%">
450
- ENDIF:full_path_url
451
- %full_path%
452
- IF:full_path_url
453
- </a>
454
- ENDIF:full_path_url
455
- IF:cvsurl
456
- &nbsp;(<a href="%cvsurl%"><acronym title="Concurrent Versioning System">CVS</acronym></a>)
457
- ENDIF:cvsurl
458
- <br />
459
- END:infiles
460
- </td>
461
- </tr>
462
- </table>
463
- </div>
464
- }
465
-
466
- #####################################################################
467
- ### M E T H O D L I S T T E M P L A T E
468
- #####################################################################
469
-
470
- PLUGIN_LIST = %(
471
-
472
- <div id="contextContent">
473
- IF:description
474
- <div id="description">
475
- %description%
476
- </div>
477
- ENDIF:description
478
-
479
-
480
- IF:toc
481
- <div id="contents-list">
482
- <h3 class="section-bar">Contents</h3>
483
- <ul>
484
- START:toc
485
- <li><a href="#%href%">%secname%</a></li>
486
- END:toc
487
- </ul>
488
- ENDIF:toc
489
- </div>
490
-
491
- </div>
492
-
493
- <!-- Confine -->
494
- IF:confine
495
- START:confine
496
- <div id="attribute-list">
497
- <h3 class="section-bar">Confine</h3>
498
- %type%&nbsp;%value%
499
- <div class="name-list">
500
- </div>
501
- </div>
502
- END:confine
503
- ENDIF:confine
504
-
505
- <!-- Type -->
506
- IF:type
507
- <div id="attribute-list">
508
- <h3 class="section-bar">Type</h3>
509
- %type%
510
- <div class="name-list">
511
- </div>
512
- </div>
513
- ENDIF:type
514
-
515
- START:sections
516
- <div id="section">
517
- IF:sectitle
518
- <h2 class="section-title"><a name="%secsequence%">%sectitle%</a></h2>
519
- IF:seccomment
520
- <div class="section-comment">
521
- %seccomment%
522
- </div>
523
- ENDIF:seccomment
524
- ENDIF:sectitle
525
- END:sections
526
- )
527
-
528
- METHOD_LIST = %{
529
-
530
- <div id="contextContent">
531
- IF:diagram
532
- <div id="diagram">
533
- %diagram%
534
- </div>
535
- ENDIF:diagram
536
-
537
- IF:description
538
- <div id="description">
539
- %description%
540
- </div>
541
- ENDIF:description
542
-
543
-
544
- IF:toc
545
- <div id="contents-list">
546
- <h3 class="section-bar">Contents</h3>
547
- <ul>
548
- START:toc
549
- <li><a href="#%href%">%secname%</a></li>
550
- END:toc
551
- </ul>
552
- ENDIF:toc
553
- </div>
554
-
555
- <!-- if childs -->
556
- IF:childs
557
- <div id="childs">
558
- <h3 class="section-bar">Inherited by</h3>
559
- <div id="childs-list">
560
- START:childs
561
- <span class="child-name">HREF:aref:name:</span>
562
- END:childs
563
- </div>
564
- </div>
565
- ENDIF:childs
566
-
567
- IF:methods
568
- <div id="method-list">
569
- <h3 class="section-bar">Defines</h3>
570
-
571
- <div class="name-list">
572
- START:methods
573
- HREF:aref:name:&nbsp;&nbsp;
574
- END:methods
575
- </div>
576
- </div>
577
- ENDIF:methods
578
-
579
- IF:resources
580
- <div id="method-list">
581
- <h3 class="section-bar">Resources</h3>
582
-
583
- <div class="name-list">
584
- START:resources
585
- HREF:aref:name:&nbsp;&nbsp;
586
- END:resources
587
- </div>
588
- </div>
589
- ENDIF:resources
590
-
591
- </div>
592
-
593
-
594
- <!-- if includes -->
595
- IF:includes
596
- <div id="includes">
597
- <h3 class="section-bar">Included Classes</h3>
598
-
599
- <div id="includes-list">
600
- START:includes
601
- <span class="include-name">HREF:aref:name:</span>
602
- END:includes
603
- </div>
604
- </div>
605
- ENDIF:includes
606
-
607
- <!-- if requires -->
608
- IF:requires
609
- <div id="requires">
610
- <h3 class="section-bar">Required Classes</h3>
611
-
612
- <div id="requires-list">
613
- START:requires
614
- <span class="require-name">HREF:aref:name:</span>
615
- END:requires
616
- </div>
617
- </div>
618
- ENDIF:requires
619
-
620
- <!-- if realizes -->
621
- IF:realizes
622
- <div id="realizes">
623
- <h3 class="section-bar">Realized Resources</h3>
624
-
625
- <div id="realizes-list">
626
- START:realizes
627
- <span class="realizes-name">HREF:aref:name:</span>
628
- END:realizes
629
- </div>
630
- </div>
631
- ENDIF:realizes
632
-
633
- START:sections
634
- <div id="section">
635
- IF:sectitle
636
- <h2 class="section-title"><a name="%secsequence%">%sectitle%</a></h2>
637
- IF:seccomment
638
- <div class="section-comment">
639
- %seccomment%
640
- </div>
641
- ENDIF:seccomment
642
- ENDIF:sectitle
643
-
644
- <!-- if facts -->
645
- IF:facts
646
- <div id="class-list">
647
- <h3 class="section-bar">Custom Facts</h3>
648
- START:facts
649
- HREF:aref:name:&nbsp;&nbsp;
650
- END:facts
651
- </div>
652
- ENDIF:facts
653
-
654
- <!-- if plugins -->
655
- IF:plugins
656
- <div id="class-list">
657
- <h3 class="section-bar">Plugins</h3>
658
- START:plugins
659
- HREF:aref:name:&nbsp;&nbsp;
660
- END:plugins
661
- </div>
662
- ENDIF:plugins
663
-
664
- <!-- if nodes -->
665
- IF:nodelist
666
- <div id="class-list">
667
- <h3 class="section-bar">Nodes</h3>
668
-
669
- %nodelist%
670
- </div>
671
- ENDIF:nodelist
672
-
673
- <!-- if class -->
674
- IF:classlist
675
- <div id="class-list">
676
- <h3 class="section-bar">Classes and Modules</h3>
677
-
678
- %classlist%
679
- </div>
680
- ENDIF:classlist
681
-
682
- IF:constants
683
- <div id="constants-list">
684
- <h3 class="section-bar">Global Variables</h3>
685
-
686
- <div class="name-list">
687
- <table summary="Variables">
688
- START:constants
689
- <tr class="top-aligned-row context-row">
690
- <td class="context-item-name">%name%</td>
691
- <td>=</td>
692
- <td class="context-item-value">%value%</td>
693
- IF:desc
694
- <td width="3em">&nbsp;</td>
695
- <td class="context-item-desc">%desc%</td>
696
- ENDIF:desc
697
- </tr>
698
- END:constants
699
- </table>
700
- </div>
701
- </div>
702
- ENDIF:constants
703
-
704
- IF:aliases
705
- <div id="aliases-list">
706
- <h3 class="section-bar">External Aliases</h3>
707
-
708
- <div class="name-list">
709
- <table summary="aliases">
710
- START:aliases
711
- <tr class="top-aligned-row context-row">
712
- <td class="context-item-name">%old_name%</td>
713
- <td>-&gt;</td>
714
- <td class="context-item-value">%new_name%</td>
715
- </tr>
716
- IF:desc
717
- <tr class="top-aligned-row context-row">
718
- <td>&nbsp;</td>
719
- <td colspan="2" class="context-item-desc">%desc%</td>
720
- </tr>
721
- ENDIF:desc
722
- END:aliases
723
- </table>
724
- </div>
725
- </div>
726
- ENDIF:aliases
727
-
728
-
729
- IF:attributes
730
- <div id="attribute-list">
731
- <h3 class="section-bar">Attributes</h3>
732
-
733
- <div class="name-list">
734
- <table>
735
- START:attributes
736
- <tr class="top-aligned-row context-row">
737
- <td class="context-item-name">%name%</td>
738
- IF:rw
739
- <td class="context-item-value">&nbsp;[%rw%]&nbsp;</td>
740
- ENDIF:rw
741
- IFNOT:rw
742
- <td class="context-item-value">&nbsp;&nbsp;</td>
743
- ENDIF:rw
744
- <td class="context-item-desc">%a_desc%</td>
745
- </tr>
746
- END:attributes
747
- </table>
748
- </div>
749
- </div>
750
- ENDIF:attributes
751
-
752
-
753
-
754
- <!-- if method_list -->
755
- IF:method_list
756
- <div id="methods">
757
- START:method_list
758
- IF:methods
759
- <h3 class="section-bar">Defines</h3>
760
-
761
- START:methods
762
- <div id="method-%aref%" class="method-detail">
763
- <a name="%aref%"></a>
764
-
765
- <div class="method-heading">
766
- IF:codeurl
767
- <a href="%codeurl%" target="Code" class="method-signature"
768
- onclick="popupCode('%codeurl%');return false;">
769
- ENDIF:codeurl
770
- IF:sourcecode
771
- <a href="#%aref%" class="method-signature">
772
- ENDIF:sourcecode
773
- IF:callseq
774
- <span class="method-name">%callseq%</span>
775
- ENDIF:callseq
776
- IFNOT:callseq
777
- <span class="method-name">%name%</span><span class="method-args">%params%</span>
778
- ENDIF:callseq
779
- IF:codeurl
780
- </a>
781
- ENDIF:codeurl
782
- IF:sourcecode
783
- </a>
784
- ENDIF:sourcecode
785
- </div>
786
-
787
- <div class="method-description">
788
- IF:m_desc
789
- %m_desc%
790
- ENDIF:m_desc
791
- IF:sourcecode
792
- <p><a class="source-toggle" href="#"
793
- onclick="toggleCode('%aref%-source');return false;">[Source]</a></p>
794
- <div class="method-source-code" id="%aref%-source">
795
- <pre>
796
- %sourcecode%
797
- </pre>
798
- </div>
799
- ENDIF:sourcecode
800
- </div>
801
- </div>
802
-
803
- END:methods
804
- ENDIF:methods
805
- END:method_list
806
-
807
- </div>
808
- ENDIF:method_list
809
-
810
-
811
- <!-- if resource_list -->
812
- IF:resource_list
813
- <div id="resources">
814
- <h3 class="section-bar">Resources</h3>
815
- START:resource_list
816
-
817
- <div id="method-%aref%" class="method-detail">
818
- <a name="%aref%"></a>
819
-
820
- <div class="method-heading">
821
- <span class="method-name">%name%</span><br />
822
- IF:params
823
- START:params
824
- &nbsp;&nbsp;&nbsp;<span class="method-args">%name% => %value%</span><br />
825
- END:params
826
- ENDIF:params
827
- </div>
828
-
829
- <div class="method-description">
830
- IF:m_desc
831
- %m_desc%
832
- ENDIF:m_desc
833
- </div>
834
- </div>
835
- END:resource_list
836
-
837
- </div>
838
- ENDIF:resource_list
839
-
840
- END:sections
841
- }
842
-
843
- #####################################################################
844
- ### B O D Y T E M P L A T E
845
- #####################################################################
846
-
847
- BODY = HEADER + %(
848
-
849
- !INCLUDE! <!-- banner header -->
850
-
851
- <div id="bodyContent">
852
- ) + METHOD_LIST + %(
853
-
854
- </div>
855
- ) + FOOTER
856
-
857
- BODYINC = HEADER + %(
858
-
859
- !INCLUDE! <!-- banner header -->
860
-
861
- <div id="bodyContent">
862
-
863
- !INCLUDE!
864
-
865
- </div>
866
- ) + FOOTER
867
-
868
- #####################################################################
869
- ### S O U R C E C O D E T E M P L A T E
870
- #####################################################################
871
-
872
- SRC_PAGE = XHTML_PREAMBLE + %(
873
- <html>
874
- <head>
875
- <title>%title%</title>
876
- <meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
877
- <link rel="stylesheet" href="%style_url%" type="text/css" media="screen" />
878
- </head>
879
- <body class="standalone-code">
880
- <pre>%code%</pre>
881
- </body>
882
- </html>
883
- )
884
-
885
- #####################################################################
886
- ### I N D E X F I L E T E M P L A T E S
887
- #####################################################################
888
-
889
- FR_INDEX_BODY = %(
890
- !INCLUDE!
891
- )
892
-
893
- FILE_INDEX = XHTML_PREAMBLE + %(
894
- <!--
895
-
896
- %list_title%
897
-
898
- -->
899
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
900
- <head>
901
- <title>%list_title%</title>
902
- <meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
903
- <link rel="stylesheet" href="%style_url%" type="text/css" />
904
- <base target="docwin" />
905
- </head>
906
- <body>
907
- <div id="index">
908
- <h1 class="section-bar">%list_title%</h1>
909
- <div id="index-entries">
910
- START:entries
911
- <a href="%href%">%name%</a><br />
912
- END:entries
913
- </div>
914
- </div>
915
- </body>
916
- </html>
917
- )
918
-
919
- TOP_INDEX = XHTML_PREAMBLE + %{
920
- <!--
921
-
922
- %list_title%
923
-
924
- -->
925
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
926
- <head>
927
- <title>%list_title%</title>
928
- <meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
929
- <link rel="stylesheet" href="%style_url%" type="text/css" />
930
- <base target="classes" />
931
- <SCRIPT LANGUAGE="JavaScript">
932
- <!--
933
- function load(classlist,module) {
934
- parent.classes.location.href = classlist;
935
- parent.docwin.location.href = module;
936
- }
937
- //--></SCRIPT>
938
- </head>
939
- <body>
940
- <div id="index">
941
- <h1 class="section-bar">%list_title%</h1>
942
- <div id="index-entries">
943
- START:entries
944
- <a href="%classlist%" onclick="load('%classlist%','%module%'); return true;">%name%</a><br />
945
- END:entries
946
- </div>
947
- </div>
948
- </body>
949
- </html>
950
- }
951
-
952
- CLASS_INDEX = FILE_INDEX
953
- METHOD_INDEX = FILE_INDEX
954
-
955
- COMBO_INDEX = XHTML_PREAMBLE + %{
956
- <!--
957
-
958
- %classes_title% &amp; %defines_title%
959
-
960
- -->
961
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
962
- <head>
963
- <title>%classes_title% &amp; %defines_title%</title>
964
- <meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
965
- <link rel="stylesheet" href="../%style_url%" type="text/css" />
966
- <base target="docwin" />
967
- <SCRIPT LANGUAGE="JavaScript">
968
- <!--
969
- function load(url) {
970
- parent.docwin.location.href = url;
971
- }
972
- //--></SCRIPT>
973
-
974
- </head>
975
- <body>
976
- <div id="index">
977
-
978
- <a href="../fr_class_index.html" target="classes">All Classes</a><br />
979
-
980
-
981
- <h1 class="section-bar">Module</h1>
982
- <div id="index-entries">
983
- START:module
984
- <a href="%href%" onclick="load('%href%'); return true;">%name%</a><br />
985
- END:module
986
- </div>
987
- </div>
988
- <div id="index">
989
-
990
- IF:nodes
991
- <h1 class="section-bar">%nodes_title%</h1>
992
- <div id="index-entries">
993
- START:nodes
994
- <a href="%href%" onclick="load('%href%'); return true;">%name%</a><br />
995
- END:nodes
996
- </div>
997
- ENDIF:nodes
998
-
999
- IF:classes
1000
- <h1 class="section-bar">%classes_title%</h1>
1001
- <div id="index-entries">
1002
- START:classes
1003
- <a href="%href%" onclick="load('%href%'); return true;">%name%</a><br />
1004
- END:classes
1005
- </div>
1006
- ENDIF:classes
1007
-
1008
- IF:defines
1009
- <h1 class="section-bar">%defines_title%</h1>
1010
- <div id="index-entries">
1011
- START:defines
1012
- <a href="%href%" onclick="load('%href%'); return true;">%name%</a><br />
1013
- END:defines
1014
- </div>
1015
- ENDIF:defines
1016
-
1017
- IF:facts
1018
- <h1 class="section-bar">%facts_title%</h1>
1019
- <div id="index-entries">
1020
- START:facts
1021
- <a href="%href%" onclick="load('%href%'); return true;">%name%</a><br />
1022
- END:facts
1023
- </div>
1024
- ENDIF:facts
1025
-
1026
-
1027
- IF:plugins
1028
- <h1 class="section-bar">%plugins_title%</h1>
1029
- <div id="index-entries">
1030
- START:plugins
1031
- <a href="%href%" onclick="load('%href%'); return true;">%name%</a><br />
1032
- END:plugins
1033
- </div>
1034
- ENDIF:plugins
1035
-
1036
- </div>
1037
- </body>
1038
- </html>
1039
- }
1040
-
1041
- INDEX = %(<?xml version="1.0" encoding="%charset%"?>
1042
- <!DOCTYPE html
1043
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
1044
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
1045
-
1046
- <!--
1047
-
1048
- %title%
1049
-
1050
- -->
1051
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1052
- <head>
1053
- <title>%title%</title>
1054
- <meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
1055
- </head>
1056
- <frameset cols="20%, 80%">
1057
- <frameset rows="30%,70%">
1058
- <frame src="fr_modules_index.html" title="All Modules" />
1059
- <frame src="fr_class_index.html" name="classes" title="Classes & Defines" />
1060
- </frameset>
1061
- <frame src="%initial_page%" name="docwin" />
1062
- </frameset>
1063
- </html>
1064
- )
1065
- end # module Page
1066
- end # class RDoc
1067
-
1068
- require 'rdoc/generators/template/html/one_page_html'