rdoc 6.16.1 → 7.1.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/CONTRIBUTING.md +196 -0
- data/LEGAL.rdoc +6 -0
- data/README.md +90 -7
- data/doc/markup_reference/markdown.md +558 -0
- data/doc/markup_reference/rdoc.rdoc +1169 -0
- data/lib/rdoc/code_object/any_method.rb +15 -7
- data/lib/rdoc/code_object/class_module.rb +62 -11
- data/lib/rdoc/code_object/constant.rb +9 -0
- data/lib/rdoc/code_object/context/section.rb +20 -1
- data/lib/rdoc/code_object/method_attr.rb +13 -1
- data/lib/rdoc/code_object/top_level.rb +13 -1
- data/lib/rdoc/cross_reference.rb +30 -21
- data/lib/rdoc/generator/aliki.rb +141 -0
- data/lib/rdoc/generator/darkfish.rb +8 -2
- data/lib/rdoc/generator/template/aliki/_footer.rhtml +1 -1
- data/lib/rdoc/generator/template/aliki/_head.rhtml +4 -4
- data/lib/rdoc/generator/template/aliki/_header.rhtml +4 -4
- data/lib/rdoc/generator/template/aliki/_icons.rhtml +208 -0
- data/lib/rdoc/generator/template/aliki/_sidebar_ancestors.rhtml +12 -2
- data/lib/rdoc/generator/template/aliki/_sidebar_classes.rhtml +12 -2
- data/lib/rdoc/generator/template/aliki/_sidebar_extends.rhtml +20 -10
- data/lib/rdoc/generator/template/aliki/_sidebar_includes.rhtml +20 -10
- data/lib/rdoc/generator/template/aliki/_sidebar_methods.rhtml +32 -12
- data/lib/rdoc/generator/template/aliki/_sidebar_pages.rhtml +58 -28
- data/lib/rdoc/generator/template/aliki/_sidebar_search.rhtml +3 -3
- data/lib/rdoc/generator/template/aliki/_sidebar_sections.rhtml +16 -6
- data/lib/rdoc/generator/template/aliki/class.rhtml +13 -12
- data/lib/rdoc/generator/template/aliki/css/rdoc.css +401 -50
- data/lib/rdoc/generator/template/aliki/index.rhtml +2 -1
- data/lib/rdoc/generator/template/aliki/js/aliki.js +43 -21
- data/lib/rdoc/generator/template/aliki/js/c_highlighter.js +1 -1
- data/lib/rdoc/generator/template/aliki/js/{search.js → search_controller.js} +15 -6
- data/lib/rdoc/generator/template/aliki/js/search_navigation.js +105 -0
- data/lib/rdoc/generator/template/aliki/js/search_ranker.js +239 -0
- data/lib/rdoc/generator/template/aliki/page.rhtml +2 -1
- data/lib/rdoc/generator/template/aliki/servlet_not_found.rhtml +1 -1
- data/lib/rdoc/generator/template/aliki/servlet_root.rhtml +1 -1
- data/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +1 -1
- data/lib/rdoc/generator/template/darkfish/class.rhtml +11 -11
- data/lib/rdoc/generator/template/darkfish/css/rdoc.css +19 -0
- data/lib/rdoc/markdown.kpeg +1 -5
- data/lib/rdoc/markdown.rb +1 -5
- data/lib/rdoc/markup/attribute_manager.rb +28 -1
- data/lib/rdoc/markup/blank_line.rb +25 -23
- data/lib/rdoc/markup/element.rb +21 -0
- data/lib/rdoc/markup/hard_break.rb +30 -27
- data/lib/rdoc/markup/heading.rb +166 -77
- data/lib/rdoc/markup/raw.rb +52 -55
- data/lib/rdoc/markup/table.rb +48 -40
- data/lib/rdoc/markup/to_ansi.rb +4 -0
- data/lib/rdoc/markup/to_bs.rb +4 -0
- data/lib/rdoc/markup/to_html.rb +31 -11
- data/lib/rdoc/markup/to_html_crossref.rb +24 -5
- data/lib/rdoc/markup/to_label.rb +11 -1
- data/lib/rdoc/markup/to_rdoc.rb +11 -3
- data/lib/rdoc/markup/verbatim.rb +1 -1
- data/lib/rdoc/markup.rb +3 -2
- data/lib/rdoc/options.rb +1 -1
- data/lib/rdoc/parser/changelog.rb +8 -0
- data/lib/rdoc/rubygems_hook.rb +3 -3
- data/lib/rdoc/text.rb +15 -0
- data/lib/rdoc/token_stream.rb +4 -8
- data/lib/rdoc/version.rb +1 -1
- data/rdoc.gemspec +3 -3
- metadata +12 -10
- data/CONTRIBUTING.rdoc +0 -219
- data/ExampleMarkdown.md +0 -39
- data/ExampleRDoc.rdoc +0 -210
data/lib/rdoc/markup/to_ansi.rb
CHANGED
data/lib/rdoc/markup/to_bs.rb
CHANGED
data/lib/rdoc/markup/to_html.rb
CHANGED
|
@@ -221,10 +221,15 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
|
|
|
221
221
|
|
|
222
222
|
def accept_verbatim(verbatim)
|
|
223
223
|
text = verbatim.text.rstrip
|
|
224
|
+
format = verbatim.format
|
|
224
225
|
|
|
225
226
|
klass = nil
|
|
226
227
|
|
|
227
|
-
|
|
228
|
+
# Apply Ruby syntax highlighting if
|
|
229
|
+
# - explicitly marked as Ruby (via ruby? which accepts :ruby or :rb)
|
|
230
|
+
# - no format specified but the text is parseable as Ruby
|
|
231
|
+
# Otherwise, add language class when applicable and skip Ruby highlighting
|
|
232
|
+
content = if verbatim.ruby? || (format.nil? && parseable?(text))
|
|
228
233
|
begin
|
|
229
234
|
tokens = RDoc::Parser::RipperStateLex.parse text
|
|
230
235
|
klass = ' class="ruby"'
|
|
@@ -236,6 +241,7 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
|
|
|
236
241
|
CGI.escapeHTML text
|
|
237
242
|
end
|
|
238
243
|
else
|
|
244
|
+
klass = " class=\"#{format}\"" if format
|
|
239
245
|
CGI.escapeHTML text
|
|
240
246
|
end
|
|
241
247
|
|
|
@@ -306,6 +312,13 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
|
|
|
306
312
|
level = [6, heading.level].min
|
|
307
313
|
|
|
308
314
|
label = heading.label @code_object
|
|
315
|
+
legacy_label = heading.legacy_label @code_object
|
|
316
|
+
|
|
317
|
+
# Add legacy anchor before the heading for backward compatibility.
|
|
318
|
+
# This allows old links with label- prefix to still work.
|
|
319
|
+
if @options.output_decoration && !@options.pipe
|
|
320
|
+
@res << "\n<span id=\"#{legacy_label}\" class=\"legacy-anchor\"></span>"
|
|
321
|
+
end
|
|
309
322
|
|
|
310
323
|
@res << if @options.output_decoration
|
|
311
324
|
"\n<h#{level} id=\"#{label}\">"
|
|
@@ -362,14 +375,18 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
|
|
|
362
375
|
end
|
|
363
376
|
|
|
364
377
|
##
|
|
365
|
-
#
|
|
366
|
-
#
|
|
378
|
+
# Generates an HTML link or image tag for the given +url+ and +text+.
|
|
379
|
+
#
|
|
380
|
+
# - Image URLs (http/https/link ending in .gif, .png, .jpg, .jpeg, .bmp)
|
|
381
|
+
# become <img> tags
|
|
382
|
+
# - File references (.rb, .rdoc, .md) are converted to .html paths
|
|
383
|
+
# - Anchor URLs (#foo) pass through unchanged for GitHub-style header linking
|
|
384
|
+
# - Footnote links get wrapped in <sup> tags
|
|
367
385
|
|
|
368
386
|
def gen_url(url, text)
|
|
369
387
|
scheme, url, id = parse_url url
|
|
370
388
|
|
|
371
|
-
if %w[http https link].include?(scheme)
|
|
372
|
-
url =~ /\.(gif|png|jpg|jpeg|bmp)$/ then
|
|
389
|
+
if %w[http https link].include?(scheme) && url =~ /\.(gif|png|jpg|jpeg|bmp)\z/
|
|
373
390
|
"<img src=\"#{url}\" />"
|
|
374
391
|
else
|
|
375
392
|
if scheme != 'link' and %r%\A((?!https?:)(?:[^/#]*/)*+)([^/#]+)\.(rb|rdoc|md)(?=\z|#)%i =~ url
|
|
@@ -381,9 +398,11 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
|
|
|
381
398
|
|
|
382
399
|
link = "<a#{id} href=\"#{url}\">#{text}</a>"
|
|
383
400
|
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
401
|
+
if /"foot/.match?(id)
|
|
402
|
+
"<sup>#{link}</sup>"
|
|
403
|
+
else
|
|
404
|
+
link
|
|
405
|
+
end
|
|
387
406
|
end
|
|
388
407
|
end
|
|
389
408
|
|
|
@@ -400,9 +419,10 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
|
|
|
400
419
|
# Maps attributes to HTML tags
|
|
401
420
|
|
|
402
421
|
def init_tags
|
|
403
|
-
add_tag :BOLD,
|
|
404
|
-
add_tag :TT,
|
|
405
|
-
add_tag :EM,
|
|
422
|
+
add_tag :BOLD, "<strong>", "</strong>"
|
|
423
|
+
add_tag :TT, "<code>", "</code>"
|
|
424
|
+
add_tag :EM, "<em>", "</em>"
|
|
425
|
+
add_tag :STRIKE, "<del>", "</del>"
|
|
406
426
|
end
|
|
407
427
|
|
|
408
428
|
##
|
|
@@ -169,14 +169,33 @@ class RDoc::Markup::ToHtmlCrossref < RDoc::Markup::ToHtml
|
|
|
169
169
|
end
|
|
170
170
|
|
|
171
171
|
if label
|
|
172
|
+
# Convert label to GitHub-style anchor format
|
|
173
|
+
# First convert + to space (URL encoding), then apply GitHub-style rules
|
|
174
|
+
formatted_label = RDoc::Text.to_anchor(label.tr('+', ' '))
|
|
175
|
+
|
|
176
|
+
# Case 1: Path already has an anchor (e.g., method link)
|
|
177
|
+
# Input: C1#method@label -> path="C1.html#method-i-m"
|
|
178
|
+
# Output: C1.html#method-i-m-label
|
|
172
179
|
if path =~ /#/
|
|
173
|
-
path << "
|
|
174
|
-
|
|
175
|
-
|
|
180
|
+
path << "-#{formatted_label}"
|
|
181
|
+
|
|
182
|
+
# Case 2: Label matches a section title
|
|
183
|
+
# Input: C1@Section -> path="C1.html", section "Section" exists
|
|
184
|
+
# Output: C1.html#section (uses section.aref for GitHub-style)
|
|
185
|
+
elsif (section = ref&.sections&.find { |s| label.tr('+', ' ') == s.title })
|
|
186
|
+
path << "##{section.aref}"
|
|
187
|
+
|
|
188
|
+
# Case 3: Ref has an aref (class/module context)
|
|
189
|
+
# Input: C1@heading -> path="C1.html", ref=C1 class
|
|
190
|
+
# Output: C1.html#class-c1-heading
|
|
176
191
|
elsif ref.respond_to?(:aref)
|
|
177
|
-
path << "##{ref.aref}
|
|
192
|
+
path << "##{ref.aref}-#{formatted_label}"
|
|
193
|
+
|
|
194
|
+
# Case 4: No context, just the label (e.g., TopLevel/file)
|
|
195
|
+
# Input: README@section -> path="README_md.html"
|
|
196
|
+
# Output: README_md.html#section
|
|
178
197
|
else
|
|
179
|
-
path << "
|
|
198
|
+
path << "##{formatted_label}"
|
|
180
199
|
end
|
|
181
200
|
end
|
|
182
201
|
|
data/lib/rdoc/markup/to_label.rb
CHANGED
|
@@ -28,11 +28,21 @@ class RDoc::Markup::ToLabel < RDoc::Markup::Formatter
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
##
|
|
31
|
-
# Converts +text+ to an HTML-safe label
|
|
31
|
+
# Converts +text+ to an HTML-safe label using GitHub-style anchor formatting.
|
|
32
32
|
|
|
33
33
|
def convert(text)
|
|
34
34
|
label = convert_flow @am.flow text
|
|
35
35
|
|
|
36
|
+
RDoc::Text.to_anchor(label)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
##
|
|
40
|
+
# Converts +text+ to an HTML-safe label using legacy RDoc formatting.
|
|
41
|
+
# Used for generating backward-compatible anchor aliases.
|
|
42
|
+
|
|
43
|
+
def convert_legacy(text)
|
|
44
|
+
label = convert_flow @am.flow text
|
|
45
|
+
|
|
36
46
|
CGI.escape(label).gsub('%', '-').sub(/^-/, '')
|
|
37
47
|
end
|
|
38
48
|
|
data/lib/rdoc/markup/to_rdoc.rb
CHANGED
|
@@ -250,8 +250,10 @@ class RDoc::Markup::ToRdoc < RDoc::Markup::Formatter
|
|
|
250
250
|
# Adds +table+ to the output
|
|
251
251
|
|
|
252
252
|
def accept_table(header, body, aligns)
|
|
253
|
+
header = header.map { |h| attributes h }
|
|
254
|
+
body = body.map { |row| row.map { |t| attributes t } }
|
|
253
255
|
widths = header.zip(*body).map do |cols|
|
|
254
|
-
cols.map(
|
|
256
|
+
cols.map { |col| calculate_text_width(col) }.max
|
|
255
257
|
end
|
|
256
258
|
aligns = aligns.map do |a|
|
|
257
259
|
case a
|
|
@@ -264,16 +266,22 @@ class RDoc::Markup::ToRdoc < RDoc::Markup::Formatter
|
|
|
264
266
|
end
|
|
265
267
|
end
|
|
266
268
|
@res << header.zip(widths, aligns).map do |h, w, a|
|
|
267
|
-
h.
|
|
269
|
+
extra_width = h.size - calculate_text_width(h)
|
|
270
|
+
h.__send__(a, w + extra_width)
|
|
268
271
|
end.join("|").rstrip << "\n"
|
|
269
272
|
@res << widths.map {|w| "-" * w }.join("|") << "\n"
|
|
270
273
|
body.each do |row|
|
|
271
274
|
@res << row.zip(widths, aligns).map do |t, w, a|
|
|
272
|
-
t.
|
|
275
|
+
extra_width = t.size - calculate_text_width(t)
|
|
276
|
+
t.__send__(a, w + extra_width)
|
|
273
277
|
end.join("|").rstrip << "\n"
|
|
274
278
|
end
|
|
275
279
|
end
|
|
276
280
|
|
|
281
|
+
def calculate_text_width(text)
|
|
282
|
+
text.size
|
|
283
|
+
end
|
|
284
|
+
|
|
277
285
|
##
|
|
278
286
|
# Applies attribute-specific markup to +text+ using RDoc::AttributeManager
|
|
279
287
|
|
data/lib/rdoc/markup/verbatim.rb
CHANGED
data/lib/rdoc/markup.rb
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
#
|
|
17
17
|
# - +rdoc+:
|
|
18
18
|
# the +RDoc+ markup format;
|
|
19
|
-
# see RDoc
|
|
19
|
+
# see {RDoc Markup Reference}[rdoc-ref:doc/markup_reference/rdoc.rdoc]
|
|
20
20
|
# - +markdown+:
|
|
21
21
|
# The +markdown+ markup format as described in
|
|
22
22
|
# the {Markdown Guide}[https://www.markdownguide.org];
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
#
|
|
103
103
|
# = \RDoc Markup Reference
|
|
104
104
|
#
|
|
105
|
-
# See RDoc
|
|
105
|
+
# See {RDoc Markup Reference}[rdoc-ref:doc/markup_reference/rdoc.rdoc]
|
|
106
106
|
#
|
|
107
107
|
#--
|
|
108
108
|
# Original Author:: Dave Thomas, dave@pragmaticprogrammer.com
|
|
@@ -210,6 +210,7 @@ https://github.com/ruby/rdoc/issues
|
|
|
210
210
|
autoload :BlankLine, "#{__dir__}/markup/blank_line"
|
|
211
211
|
autoload :BlockQuote, "#{__dir__}/markup/block_quote"
|
|
212
212
|
autoload :Document, "#{__dir__}/markup/document"
|
|
213
|
+
autoload :Element, "#{__dir__}/markup/element"
|
|
213
214
|
autoload :HardBreak, "#{__dir__}/markup/hard_break"
|
|
214
215
|
autoload :Heading, "#{__dir__}/markup/heading"
|
|
215
216
|
autoload :Include, "#{__dir__}/markup/include"
|
data/lib/rdoc/options.rb
CHANGED
|
@@ -293,6 +293,10 @@ class RDoc::Parser::ChangeLog < RDoc::Parser
|
|
|
293
293
|
end
|
|
294
294
|
|
|
295
295
|
def aref
|
|
296
|
+
commit
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
def legacy_aref
|
|
296
300
|
"label-#{commit}"
|
|
297
301
|
end
|
|
298
302
|
|
|
@@ -300,6 +304,10 @@ class RDoc::Parser::ChangeLog < RDoc::Parser
|
|
|
300
304
|
aref
|
|
301
305
|
end
|
|
302
306
|
|
|
307
|
+
def legacy_label(context = nil)
|
|
308
|
+
legacy_aref
|
|
309
|
+
end
|
|
310
|
+
|
|
303
311
|
def text
|
|
304
312
|
case base
|
|
305
313
|
when nil
|
data/lib/rdoc/rubygems_hook.rb
CHANGED
|
@@ -118,7 +118,7 @@ class RDoc::RubyGemsHook
|
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
##
|
|
121
|
-
# Generates documentation using the named +generator+ ("
|
|
121
|
+
# Generates documentation using the named +generator+ ("aliki" or "ri")
|
|
122
122
|
# and following the given +options+.
|
|
123
123
|
#
|
|
124
124
|
# Documentation will be generated into +destination+
|
|
@@ -190,7 +190,7 @@ class RDoc::RubyGemsHook
|
|
|
190
190
|
|
|
191
191
|
Dir.chdir @spec.full_gem_path do
|
|
192
192
|
# RDoc::Options#finish must be called before parse_files.
|
|
193
|
-
# RDoc::Options#finish is also called after ri/
|
|
193
|
+
# RDoc::Options#finish is also called after ri/aliki generator setup.
|
|
194
194
|
# We need to dup the options to avoid modifying it after finish is called.
|
|
195
195
|
parse_options = options.dup
|
|
196
196
|
parse_options.finish
|
|
@@ -202,7 +202,7 @@ class RDoc::RubyGemsHook
|
|
|
202
202
|
document 'ri', options, @ri_dir if
|
|
203
203
|
@generate_ri and (@force or not File.exist? @ri_dir)
|
|
204
204
|
|
|
205
|
-
document '
|
|
205
|
+
document 'aliki', options, @rdoc_dir if
|
|
206
206
|
@generate_rdoc and (@force or not File.exist? @rdoc_dir)
|
|
207
207
|
end
|
|
208
208
|
|
data/lib/rdoc/text.rb
CHANGED
|
@@ -319,4 +319,19 @@ module RDoc::Text
|
|
|
319
319
|
|
|
320
320
|
SPACE_SEPARATED_LETTER_CLASS = /[\p{Nd}\p{Lc}\p{Pc}]|[!-~&&\W]/
|
|
321
321
|
|
|
322
|
+
##
|
|
323
|
+
# Converts +text+ to a GitHub-style anchor ID:
|
|
324
|
+
# - Lowercase
|
|
325
|
+
# - Remove characters that aren't alphanumeric, space, or hyphen
|
|
326
|
+
# - Replace spaces with hyphens
|
|
327
|
+
#
|
|
328
|
+
# Examples:
|
|
329
|
+
# "Hello World" -> "hello-world"
|
|
330
|
+
# "Foo::Bar" -> "foobar"
|
|
331
|
+
# "What's New?" -> "whats-new"
|
|
332
|
+
|
|
333
|
+
module_function def to_anchor(text)
|
|
334
|
+
text.downcase.gsub(/[^a-z0-9 \-]/, '').gsub(' ', '-')
|
|
335
|
+
end
|
|
336
|
+
|
|
322
337
|
end
|
data/lib/rdoc/token_stream.rb
CHANGED
|
@@ -45,13 +45,7 @@ module RDoc::TokenStream
|
|
|
45
45
|
then 'ruby-identifier'
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
if :on_comment == t[:kind] or :on_embdoc == t[:kind] or :on_heredoc_end == t[:kind]
|
|
50
|
-
comment_with_nl = true if "\n" == t[:text][-1]
|
|
51
|
-
text = t[:text].rstrip
|
|
52
|
-
else
|
|
53
|
-
text = t[:text]
|
|
54
|
-
end
|
|
48
|
+
text = t[:text]
|
|
55
49
|
|
|
56
50
|
if :on_ident == t[:kind] && starting_title
|
|
57
51
|
starting_title = false
|
|
@@ -65,7 +59,9 @@ module RDoc::TokenStream
|
|
|
65
59
|
text = CGI.escapeHTML text
|
|
66
60
|
|
|
67
61
|
if style then
|
|
68
|
-
|
|
62
|
+
end_with_newline = text.end_with?("\n")
|
|
63
|
+
text = text.chomp if end_with_newline
|
|
64
|
+
"<span class=\"#{style}\">#{text}</span>#{"\n" if end_with_newline}"
|
|
69
65
|
else
|
|
70
66
|
text
|
|
71
67
|
end
|
data/lib/rdoc/version.rb
CHANGED
data/rdoc.gemspec
CHANGED
|
@@ -38,10 +38,10 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
|
|
|
38
38
|
# for ruby core repository. It was generated by
|
|
39
39
|
# `git ls-files -z`.split("\x0").each {|f| puts " #{f.dump}," unless f.start_with?(*%W[test/ spec/ features/ .]) }
|
|
40
40
|
non_lib_files = [
|
|
41
|
-
"CONTRIBUTING.
|
|
41
|
+
"CONTRIBUTING.md",
|
|
42
42
|
"CVE-2013-0256.rdoc",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
43
|
+
"doc/markup_reference/markdown.md",
|
|
44
|
+
"doc/markup_reference/rdoc.rdoc",
|
|
45
45
|
"History.rdoc",
|
|
46
46
|
"LEGAL.rdoc",
|
|
47
47
|
"LICENSE.rdoc",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rdoc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 7.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Hodel
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
- ITOYANAGI Sakura
|
|
14
14
|
bindir: exe
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date:
|
|
16
|
+
date: 2026-01-13 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: psych
|
|
@@ -73,10 +73,8 @@ executables:
|
|
|
73
73
|
- ri
|
|
74
74
|
extensions: []
|
|
75
75
|
extra_rdoc_files:
|
|
76
|
-
- CONTRIBUTING.
|
|
76
|
+
- CONTRIBUTING.md
|
|
77
77
|
- CVE-2013-0256.rdoc
|
|
78
|
-
- ExampleMarkdown.md
|
|
79
|
-
- ExampleRDoc.rdoc
|
|
80
78
|
- History.rdoc
|
|
81
79
|
- LEGAL.rdoc
|
|
82
80
|
- LICENSE.rdoc
|
|
@@ -84,16 +82,16 @@ extra_rdoc_files:
|
|
|
84
82
|
- RI.md
|
|
85
83
|
- TODO.rdoc
|
|
86
84
|
files:
|
|
87
|
-
- CONTRIBUTING.
|
|
85
|
+
- CONTRIBUTING.md
|
|
88
86
|
- CVE-2013-0256.rdoc
|
|
89
|
-
- ExampleMarkdown.md
|
|
90
|
-
- ExampleRDoc.rdoc
|
|
91
87
|
- History.rdoc
|
|
92
88
|
- LEGAL.rdoc
|
|
93
89
|
- LICENSE.rdoc
|
|
94
90
|
- README.md
|
|
95
91
|
- RI.md
|
|
96
92
|
- TODO.rdoc
|
|
93
|
+
- doc/markup_reference/markdown.md
|
|
94
|
+
- doc/markup_reference/rdoc.rdoc
|
|
97
95
|
- exe/rdoc
|
|
98
96
|
- exe/ri
|
|
99
97
|
- lib/rdoc.rb
|
|
@@ -137,6 +135,7 @@ files:
|
|
|
137
135
|
- lib/rdoc/generator/template/aliki/_footer.rhtml
|
|
138
136
|
- lib/rdoc/generator/template/aliki/_head.rhtml
|
|
139
137
|
- lib/rdoc/generator/template/aliki/_header.rhtml
|
|
138
|
+
- lib/rdoc/generator/template/aliki/_icons.rhtml
|
|
140
139
|
- lib/rdoc/generator/template/aliki/_sidebar_ancestors.rhtml
|
|
141
140
|
- lib/rdoc/generator/template/aliki/_sidebar_classes.rhtml
|
|
142
141
|
- lib/rdoc/generator/template/aliki/_sidebar_extends.rhtml
|
|
@@ -152,7 +151,9 @@ files:
|
|
|
152
151
|
- lib/rdoc/generator/template/aliki/index.rhtml
|
|
153
152
|
- lib/rdoc/generator/template/aliki/js/aliki.js
|
|
154
153
|
- lib/rdoc/generator/template/aliki/js/c_highlighter.js
|
|
155
|
-
- lib/rdoc/generator/template/aliki/js/
|
|
154
|
+
- lib/rdoc/generator/template/aliki/js/search_controller.js
|
|
155
|
+
- lib/rdoc/generator/template/aliki/js/search_navigation.js
|
|
156
|
+
- lib/rdoc/generator/template/aliki/js/search_ranker.js
|
|
156
157
|
- lib/rdoc/generator/template/aliki/js/theme-toggle.js
|
|
157
158
|
- lib/rdoc/generator/template/aliki/page.rhtml
|
|
158
159
|
- lib/rdoc/generator/template/aliki/servlet_not_found.rhtml
|
|
@@ -231,6 +232,7 @@ files:
|
|
|
231
232
|
- lib/rdoc/markup/blank_line.rb
|
|
232
233
|
- lib/rdoc/markup/block_quote.rb
|
|
233
234
|
- lib/rdoc/markup/document.rb
|
|
235
|
+
- lib/rdoc/markup/element.rb
|
|
234
236
|
- lib/rdoc/markup/formatter.rb
|
|
235
237
|
- lib/rdoc/markup/hard_break.rb
|
|
236
238
|
- lib/rdoc/markup/heading.rb
|
|
@@ -321,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
321
323
|
- !ruby/object:Gem::Version
|
|
322
324
|
version: '2.2'
|
|
323
325
|
requirements: []
|
|
324
|
-
rubygems_version:
|
|
326
|
+
rubygems_version: 4.0.3
|
|
325
327
|
specification_version: 4
|
|
326
328
|
summary: RDoc produces HTML and command-line documentation for Ruby projects
|
|
327
329
|
test_files: []
|