readme_yard 0.4.0 → 0.5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -4
- data/README_YARD.md +3 -2
- data/docs/ReadmeYard/CodeTag.html +273 -0
- data/docs/ReadmeYard/CommentTag.html +418 -0
- data/docs/ReadmeYard/Error.html +217 -0
- data/docs/ReadmeYard/ExampleTag.html +382 -0
- data/docs/ReadmeYard/Logger.html +299 -0
- data/docs/ReadmeYard/ReadmeTag.html +281 -0
- data/docs/ReadmeYard/SourceTag.html +277 -0
- data/docs/ReadmeYard/StringTag.html +402 -0
- data/docs/ReadmeYard/TagRegistry.html +266 -0
- data/docs/ReadmeYard/ValueTag.html +286 -0
- data/docs/ReadmeYard/YardOptsManager.html +504 -0
- data/docs/ReadmeYard.html +746 -0
- data/docs/_index.html +243 -0
- data/docs/class_list.html +54 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +503 -0
- data/docs/file.README.html +405 -0
- data/docs/file_list.html +59 -0
- data/docs/frames.html +22 -0
- data/docs/index.html +405 -0
- data/docs/js/app.js +344 -0
- data/docs/js/full_list.js +242 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +358 -0
- data/docs/top-level-namespace.html +110 -0
- data/lib/readme_yard/string_tag.rb +7 -2
- data/lib/readme_yard/version.rb +2 -1
- data/lib/readme_yard.rb +0 -2
- data/readme_yard.gemspec +2 -1
- metadata +29 -2
@@ -0,0 +1,110 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Top Level Namespace
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.37
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "";
|
19
|
+
relpath = '';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="_index.html">Index</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">Top Level Namespace</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Top Level Namespace
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<h2>Defined Under Namespace</h2>
|
82
|
+
<p class="children">
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="ReadmeYard.html" title="ReadmeYard (class)">ReadmeYard</a></span>
|
88
|
+
|
89
|
+
|
90
|
+
</p>
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
<div id="footer">
|
103
|
+
Generated on Mon May 5 09:48:52 2025 by
|
104
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
|
+
0.9.37 (ruby-3.4.2).
|
106
|
+
</div>
|
107
|
+
|
108
|
+
</div>
|
109
|
+
</body>
|
110
|
+
</html>
|
@@ -39,8 +39,13 @@ class ReadmeYard
|
|
39
39
|
return normalize_value_for_heredoc(string_value) if string_value.strip.start_with?("<<~")
|
40
40
|
|
41
41
|
# Handle regular string format
|
42
|
-
string_value.
|
43
|
-
|
42
|
+
if string_value.start_with?('"')
|
43
|
+
string_value.delete_prefix!('"')
|
44
|
+
string_value.delete_suffix!('"')
|
45
|
+
elsif string_value.start_with?("'")
|
46
|
+
string_value.delete_prefix!("'")
|
47
|
+
string_value.delete_suffix!("'")
|
48
|
+
end
|
44
49
|
|
45
50
|
# Replace different line continuation patterns
|
46
51
|
# This handles patterns like: " \\\n" and \\\n"
|
data/lib/readme_yard/version.rb
CHANGED
data/lib/readme_yard.rb
CHANGED
@@ -37,8 +37,6 @@ YARD::Readme::DocstringParser.readme_tag_names = ReadmeYard::TagRegistry.tag_nam
|
|
37
37
|
# because the custom `{@readme ReadmeYard}` markdown tag is in
|
38
38
|
# README_YARD.md and `readme build` was run at the command line.
|
39
39
|
#
|
40
|
-
# Here's the [full documentation](https://rubydoc.info/github/mattruzicka/readme_yard).
|
41
|
-
#
|
42
40
|
class ReadmeYard
|
43
41
|
#
|
44
42
|
# @see #command_line_usage
|
data/readme_yard.gemspec
CHANGED
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
|
|
14
14
|
|
15
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
16
16
|
spec.metadata["source_code_uri"] = spec.homepage
|
17
|
-
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/
|
17
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
18
|
+
spec.metadata["documentation_uri"] = ReadmeYard::DOCS_URL
|
18
19
|
|
19
20
|
# Specify which files should be added to the gem when it is released.
|
20
21
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: readme_yard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Ruzicka
|
@@ -97,6 +97,32 @@ files:
|
|
97
97
|
- bin/console
|
98
98
|
- bin/readme
|
99
99
|
- bin/setup
|
100
|
+
- docs/ReadmeYard.html
|
101
|
+
- docs/ReadmeYard/CodeTag.html
|
102
|
+
- docs/ReadmeYard/CommentTag.html
|
103
|
+
- docs/ReadmeYard/Error.html
|
104
|
+
- docs/ReadmeYard/ExampleTag.html
|
105
|
+
- docs/ReadmeYard/Logger.html
|
106
|
+
- docs/ReadmeYard/ReadmeTag.html
|
107
|
+
- docs/ReadmeYard/SourceTag.html
|
108
|
+
- docs/ReadmeYard/StringTag.html
|
109
|
+
- docs/ReadmeYard/TagRegistry.html
|
110
|
+
- docs/ReadmeYard/ValueTag.html
|
111
|
+
- docs/ReadmeYard/YardOptsManager.html
|
112
|
+
- docs/_index.html
|
113
|
+
- docs/class_list.html
|
114
|
+
- docs/css/common.css
|
115
|
+
- docs/css/full_list.css
|
116
|
+
- docs/css/style.css
|
117
|
+
- docs/file.README.html
|
118
|
+
- docs/file_list.html
|
119
|
+
- docs/frames.html
|
120
|
+
- docs/index.html
|
121
|
+
- docs/js/app.js
|
122
|
+
- docs/js/full_list.js
|
123
|
+
- docs/js/jquery.js
|
124
|
+
- docs/method_list.html
|
125
|
+
- docs/top-level-namespace.html
|
100
126
|
- lib/readme_yard.rb
|
101
127
|
- lib/readme_yard/code_tag.rb
|
102
128
|
- lib/readme_yard/comment_tag.rb
|
@@ -117,7 +143,8 @@ licenses:
|
|
117
143
|
metadata:
|
118
144
|
homepage_uri: https://github.com/mattruzicka/readme_yard
|
119
145
|
source_code_uri: https://github.com/mattruzicka/readme_yard
|
120
|
-
changelog_uri: https://github.com/mattruzicka/readme_yard/blob/
|
146
|
+
changelog_uri: https://github.com/mattruzicka/readme_yard/blob/main/CHANGELOG.md
|
147
|
+
documentation_uri: https://mattruzicka.github.io/readme_yard/
|
121
148
|
rdoc_options: []
|
122
149
|
require_paths:
|
123
150
|
- lib
|