ruby/lib/rdoc
nicholas a. evans dd43af3be7 [ruby/rdoc] Use distinct styles for note lists and label lists
(https://github.com/ruby/rdoc/pull/1209)

* Use the original `label` description list style

As a default for all description lists, the original "label" style is
more readable.

This is slightly different from the original `label` dl though:
* slightly increased left margin for `dd` (to 1em)
* removed right margin on `dd`
* removed `dt` bottom margin and `dd` top margin, to reduce the gap
  between the term and its description (to only the standard line-height
  gap).

* Add closing tags for description list terms

Without the closing tags, the dt elements contain whitespace after the
text.  This normally isn't a big deal, but does mess some things up,
e.g: using `::after` with `content: ", "` in stylesheets.

* Restore float:left style for note lists

Unlike the original note list styles, this version sets the line-height
for all `dt` elements to be the same as the `p` elements contained
inside the `dd`, so that the second line has the same indentation as all
subsequent lines.

* Add commas between note list terms

9e69ea6d75
2024-12-08 10:43:47 +00:00
..
code_object [ruby/rdoc] Prefer String#ord to #codepoints[0] 2024-12-02 22:08:03 +00:00
generator [ruby/rdoc] Use distinct styles for note lists and label lists 2024-12-08 10:43:47 +00:00
i18n
markdown [ruby/rdoc] [DOC] Add missing documents 2023-12-16 00:26:37 +09:00
markup [ruby/rdoc] Use distinct styles for note lists and label lists 2024-12-08 10:43:47 +00:00
parser [ruby/rdoc] Deprecate main and title directives 2024-12-05 11:36:34 +00:00
rd Generate parsers of RDoc with Racc 1.8.1 2024-08-21 13:30:01 +09:00
ri [ruby/rdoc] Abort with error message if --dump argument invalid 2024-05-30 00:09:22 +00:00
stats [ruby/rdoc] Auto-correct trailing new lines 2023-06-03 01:42:29 +00:00
.document
code_object.rb [ruby/rdoc] feature: Render mixed-in methods and constants with 2024-10-17 20:40:34 +00:00
code_objects.rb
comment.rb [DOC] Link fixes 2023-10-03 16:31:34 +09:00
cross_reference.rb [ruby/rdoc] [DOC] Add missing documents 2023-12-16 00:26:37 +09:00
encoding.rb [ruby/rdoc] Remove unused method RDoc::Encoding.remove_frozen_string_literal 2023-12-16 00:25:51 +09:00
erb_partial.rb [ruby/rdoc] Auto-correct trailing new lines 2023-06-03 01:42:29 +00:00
erbio.rb [ruby/rdoc] Remove code for versions older than Ruby 2.6 2023-09-05 01:14:52 +00:00
generator.rb
i18n.rb
known_classes.rb [ruby/rdoc] Fix the known classes more 2022-07-11 13:43:14 +09:00
markdown.rb Require space between hash/content in ATX heading (#1140) 2024-07-18 09:40:01 +09:00
markup.rb [ruby/rdoc] [DOC] Mods about markup formats 2024-07-29 13:16:18 +00:00
options.rb [ruby/rdoc] feature: Render mixed-in methods and constants with 2024-10-17 20:40:34 +00:00
parser.rb [ruby/rdoc] Drop unnecessary file_name parameter from Parser.for 2024-07-31 14:36:41 +00:00
rd.rb
rdoc.gemspec [ruby/rdoc] Improve how gemspec's files are defined 2024-11-28 12:18:11 +00:00
rdoc.rb [ruby/rdoc] Deprecate main and title directives 2024-12-05 11:36:34 +00:00
ri.rb
rubygems_hook.rb
servlet.rb
stats.rb
store.rb Reapply "[ruby/rdoc] fix: C variables should never show up in Ancestors tree" 2024-12-03 10:59:32 +09:00
task.rb [ruby/rdoc] [DOC] Mods about markup formats 2024-07-29 13:16:18 +00:00
text.rb [ruby/rdoc] [DOC] Add missing documents 2023-12-16 00:26:37 +09:00
token_stream.rb [ruby/rdoc] Early return when token_stream is nil 2023-12-05 06:21:52 +00:00
tom_doc.rb [ruby/rdoc] [DOC] Mods about markup formats 2024-07-29 13:16:18 +00:00
version.rb [ruby/rdoc] Bump version to v6.8.1 2024-11-19 11:51:56 +00:00