Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove bare guide for rdoc views

  • Loading branch information...
commit ad7f5897da77b23ca5321411d54d42b9abfd773f 1 parent f9b300a
@zzak zzak authored
Showing with 0 additions and 25 deletions.
  1. +0 −25 views/rdoc.md
View
25 views/rdoc.md
@@ -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)
-
-
Please sign in to comment.
Something went wrong with that request. Please try again.