5 Commits
Author SHA1 Message Date
BurdetteLamar f8eed58469 [DOC] Fix links in String 2026-02-06 18:35:02 -05:00
BurdetteLamar 38d24294ac [DOC] Multibyte chars Japanese only 2025-12-27 10:59:23 -05:00
BurdetteLamar 99b915944f [DOC] Russian strings should look Russian 2025-12-18 17:47:18 -05:00
Burdette Lamar c351c3d065 [DOC] Tweaks for String#bytes 2025-06-24 12:28:17 -04:00
Burdette Lamar c129b6119d [DOC] Use RDoc inclusions in string.c (#5683)
As @peterzhu2118 and @duerst have pointed out, putting string method's RDoc into doc/ (which allows non-ASCII in examples) makes the "click to toggle source" feature not work for that method.

This PR moves the primary method doc back into string.c, then includes RDoc from doc/string/*.rdoc, and also removes doc/string.rdoc.

The affected methods are:

    ::new
    #bytes
    #each_byte
    #each_line
    #split

The call-seq is in string.c because it works there; it did not work when the call-seq is in doc/string/*.rdoc.

This PR also updates the relevant guidance in doc/documentation_guide.rdoc.
2022-03-21 14:58:00 -05:00