summaryrefslogtreecommitdiff
path: root/doc/extension.rdoc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-01-01 14:43:26 +0900
committerNobuyoshi Nakada <[email protected]>2024-01-02 10:15:43 +0900
commit84eeb83f367e30c99e862a786e6fa6d21d8019e8 (patch)
treeb027fa111af1cb8b8bfd4f950efa9d341ae6ff5e /doc/extension.rdoc
parent5993d0f5f2e792b354955ae70442e66f7b31fb78 (diff)
[DOC] Stop using `:enddoc:` in rdoc files
In rdoc files, all documents belong to the top level of each file, and `:enddoc:` turns off `#document_self` for the entire document in the current file. This disables cross-references to labels in that file. Instead use `:stopdoc:` so that parsing can re-start by `:startdoc:` after the local variables.
Diffstat (limited to 'doc/extension.rdoc')
-rw-r--r--doc/extension.rdoc7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index db4145ca18..9e71b7f428 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -2274,6 +2274,7 @@ There are possibly other points or requirements which must be considered in the
making of a Ractor-safe extension. This document will be extended as they are
discovered.
-:enddoc: Local variables:
-:enddoc: fill-column: 70
-:enddoc: end:
+:stopdoc: Local variables:
+:stopdoc: fill-column: 70
+:stopdoc: end:
+:startdoc: