Permalink
Browse files

remove bare guide for rdoc views

  • Loading branch information...
1 parent f9b300a commit ad7f5897da77b23ca5321411d54d42b9abfd773f @zzak zzak committed Mar 17, 2013
Showing with 0 additions and 25 deletions.
  1. +0 −25 views/rdoc.md
View
@@ -1,25 +0,0 @@
-RDoc Templates
---------------
-
-The RDoc gem/library is required to render RDoc templates:
-
- ## You'll need to require rdoc in your app
- require "rdoc"
-
- get '/' do
- rdoc :index
- end
-
-Renders `./views/index.rdoc`.
-
-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:
-
- erb :overview, :locals => { :text => rdoc(:introduction) }
-
-Note that you may also call the rdoc method from within other templates:
-
- %h1 Hello From Haml!
- %p= rdoc(:greetings)
-
-

0 comments on commit ad7f589

Please sign in to comment.