yard 0.9.41 → 0.9.42
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/docs/Parser.md +17 -42
- data/lib/yard/server/commands/base.rb +1 -1
- data/lib/yard/server/templates/default/fulldoc/html/css/custom.css +168 -88
- data/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +202 -207
- data/lib/yard/version.rb +1 -1
- data/templates/default/fulldoc/html/css/common.css +1 -1
- data/templates/default/fulldoc/html/css/full_list.css +201 -53
- data/templates/default/fulldoc/html/css/style.css +980 -412
- data/templates/default/fulldoc/html/js/app.js +800 -639
- data/templates/default/fulldoc/html/js/full_list.js +333 -371
- data/templates/default/layout/html/layout.erb +2 -1
- data/templates/guide/fulldoc/html/css/style.css +347 -97
- data/templates/guide/fulldoc/html/js/app.js +61 -64
- data/templates/guide/layout/html/layout.erb +67 -68
- metadata +2 -2
|
@@ -2,78 +2,77 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<%= erb(:headers) %>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
<script type="text/javascript">
|
|
6
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
7
|
+
Array.prototype.forEach.call(document.querySelectorAll('.object_link'), function(node) {
|
|
8
|
+
var link = node.querySelector('a');
|
|
9
|
+
if (link) node.innerHTML = link.innerHTML;
|
|
10
|
+
});
|
|
11
|
+
generateTOC();
|
|
12
|
+
if (document.querySelectorAll('#toc li').length === 0) {
|
|
13
|
+
document.querySelector('#sidebar h2.toc').style.display = 'none';
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
<div id="top_nav">
|
|
20
|
+
<div id="inner_nav">
|
|
21
|
+
<% if options.readme != options.file && options.title %>
|
|
22
|
+
<span class="title"><strong><%= options.title %></strong>: <%= @page_title %></span>
|
|
23
|
+
<small class="links">
|
|
24
|
+
<% links = [@prevfile ? link_file(@prevfile, '←') : nil,
|
|
25
25
|
link_file('index.html', '↑'),
|
|
26
26
|
@nextfile ? link_file(@nextfile, '→') : nil].compact %>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
<div style="clear:both"></div>
|
|
27
|
+
<%= links.join(" ") %>
|
|
28
|
+
</small>
|
|
29
|
+
<% end %>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div id="page">
|
|
33
|
+
<div id="sidebar">
|
|
34
|
+
<h2 class="toc">Table Of Contents</h2>
|
|
35
|
+
<div id="toc"></div>
|
|
36
|
+
<% if options.readme != options.file %>
|
|
37
|
+
<h2>Related Topics</h2>
|
|
38
|
+
<div id="links">
|
|
39
|
+
<ol class="top">
|
|
40
|
+
<% if options.readme %>
|
|
41
|
+
<li><%= link_file("index.html", "Documentation Overview") %></li>
|
|
42
|
+
<% end %>
|
|
43
|
+
<ol>
|
|
44
|
+
<% if @prevfile %>
|
|
45
|
+
<li>
|
|
46
|
+
<strong>Previous:</strong>
|
|
47
|
+
<%= link_file(@prevfile) %>
|
|
48
|
+
</li>
|
|
49
|
+
<% end %>
|
|
50
|
+
<% if @nextfile %>
|
|
51
|
+
<li>
|
|
52
|
+
<strong>Next:</strong>
|
|
53
|
+
<%= link_file(@nextfile) %>
|
|
54
|
+
</li>
|
|
55
|
+
<% end %>
|
|
56
|
+
</ol>
|
|
57
|
+
</ol>
|
|
58
|
+
</div>
|
|
59
|
+
<% else %>
|
|
60
|
+
<h2>List of Topics</h2>
|
|
61
|
+
<div id="links">
|
|
62
|
+
<ol class="top">
|
|
63
|
+
<li><a href="#">Documentation Overview</a></li>
|
|
64
|
+
<ol>
|
|
65
|
+
<% options.files.each do |file| %>
|
|
66
|
+
<li><%= link_file(file.filename, file.title) %></li>
|
|
67
|
+
<% end %>
|
|
68
|
+
</ol>
|
|
69
|
+
</ol>
|
|
70
|
+
</div>
|
|
71
|
+
<% end %>
|
|
72
|
+
</div>
|
|
73
|
+
<div id="content"><%= yieldall %></div>
|
|
74
|
+
</div>
|
|
75
|
+
<div style="clear:both"></div>
|
|
77
76
|
<%= erb(:footer) %>
|
|
78
77
|
</body>
|
|
79
78
|
</html>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.42
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Loren Segal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |2
|
|
14
14
|
YARD is a documentation generation tool for the Ruby programming language.
|