diff options
| author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2023-09-24 16:57:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-24 17:57:21 -0400 |
| commit | 36cd2b2a52dec47f9cf166a730026ada21fbd828 (patch) | |
| tree | 44972971c505b4b1a5e3def1190692f235fab979 /doc | |
| parent | f43dac0df29c137ae966362f7faf26084468a0fb (diff) | |
[DOC] Correction for doc guide + TOC fix in File (#8505)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/contributing/documentation_guide.md | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/doc/contributing/documentation_guide.md b/doc/contributing/documentation_guide.md index 6cb2b8d7dc..25a5fa1673 100644 --- a/doc/contributing/documentation_guide.md +++ b/doc/contributing/documentation_guide.md @@ -216,16 +216,21 @@ may not render them properly. In particular, avoid building tables with HTML tags (<tt><table></tt>, etc.). -Alternatives are: - -- The GFM (GitHub Flavored Markdown) table extension, - which is enabled by default. See - {GFM tables extension}[https://github.github.com/gfm/#tables-extension-]. +Alternatives: - A {verbatim text block}[rdoc-ref:RDoc::MarkupReference@Verbatim+Text+Blocks], - using spaces and punctuation to format the text. - Note that {text markup}[rdoc-ref:RDoc::MarkupReference@Text+Markup] - will not be honored. + using spaces and punctuation to format the text; + note that {text markup}[rdoc-ref:RDoc::MarkupReference@Text+Markup] + will not be honored: + + - Example {source}[https://github.com/ruby/ruby/blob/34d802f32f00df1ac0220b62f72605827c16bad8/file.c#L6570-L6596]. + - Corresponding {output}[rdoc-ref:File@Read-2FWrite+Mode]. + +- (Markdown format only): A {Github Flavored Markdown (GFM) table}[https://github.github.com/gfm/#tables-extension-], + using special formatting for the text: + + - Example {source}[https://github.com/ruby/ruby/blob/34d802f32f00df1ac0220b62f72605827c16bad8/doc/contributing/glossary.md?plain=1]. + - Corresponding {output}[https://docs.ruby-lang.org/en/master/contributing/glossary_md.html]. ## Documenting Classes and Modules |
