gerbil 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +2 -1
- data/Rakefile +1 -1
- data/bin/gerbil +53 -22
- data/doc/api/created.rid +1 -1
- data/doc/api/files/lib/gerbil/html_rb.html +1 -1
- data/doc/api/files/lib/gerbil/rdoc_rb.html +1 -1
- data/doc/api/files/lib/gerbil_rb.html +2 -2
- data/doc/guide.erb +48 -60
- data/doc/guide.html +536 -551
- data/fmt/html.yaml +45 -15
- data/lib/gerbil.rb +2 -2
- metadata +2 -2
data/fmt/html.yaml
CHANGED
@@ -134,16 +134,23 @@ nodes:
|
|
134
134
|
silent: true
|
135
135
|
output: <%= @node.content.to_html %>
|
136
136
|
|
137
|
-
header_outside_above:
|
138
|
-
|
139
|
-
|
140
|
-
|
137
|
+
header_outside_above: &header_insert
|
138
|
+
toc: false
|
139
|
+
lof: false
|
140
|
+
index: false
|
141
|
+
number: false
|
142
|
+
silent: true
|
143
|
+
output: <div class="<%= @node.type %>"><%= @node.content.to_html %></div>
|
144
|
+
|
145
|
+
header_inside_above: *header_insert
|
146
|
+
header_inside_below: *header_insert
|
147
|
+
header_outside_below: *header_insert
|
141
148
|
|
142
149
|
footer: *header
|
143
|
-
footer_outside_above: *
|
144
|
-
footer_inside_above: *
|
145
|
-
footer_inside_below: *
|
146
|
-
footer_outside_below: *
|
150
|
+
footer_outside_above: *header_insert
|
151
|
+
footer_inside_above: *header_insert
|
152
|
+
footer_inside_below: *header_insert
|
153
|
+
footer_outside_below: *header_insert
|
147
154
|
|
148
155
|
abstract:
|
149
156
|
toc: false
|
@@ -385,9 +392,7 @@ output: |
|
|
385
392
|
</div>
|
386
393
|
<%= node = @types['header_outside_below'].first and node.output %>
|
387
394
|
|
388
|
-
|
389
|
-
<%= abstract.output %>
|
390
|
-
<% end %>
|
395
|
+
<%= node = @types['abstract'].first and node.output %>
|
391
396
|
|
392
397
|
<% # table of contents
|
393
398
|
builder = lambda do |n|
|
@@ -593,10 +598,35 @@ styles:
|
|
593
598
|
|
594
599
|
#header
|
595
600
|
{
|
596
|
-
margin-bottom : 5em;
|
597
601
|
text-align : center;
|
598
602
|
}
|
599
603
|
|
604
|
+
.header_outside_above,
|
605
|
+
#header,
|
606
|
+
.header_outside_below
|
607
|
+
{
|
608
|
+
margin-bottom : 5em;
|
609
|
+
}
|
610
|
+
|
611
|
+
.footer_outside_above,
|
612
|
+
#footer,
|
613
|
+
.footer_outside_below
|
614
|
+
{
|
615
|
+
margin-top : 5em;
|
616
|
+
}
|
617
|
+
|
618
|
+
#header .header_inside_above,
|
619
|
+
#footer .footer_inside_above
|
620
|
+
{
|
621
|
+
margin-bottom : 4em;
|
622
|
+
}
|
623
|
+
|
624
|
+
#header .header_inside_below,
|
625
|
+
#footer .footer_inside_below
|
626
|
+
{
|
627
|
+
margin-top : 4em;
|
628
|
+
}
|
629
|
+
|
600
630
|
#abstract
|
601
631
|
{
|
602
632
|
margin-bottom : 5em;
|
@@ -633,7 +663,6 @@ styles:
|
|
633
663
|
{
|
634
664
|
border-top : thick dotted #DCDCDC;
|
635
665
|
padding-top : 1em;
|
636
|
-
margin-top : 5em;
|
637
666
|
text-align : center;
|
638
667
|
}
|
639
668
|
|
@@ -768,8 +797,9 @@ styles:
|
|
768
797
|
|
769
798
|
hr
|
770
799
|
{
|
771
|
-
|
772
|
-
|
800
|
+
height : 0;
|
801
|
+
border : 0;
|
802
|
+
border-top : 2px solid #FF0000;
|
773
803
|
}
|
774
804
|
|
775
805
|
/* source code */
|
data/lib/gerbil.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gerbil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors: []
|
7
7
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-06-01 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|