1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Fixed a copy-paste error.

RDoc is rendered by rdoc, not by textile.
This commit is contained in:
Gaku Ueda 2011-07-04 17:18:21 -07:00
parent 9ad1ff307d
commit 2bd43c0692

View file

@ -418,7 +418,7 @@ template than for the layout by passing the <tt>:layout_engine</tt> option.
Dependency:: {rdoc}[http://rdoc.rubyforge.org/]
File Extensions:: <tt>.rdoc</tt>
Example:: <tt>textile :README, :layout_engine => :erb</tt>
Example:: <tt>rdoc :README, :layout_engine => :erb</tt>
It is not possible to call methods from rdoc, nor to pass locals to it. You
therefore will usually use it in combination with another rendering engine: