ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:101968] Fwd: [ruby/ruby] More on RDoc formatting (#4027)
       [not found] <ruby/ruby/pull/4027/review/562066045@github.com>
@ 2021-01-06 23:40 ` Martin J. Dürst
  0 siblings, 0 replies; only message in thread
From: Martin J. Dürst @ 2021-01-06 23:40 UTC (permalink / raw)
  To: Ruby developers

[Forwarding to ruby-core because I didn't find the text I want to 
comment on on Github anymore.]

If the links are too intrusive visually, we should change the styling 
(via CSS), not the markup.

Regards,   Martin.


-------- Forwarded Message --------
Subject: Re: [ruby/ruby] More on RDoc formatting (#4027)
Date: Wed, 06 Jan 2021 03:06:11 -0800
From: Burdette Lamar <notifications@github.com>
Reply-To: ruby/ruby 
<reply+AAGHDTN4SHG6SYQDKAD457F6AF5KHEVBNHHC45ATKU@reply.github.com>
To: ruby/ruby <ruby@noreply.github.com>
CC: Subscribed <subscribed@noreply.github.com>

@BurdetteLamar commented on this pull request.



> +Alignment may sometimes aid readability.
+
+=== Lists
+
+A list should be preceded and followed by a blank line.
+This is unnecessary for the HTML output, but helps in the ri output.
+
+=== Auto-Links
+
+Consider whether an auto-link (e.g., to +Array+)
+should be suppressed (<tt>\Array</tt>) or allowed (Array).
+
+It's usually best to suppress when local;
+that is, in the documentation for class \Array, suppress auto-links to 
the class itself.
+
+For an "off-class" reference, the decision to suppress or not may 
depend on context.

I'd like to hear more from others about this.  I find that the link 
(with its change of font and background color) to be intrusive, and so 
have generally suppressed.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-06 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ruby/ruby/pull/4027/review/562066045@github.com>
2021-01-06 23:40 ` [ruby-core:101968] Fwd: [ruby/ruby] More on RDoc formatting (#4027) Martin J. Dürst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).