sdoc 2.3.2 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/rdoc/generator/template/rails/class.rhtml +3 -0
- data/lib/rdoc/generator/template/rails/file.rhtml +3 -0
- data/lib/rdoc/generator/template/rails/index.rhtml +3 -0
- data/lib/rdoc/generator/template/rails/resources/css/main.css +19 -0
- data/lib/rdoc/generator/template/rails/resources/css/panel.css +2 -3
- data/lib/sdoc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d7faa59345da609a45912c1e899fe96b8b6940cd87bd21a8a95910ec4d29d41
|
4
|
+
data.tar.gz: 50ba9e8545535e895266ceeacc0c4514ff99e74ffc01b7e0aa0b0884138bf9d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 455bacbd6d1eba074efd3838f89ac146782957ca8455bedcd2f8484329ae161d88fb3bdd706effc89bf41f5ff00eeb2a1ed004a67e6886b14765a2ab154bb87e
|
7
|
+
data.tar.gz: 55d089df446d8e51b70ad53c83ad4b2b3d5d6ed642beb02c1ecc18150bfdda1673fc9643e2a8a215c981ffdbe80972504d177887e8507e341c954c99c4119763
|
data/CHANGELOG.md
CHANGED
@@ -45,6 +45,9 @@
|
|
45
45
|
<li><a href="<%= "#{rel_prefix}/#{h file.path}" %>"><%= h file.absolute_name %></a></li>
|
46
46
|
<% end %>
|
47
47
|
</ul>
|
48
|
+
<% if ENV['HORO_BADGE_VERSION'] %>
|
49
|
+
<div id="version-badge"><%= ENV['HORO_BADGE_VERSION'] %></div>
|
50
|
+
<% end %>
|
48
51
|
</div>
|
49
52
|
|
50
53
|
<main id="bodyContent">
|
@@ -24,6 +24,9 @@
|
|
24
24
|
<li><%= h index.relative_name %></li>
|
25
25
|
<li>Last modified: <%= index.last_modified %></li>
|
26
26
|
</ul>
|
27
|
+
<% if ENV['HORO_BADGE_VERSION'] %>
|
28
|
+
<div id="version-badge"><%= ENV['HORO_BADGE_VERSION'] %></div>
|
29
|
+
<% end %>
|
27
30
|
</div>
|
28
31
|
|
29
32
|
<main id="bodyContent">
|
@@ -403,3 +403,22 @@ p code {
|
|
403
403
|
background: #fff;
|
404
404
|
font-size: 2rem;
|
405
405
|
}
|
406
|
+
|
407
|
+
#version-badge {
|
408
|
+
position: fixed;
|
409
|
+
right: 0;
|
410
|
+
top: 0;
|
411
|
+
z-index: 100;
|
412
|
+
color: white;
|
413
|
+
transform: rotate(45deg) translate(27.5%, -40%);
|
414
|
+
min-width: 200px;
|
415
|
+
font-family: Helvetica, Arial, sans-serif;
|
416
|
+
font-size: 30px;
|
417
|
+
font-weight: bold;
|
418
|
+
font-style: italic;
|
419
|
+
line-height: 1.5;
|
420
|
+
text-shadow: 2px 2px 4px #5400007d;
|
421
|
+
text-align: center;
|
422
|
+
box-shadow: 0px 2px 2px 1px #1209096e;
|
423
|
+
background: radial-gradient(circle, rgb(255, 10, 0) 0%, rgb(200, 0, 0) 90%);
|
424
|
+
}
|
@@ -12,8 +12,7 @@
|
|
12
12
|
top: 0;
|
13
13
|
background: #000;
|
14
14
|
color: #fff;
|
15
|
-
padding
|
16
|
-
text-align: right;
|
15
|
+
padding: 0 10px;
|
17
16
|
line-height: 40px;
|
18
17
|
cursor: pointer;
|
19
18
|
z-index: 2;
|
@@ -84,7 +83,7 @@
|
|
84
83
|
width: 300px;
|
85
84
|
height: 100%;
|
86
85
|
background: #FFF;
|
87
|
-
z-index:
|
86
|
+
z-index: 200;
|
88
87
|
font-family: "Helvetica Neue", "Arial", sans-serif;
|
89
88
|
overflow-x: hidden;
|
90
89
|
border-right: 1px #ccc solid;
|
data/lib/sdoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Kolesnikov
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-
|
14
|
+
date: 2022-05-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rdoc
|