Bug #19290
closedDocumentation: "produces:" (introducing terminal output) is wrongly formatted in few places
Description
warning.rb¶
Problem: The text "produces:" is embedded in formatted text, it should be normal emphasized text.
view here: https://ruby-doc.org/3.2.0/Kernel.html , 2 times after: "If warnings have been disabled"
source:
https://github.com/ruby/ruby/blob/master/warning.rb#L18
https://github.com/ruby/ruby/blob/master/warning.rb#L38
Fix: in both cases, remove one space character just before <em>produces:</em>
  #  <em>produces:</em>
shall be:
  # <em>produces:</em>
signal.c¶
Problem: the text "produces:" is not emphasized like others.
view here: https://ruby-doc.org/3.2.0/Kernel.html after: "special signal name"
view here: https://ruby-doc.org/3.2.0/Signal.html
source:
https://github.com/ruby/ruby/blob/master/signal.c#L1386
https://github.com/ruby/ruby/blob/master/signal.c#L1538
Fix: surround with <em> and </em>, and add a line after the line: (2 places)
* produces:
shall be:
* <em>produces:</em>
*
        
           Updated by laurent_martin (Laurent Martin) almost 3 years ago
          Updated by laurent_martin (Laurent Martin) almost 3 years ago
          
          
        
        
      
      gc.c¶
problem: formating not consistent with other source files:
source: https://github.com/ruby/ruby/blob/master/gc.c#L14423
Fix:
 *  _produces:_
replaced with:
 *  <em>produces:</em>
        
           Updated by nobu (Nobuyoshi Nakada) almost 3 years ago
          Updated by nobu (Nobuyoshi Nakada) almost 3 years ago
          
          
        
        
      
      - Status changed from Open to Closed
Applied in changeset git|f527a0911d5ff0476152a3e3c9bcd2247ead5636.
[DOC] [Bug #19290] fix formatting