From 354d68f80b1e92f58c13004e13dec48b179d2b4d Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 2 Apr 2004 01:20:58 +0000 Subject: Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/README | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/rdoc/README') diff --git a/lib/rdoc/README b/lib/rdoc/README index 0c10d0ea69..6e234e31a5 100644 --- a/lib/rdoc/README +++ b/lib/rdoc/README @@ -240,7 +240,15 @@ can see the formatted result in EXAMPLE.rb and Anagram. = Markup -Comment blocks can be written fairly naturally. +Comment blocks can be written fairly naturally, either using '#' on +successive lines of the comment, or by including the comment in +an =begin/=end block. If you use the latter form, the =begin line +must be flagged with an RDoc tag: + + =begin rdoc + Documentation to + be processed by RDoc. + =end Paragraphs are lines that share the left margin. Text indented past this margin are formatted verbatim. -- cgit v1.2.3