sdoc 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/{sdoc → rdoc}/generator/template/merge/index.rhtml +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/_context.rhtml +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/_head.rhtml +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/class.rhtml +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/file.rhtml +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/index.rhtml +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/apple-touch-icon.png +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/css/github.css +0 -0
- data/lib/rdoc/generator/template/rails/resources/css/main.css +287 -0
- data/lib/rdoc/generator/template/rails/resources/css/panel.css +383 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/css/reset.css +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/favicon.ico +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/i/arrows.png +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/i/results_bg.png +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/i/tree_bg.png +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/js/highlight.pack.js +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/js/jquery-1.3.2.min.js +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/js/jquery-effect.js +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/js/main.js +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/js/searchdoc.js +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/panel/index.html +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/se_index.rhtml +0 -0
- data/lib/rdoc/generator/template/sdoc/_context.rhtml +171 -0
- data/lib/rdoc/generator/template/sdoc/_head.rhtml +7 -0
- data/lib/rdoc/generator/template/sdoc/class.rhtml +39 -0
- data/lib/rdoc/generator/template/sdoc/file.rhtml +29 -0
- data/lib/rdoc/generator/template/sdoc/index.rhtml +13 -0
- data/lib/rdoc/generator/template/sdoc/resources/apple-touch-icon.png +0 -0
- data/lib/rdoc/generator/template/sdoc/resources/css/github.css +129 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/sdoc}/resources/css/main.css +0 -0
- data/lib/{sdoc/generator/template/direct → rdoc/generator/template/sdoc}/resources/css/panel.css +0 -0
- data/lib/rdoc/generator/template/sdoc/resources/css/reset.css +53 -0
- data/lib/rdoc/generator/template/sdoc/resources/favicon.ico +0 -0
- data/lib/rdoc/generator/template/sdoc/resources/i/arrows.png +0 -0
- data/lib/rdoc/generator/template/sdoc/resources/i/results_bg.png +0 -0
- data/lib/rdoc/generator/template/sdoc/resources/i/tree_bg.png +0 -0
- data/lib/rdoc/generator/template/sdoc/resources/js/highlight.pack.js +1 -0
- data/lib/rdoc/generator/template/sdoc/resources/js/jquery-1.3.2.min.js +19 -0
- data/lib/rdoc/generator/template/sdoc/resources/js/jquery-effect.js +593 -0
- data/lib/rdoc/generator/template/sdoc/resources/js/main.js +24 -0
- data/lib/rdoc/generator/template/sdoc/resources/js/searchdoc.js +628 -0
- data/lib/rdoc/generator/template/sdoc/resources/panel/index.html +72 -0
- data/lib/rdoc/generator/template/sdoc/se_index.rhtml +8 -0
- data/lib/sdoc/generator.rb +3 -20
- data/lib/sdoc/templatable.rb +2 -1
- data/sdoc.gemspec +1 -1
- metadata +46 -25
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/css/reset.css
RENAMED
File without changes
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/favicon.ico
RENAMED
File without changes
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/i/arrows.png
RENAMED
File without changes
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/i/results_bg.png
RENAMED
File without changes
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/i/tree_bg.png
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/js/main.js
RENAMED
File without changes
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/js/searchdoc.js
RENAMED
File without changes
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/rails}/resources/panel/index.html
RENAMED
File without changes
|
File without changes
|
@@ -0,0 +1,171 @@
|
|
1
|
+
<div id="content">
|
2
|
+
<% unless (desc = context.description).empty? %>
|
3
|
+
<div class="description">
|
4
|
+
<%= desc %>
|
5
|
+
</div>
|
6
|
+
<% end %>
|
7
|
+
|
8
|
+
<% unless context.requires.empty? %>
|
9
|
+
<div class="sectiontitle">Required Files</div>
|
10
|
+
<ul>
|
11
|
+
<% context.requires.each do |req| %>
|
12
|
+
<li><%= h req.name %></li>
|
13
|
+
<% end %>
|
14
|
+
</ul>
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
<% sections = context.sections.select { |section| section.title } %>
|
18
|
+
<% unless sections.empty? %>
|
19
|
+
<div class="sectiontitle">Contents</div>
|
20
|
+
<ul>
|
21
|
+
<% sections.each do |section| %>
|
22
|
+
<li><a href="#<%= section.sequence %>"><%= h section.title %></a></li>
|
23
|
+
<% end %>
|
24
|
+
</ul>
|
25
|
+
<% end %>
|
26
|
+
|
27
|
+
<%
|
28
|
+
list = context.method_list
|
29
|
+
list = list.find_all {|m| m.visibility == :public || m.visibility == :protected || m.force_documentation }
|
30
|
+
%>
|
31
|
+
<% unless list.empty? %>
|
32
|
+
<div class="sectiontitle">Methods</div>
|
33
|
+
<dl class="methods">
|
34
|
+
<% each_letter_group(list) do |group| %>
|
35
|
+
<dt><%= group[:name] %></dt>
|
36
|
+
<dd>
|
37
|
+
<ul>
|
38
|
+
<% group[:methods].each_with_index do |method, i| %>
|
39
|
+
<li><a href="#<%= method.aref %>"><%= method.name %></a><%= ',' unless group[:methods].size == i+1 %></li>
|
40
|
+
<% end %>
|
41
|
+
</ul>
|
42
|
+
</dd>
|
43
|
+
<% end %>
|
44
|
+
</dl>
|
45
|
+
<% end %>
|
46
|
+
|
47
|
+
<% unless context.includes.empty? %>
|
48
|
+
<div class="sectiontitle">Included Modules</div>
|
49
|
+
<ul>
|
50
|
+
<% context.includes.each do |inc| %>
|
51
|
+
<li>
|
52
|
+
<% unless String === inc.module %>
|
53
|
+
<a href="<%= context.aref_to inc.module.path %>"><%= h inc.module.full_name %></a>
|
54
|
+
<% else %>
|
55
|
+
<span><%= h inc.name %></span>
|
56
|
+
<% end %>
|
57
|
+
START:includes
|
58
|
+
</li>
|
59
|
+
<% end %>
|
60
|
+
</ul>
|
61
|
+
<% end %>
|
62
|
+
|
63
|
+
<% sections.each do |section| %>
|
64
|
+
<div class="sectiontitle"><a name="<%= h section.sequence %>"><%= h section.title %></a></div>
|
65
|
+
<% unless (description = section.description).empty? %>
|
66
|
+
<div class="description">
|
67
|
+
<%= description %>
|
68
|
+
</div>
|
69
|
+
<% end %>
|
70
|
+
<% end %>
|
71
|
+
|
72
|
+
<% unless context.classes_and_modules.empty? %>
|
73
|
+
<div class="sectiontitle">Classes and Modules</div>
|
74
|
+
<ul>
|
75
|
+
<% (context.modules.sort + context.classes.sort).each do |mod| %>
|
76
|
+
<li><span class="type"><%= mod.type.upcase %></span> <a href="<%= context.aref_to mod.path %>"><%= mod.full_name %></a></li>
|
77
|
+
<% end %>
|
78
|
+
</ul>
|
79
|
+
<% end %>
|
80
|
+
|
81
|
+
<% unless context.constants.empty? %>
|
82
|
+
<div class="sectiontitle">Constants</div>
|
83
|
+
<table border='0' cellpadding='5'>
|
84
|
+
<% context.each_constant do |const| %>
|
85
|
+
<tr valign='top'>
|
86
|
+
<td class="attr-name"><%= h const.name %></td>
|
87
|
+
<td>=</td>
|
88
|
+
<td class="attr-value"><%= h const.value %></td>
|
89
|
+
</tr>
|
90
|
+
<% unless (description = const.description).empty? %>
|
91
|
+
<tr valign='top'>
|
92
|
+
<td> </td>
|
93
|
+
<td colspan="2" class="attr-desc"><%= description %></td>
|
94
|
+
</tr>
|
95
|
+
<% end %>
|
96
|
+
<% end %>
|
97
|
+
</table>
|
98
|
+
<% end %>
|
99
|
+
|
100
|
+
<% unless context.attributes.empty? %>
|
101
|
+
<div class="sectiontitle">Attributes</div>
|
102
|
+
<table border='0' cellpadding='5'>
|
103
|
+
<% context.each_attribute do |attrib| %>
|
104
|
+
<tr valign='top'>
|
105
|
+
<td class='attr-rw'>
|
106
|
+
[<%= attrib.rw %>]
|
107
|
+
</td>
|
108
|
+
<td class='attr-name'><%= h attrib.name %></td>
|
109
|
+
<td class='attr-desc'><%= attrib.description.strip %></td>
|
110
|
+
</tr>
|
111
|
+
<% end %>
|
112
|
+
</table>
|
113
|
+
<% end %>
|
114
|
+
|
115
|
+
<% context.methods_by_type.each do |type, visibilities|
|
116
|
+
next if visibilities.empty?
|
117
|
+
visibilities.each do |visibility, methods|
|
118
|
+
next if methods.empty?
|
119
|
+
next unless visibility == :public || visibility == :protected || methods.any? {|m| m.force_documentation }
|
120
|
+
%>
|
121
|
+
<div class="sectiontitle"><%= type.capitalize %> <%= visibility.to_s.capitalize %> methods</div>
|
122
|
+
<% methods.each do |method| %>
|
123
|
+
<div class="method">
|
124
|
+
<div class="title" id="<%= method.aref %>">
|
125
|
+
<% if method.call_seq %>
|
126
|
+
<a name="<%= method.aref %>"></a><b><%= method.call_seq.gsub(/->/, '→') %></b>
|
127
|
+
<% else %>
|
128
|
+
<a name="<%= method.aref %>"></a><b><%= h method.name %></b><%= h method.params %>
|
129
|
+
<% end %>
|
130
|
+
</div>
|
131
|
+
<% unless (description = method.description).empty? %>
|
132
|
+
<div class="description">
|
133
|
+
<%= description %>
|
134
|
+
</div>
|
135
|
+
<% end %>
|
136
|
+
<% unless method.aliases.empty? %>
|
137
|
+
<div class="aka">
|
138
|
+
This method is also aliased as
|
139
|
+
<% method.aliases.each do |aka| %>
|
140
|
+
<a href="<%= context.aref_to aka.path %>"><%= h aka.name %></a>
|
141
|
+
<% end %>
|
142
|
+
</div>
|
143
|
+
<% end %>
|
144
|
+
<% if method.token_stream %>
|
145
|
+
<% markup = method.markup_code %>
|
146
|
+
<div class="sourcecode">
|
147
|
+
<p class="source-link">
|
148
|
+
Source: <a href="javascript:toggleSource('<%= method.aref %>_source')" id="l_<%= method.aref %>_source">show</a>
|
149
|
+
<%
|
150
|
+
if options.github
|
151
|
+
if markup =~ /File\s(\S+), line (\d+)/
|
152
|
+
path = $1
|
153
|
+
line = $2.to_i
|
154
|
+
end
|
155
|
+
github = github_url(path)
|
156
|
+
if github
|
157
|
+
%>
|
158
|
+
| <a href="<%= "#{github}#L#{line}" %>" target="_blank" class="github_url">on GitHub</a>
|
159
|
+
<% end end %>
|
160
|
+
</p>
|
161
|
+
<div id="<%= method.aref %>_source" class="dyn-source x">
|
162
|
+
<pre><%= method.markup_code %></pre>
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
<% end %>
|
166
|
+
</div>
|
167
|
+
<% end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
%>
|
171
|
+
</div>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<link rel="stylesheet" href="<%= "#{rel_prefix}/css/reset.css" %>" type="text/css" media="screen" />
|
2
|
+
<link rel="stylesheet" href="<%= "#{rel_prefix}/css/main.css" %>" type="text/css" media="screen" />
|
3
|
+
<link rel="stylesheet" href="<%= "#{rel_prefix}/css/github.css" %>" type="text/css" media="screen" />
|
4
|
+
<script src="<%= "#{rel_prefix}/js/jquery-1.3.2.min.js" %>" type="text/javascript" charset="utf-8"></script>
|
5
|
+
<script src="<%= "#{rel_prefix}/js/jquery-effect.js" %>" type="text/javascript" charset="utf-8"></script>
|
6
|
+
<script src="<%= "#{rel_prefix}/js/main.js" %>" type="text/javascript" charset="utf-8"></script>
|
7
|
+
<script src="<%= "#{rel_prefix}/js/highlight.pack.js" %>" type="text/javascript" charset="utf-8"></script>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<title><%= h klass.full_name %></title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
|
8
|
+
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %>
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body>
|
12
|
+
<div class="banner">
|
13
|
+
<% if ENV['HORO_PROJECT_NAME'] %>
|
14
|
+
<span><%= ERB::Util.html_escape(ENV['HORO_PROJECT_NAME']) %> <%= ERB::Util.html_escape(ENV['HORO_PROJECT_VERSION']) %></span><br />
|
15
|
+
<% end %>
|
16
|
+
<h1>
|
17
|
+
<span class="type"><%= klass.module? ? 'Module' : 'Class' %></span>
|
18
|
+
<%= h klass.full_name %>
|
19
|
+
<% if klass.type == 'class' %>
|
20
|
+
<span class="parent"><
|
21
|
+
<% if String === klass.superclass %>
|
22
|
+
<%= klass.superclass %>
|
23
|
+
<% elsif !klass.superclass.nil? %>
|
24
|
+
<a href="<%= klass.aref_to klass.superclass.path %>"><%= h klass.superclass.full_name %></a>
|
25
|
+
<% end %>
|
26
|
+
</span>
|
27
|
+
<% end %>
|
28
|
+
</h1>
|
29
|
+
<ul class="files">
|
30
|
+
<% klass.in_files.each do |file| %>
|
31
|
+
<li><a href="<%= "#{rel_prefix}/#{h file.path}" %>"><%= h file.absolute_name %></a></li>
|
32
|
+
<% end %>
|
33
|
+
</ul>
|
34
|
+
</div>
|
35
|
+
<div id="bodyContent">
|
36
|
+
<%= include_template '_context.rhtml', {:context => klass, :rel_prefix => rel_prefix} %>
|
37
|
+
</div>
|
38
|
+
</body>
|
39
|
+
</html>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<title><%= h file.name %></title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
|
8
|
+
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %>
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body>
|
12
|
+
<div class="banner">
|
13
|
+
<% if ENV['HORO_PROJECT_NAME'] %>
|
14
|
+
<span><%= ERB::Util.html_escape(ENV['HORO_PROJECT_NAME']) %> <%= ERB::Util.html_escape(ENV['HORO_PROJECT_VERSION']) %></span><br />
|
15
|
+
<% end %>
|
16
|
+
<h1>
|
17
|
+
<%= h file.name %>
|
18
|
+
</h1>
|
19
|
+
<ul class="files">
|
20
|
+
<li><%= h file.relative_name %></li>
|
21
|
+
<li>Last modified: <%= file.file_stat.mtime %></li>
|
22
|
+
</ul>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div id="bodyContent">
|
26
|
+
<%= include_template '_context.rhtml', {:context => file, :rel_prefix => rel_prefix} %>
|
27
|
+
</div>
|
28
|
+
</body>
|
29
|
+
</html>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!DOCTYPE html
|
2
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
|
7
|
+
<title><%= @options.title %></title>
|
8
|
+
</head>
|
9
|
+
<frameset cols="300,*" frameborder="1" border="1" bordercolor="#666666" framespacing="1">
|
10
|
+
<frame src="panel/index.html" title="Search" name="panel" />
|
11
|
+
<frame src="<%= index_path %>" name="docwin" />
|
12
|
+
</frameset>
|
13
|
+
</html>
|
Binary file
|
@@ -0,0 +1,129 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
pre code {
|
8
|
+
display: block; padding: 0.5em;
|
9
|
+
color: #000;
|
10
|
+
background: #f8f8ff
|
11
|
+
}
|
12
|
+
|
13
|
+
pre .comment,
|
14
|
+
pre .template_comment,
|
15
|
+
pre .diff .header,
|
16
|
+
pre .javadoc {
|
17
|
+
color: #998;
|
18
|
+
font-style: italic
|
19
|
+
}
|
20
|
+
|
21
|
+
pre .keyword,
|
22
|
+
pre .css .rule .keyword,
|
23
|
+
pre .winutils,
|
24
|
+
pre .javascript .title,
|
25
|
+
pre .lisp .title,
|
26
|
+
pre .subst {
|
27
|
+
color: #000;
|
28
|
+
font-weight: bold
|
29
|
+
}
|
30
|
+
|
31
|
+
pre .number,
|
32
|
+
pre .hexcolor {
|
33
|
+
color: #40a070
|
34
|
+
}
|
35
|
+
|
36
|
+
pre .string,
|
37
|
+
pre .tag .value,
|
38
|
+
pre .phpdoc,
|
39
|
+
pre .tex .formula {
|
40
|
+
color: #d14
|
41
|
+
}
|
42
|
+
|
43
|
+
pre .title,
|
44
|
+
pre .id {
|
45
|
+
color: #900;
|
46
|
+
font-weight: bold
|
47
|
+
}
|
48
|
+
|
49
|
+
pre .javascript .title,
|
50
|
+
pre .lisp .title,
|
51
|
+
pre .subst {
|
52
|
+
font-weight: normal
|
53
|
+
}
|
54
|
+
|
55
|
+
pre .class .title,
|
56
|
+
pre .haskell .label,
|
57
|
+
pre .tex .command {
|
58
|
+
color: #458;
|
59
|
+
font-weight: bold
|
60
|
+
}
|
61
|
+
|
62
|
+
pre .tag,
|
63
|
+
pre .tag .title,
|
64
|
+
pre .rules .property,
|
65
|
+
pre .django .tag .keyword {
|
66
|
+
color: #000080;
|
67
|
+
font-weight: normal
|
68
|
+
}
|
69
|
+
|
70
|
+
pre .attribute,
|
71
|
+
pre .variable,
|
72
|
+
pre .instancevar,
|
73
|
+
pre .lisp .body {
|
74
|
+
color: #008080
|
75
|
+
}
|
76
|
+
|
77
|
+
pre .regexp {
|
78
|
+
color: #009926
|
79
|
+
}
|
80
|
+
|
81
|
+
pre .class {
|
82
|
+
color: #458;
|
83
|
+
font-weight: bold
|
84
|
+
}
|
85
|
+
|
86
|
+
pre .symbol,
|
87
|
+
pre .ruby .symbol .string,
|
88
|
+
pre .ruby .symbol .keyword,
|
89
|
+
pre .ruby .symbol .keymethods,
|
90
|
+
pre .lisp .keyword,
|
91
|
+
pre .tex .special,
|
92
|
+
pre .input_number {
|
93
|
+
color: #990073
|
94
|
+
}
|
95
|
+
|
96
|
+
pre .builtin,
|
97
|
+
pre .built_in,
|
98
|
+
pre .lisp .title {
|
99
|
+
color: #0086b3
|
100
|
+
}
|
101
|
+
|
102
|
+
pre .preprocessor,
|
103
|
+
pre .pi,
|
104
|
+
pre .doctype,
|
105
|
+
pre .shebang,
|
106
|
+
pre .cdata {
|
107
|
+
color: #999;
|
108
|
+
font-weight: bold
|
109
|
+
}
|
110
|
+
|
111
|
+
pre .deletion {
|
112
|
+
background: #fdd
|
113
|
+
}
|
114
|
+
|
115
|
+
pre .addition {
|
116
|
+
background: #dfd
|
117
|
+
}
|
118
|
+
|
119
|
+
pre .diff .change {
|
120
|
+
background: #0086b3
|
121
|
+
}
|
122
|
+
|
123
|
+
pre .chunk {
|
124
|
+
color: #aaa
|
125
|
+
}
|
126
|
+
|
127
|
+
pre .tex .formula {
|
128
|
+
opacity: 0.5;
|
129
|
+
}
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/sdoc}/resources/css/main.css
RENAMED
File without changes
|
data/lib/{sdoc/generator/template/direct → rdoc/generator/template/sdoc}/resources/css/panel.css
RENAMED
File without changes
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/* http://meyerweb.com/eric/tools/css/reset/ */
|
2
|
+
/* v1.0 | 20080212 */
|
3
|
+
|
4
|
+
html, body, div, span, applet, object, iframe,
|
5
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
6
|
+
a, abbr, acronym, address, big, cite, code,
|
7
|
+
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
8
|
+
small, strike, strong, sub, sup, tt, var,
|
9
|
+
b, u, i, center,
|
10
|
+
dl, dt, dd, ol, ul, li,
|
11
|
+
fieldset, form, label, legend,
|
12
|
+
table, caption, tbody, tfoot, thead, tr, th, td {
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
border: 0;
|
16
|
+
outline: 0;
|
17
|
+
font-size: 100%;
|
18
|
+
vertical-align: baseline;
|
19
|
+
background: transparent;
|
20
|
+
}
|
21
|
+
body {
|
22
|
+
line-height: 1;
|
23
|
+
}
|
24
|
+
ol, ul {
|
25
|
+
list-style: none;
|
26
|
+
}
|
27
|
+
blockquote, q {
|
28
|
+
quotes: none;
|
29
|
+
}
|
30
|
+
blockquote:before, blockquote:after,
|
31
|
+
q:before, q:after {
|
32
|
+
content: '';
|
33
|
+
content: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* remember to define focus styles! */
|
37
|
+
:focus {
|
38
|
+
outline: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* remember to highlight inserts somehow! */
|
42
|
+
ins {
|
43
|
+
text-decoration: none;
|
44
|
+
}
|
45
|
+
del {
|
46
|
+
text-decoration: line-through;
|
47
|
+
}
|
48
|
+
|
49
|
+
/* tables still need 'cellspacing="0"' in the markup */
|
50
|
+
table {
|
51
|
+
border-collapse: collapse;
|
52
|
+
border-spacing: 0;
|
53
|
+
}
|