This commit is contained in:
Burdette Lamar 2024-02-12 14:01:46 -06:00 коммит произвёл GitHub
Родитель 84d8dbe7a5
Коммит 4f1a466522
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 7 добавлений и 13 удалений

Просмотреть файл

@ -173,23 +173,17 @@ Code that is a simple string should include the quote marks.
In general, \RDoc's auto-linking should not be suppressed. In general, \RDoc's auto-linking should not be suppressed.
For example, we should write `Array`, not `\Array`. For example, we should write `Array`, not `\Array`.
We might consider whether to suppress when: However, suppress when the word in question:
- The word in question does not refer to a Ruby entity - Does not refer to a Ruby entity
(e.g., some uses of _Class_ or _English_). (e.g., some uses of _Class_ or _English_).
- The reference is to the current class document - Refers to the current document
(e.g., _Array_ in the documentation for class `Array`). (e.g., _Array_ in the documentation for class `Array`);
- The same reference is repeated many times in that case, the word should be forced to
(e.g., _RDoc_ on this page). [monofont](rdoc-ref:RDoc::MarkupReference@Monofont).
- The reference is to a class or module that users
usually don't deal with, including these:
- \Class.
- \Method.
- \Module.
Most often, the name of a class, module, or method Most often, the name of a class, module, or method
will be autolinked: will be auto-linked:
- Array. - Array.
- Enumerable. - Enumerable.