11 Commits

Author SHA1 Message Date
Jean Boussier
e2f1f7c567 [Doc] Encourage use of encoding constants
Lots of documentation examples still use encoding APIs with encoding names
rather than encoding constants. I think it would be preferable to direct
users toward constants as it can help with auto-completion, static analysis
and such.
2025-01-12 11:48:01 +01:00
David Rodríguez
cde065c32c
Clarify documentation for encoding of String.new without arguments
[Bug #21025]
2025-01-10 17:36:51 -05:00
Nobuyoshi Nakada
e433e6515e
[DOC] Exclude 'Class' and 'Module' from RDoc's autolinking 2025-01-02 12:36:06 +09:00
Nobuyoshi Nakada
b4ec22fe6c
[DOC] Exclude 'Method' from RDoc's autolinking 2025-01-02 12:23:49 +09:00
Alexander Ross
41e6fd066e
[DOC] Fix typo in example code for String#encode method
The example code in the documentation for the `String#encode` method has
a typo in the `fallback` option. The example code uses `h` as the
fallback option, but it should use `hash` instead to match the variable
name in the example code.
2024-05-14 08:22:36 +00:00
Nobuyoshi Nakada
19a7a7660c
[DOC] Adjust heading levels
So that the first headings would be the top-most headings.
2023-11-14 15:56:58 +09:00
Herwin
7f6c0efac7 Fix hyperlink for Script Encoding 2023-09-13 13:37:12 -04:00
Kevin Newton
d49a92d036 [ruby/yarp] Move fuzz docs into docs/ directory, reference in README
https://github.com/ruby/yarp/commit/97547b6192
2023-06-30 18:31:49 +00:00
Burdette Lamar
6528cf9fcf
[DOC] Fixes for link fragments (#7981) 2023-06-28 09:05:43 -04:00
Alan Wu
bba2bfc975 [DOC] encodings.rdoc: universal_newline reacts to \r
It wasn't clear that the mode also translates "\r" to "\n".
2022-12-22 13:10:22 -05:00
Burdette Lamar
81741690a0
[DOC] Main doc for encodings moved from encoding.c to doc/encodings.rdoc (#5748)
Main doc for encodings moved from encoding.c to doc/encodings.rdoc
2022-04-01 20:41:04 -05:00