ruby-changes:54492
From: nobu <ko1@a...>
Date: Fri, 4 Jan 2019 18:49:36 +0900 (JST)
Subject: [ruby-changes:54492] nobu:r66707 (trunk): [DOC] escape descriptions [ci skip]
nobu 2019-01-04 18:49:32 +0900 (Fri, 04 Jan 2019) New Revision: 66707 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66707 Log: [DOC] escape descriptions [ci skip] Escape descriptions not to get parsed as directives. Modified files: trunk/lib/rdoc/.document trunk/lib/rdoc/parser/c.rb Index: lib/rdoc/.document =================================================================== --- lib/rdoc/.document (revision 66706) +++ lib/rdoc/.document (revision 66707) @@ -1 +1,2 @@ *.rb +parser Index: lib/rdoc/parser/c.rb =================================================================== --- lib/rdoc/parser/c.rb (revision 66706) +++ lib/rdoc/parser/c.rb (revision 66707) @@ -69,15 +69,15 @@ require 'tsort' https://github.com/ruby/ruby/blob/trunk/lib/rdoc/parser/c.rb#L69 # [Document-variable: +name+] # Documentation for the named +rb_define_variable+ # -# [Document-method: +method_name+] +# [Document-method\: +method_name+] # Documentation for the named method. Use this when the method name is # unambiguous. # -# [Document-method: <tt>ClassName::method_name</tt>] +# [Document-method\: <tt>ClassName::method_name</tt>] # Documentation for a singleton method in the given class. Use this when # the method name alone is ambiguous. # -# [Document-method: <tt>ClassName#method_name</tt>] +# [Document-method\: <tt>ClassName#method_name</tt>] # Documentation for a instance method in the given class. Use this when the # method name alone is ambiguous. # -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/