Skip to content
Browse files

require "rdoc" -> require "rdoc/markup/to_html"

this file is not loaded but require "rdoc", moreover, we only need markup
  • Loading branch information...
1 parent 8547387 commit 7c186a0d481f50eacdaf4f2d85dd2bddb6caf3db @rkh rkh committed Feb 26, 2011
Showing with 14 additions and 14 deletions.
  1. +1 −1 README.de.rdoc
  2. +2 −2 README.es.rdoc
  3. +2 −2 README.fr.rdoc
  4. +2 −2 README.jp.rdoc
  5. +2 −2 README.rdoc
  6. +2 −2 README.ru.rdoc
  7. +2 −2 README.zh.rdoc
  8. +1 −1 test/rdoc_test.rb
View
2 README.de.rdoc
@@ -461,7 +461,7 @@ mit <tt>./views/post.haml</tt> als Layout rendern.
Das +rdoc+ gem wird benötigt, um RDoc-Templates rendern zu können:
# RDoc muss eingebunden werden
- require "rdoc"
+ require "rdoc/markup/to_html"
get '/' do
rdoc :index
View
4 README.es.rdoc
@@ -500,8 +500,8 @@ con el layout <tt>./views/post.haml</tt>.
La gem/librería <tt>rdoc</tt> es necesaria para renderizar plantillas RDoc:
- # Vas a necesitar requerir rdoc en tu app
- require "rdoc"
+ # Vas a necesitar requerir rdoc/markup/to_html en tu app
+ require "rdoc/markup/to_html"
get '/' do
rdoc :index
View
4 README.fr.rdoc
@@ -374,8 +374,8 @@ Notez que vous pouvez également appeler la méthode textile au sein d'autres te
Le gem RDoc est nécessaire pour utiliser la fonction de rendu RDoc:
- # Chargez la bibliothèque rdoc dans votre application
- require "rdoc"
+ # Chargez la bibliothèque rdoc/markup/to_html dans votre application
+ require "rdoc/markup/to_html"
get '/' do
rdoc :index
View
4 README.jp.rdoc
@@ -369,8 +369,8 @@ textileからメソッドを呼び出すことも、localsに変数を渡すこ
RDocテンプレートを使うにはRDocライブラリが必要です:
- # rdocを読み込みます
- require "rdoc"
+ # rdoc/markup/to_htmlを読み込みます
+ require "rdoc/markup/to_html"
get '/' do
rdoc :index
View
4 README.rdoc
@@ -491,8 +491,8 @@ template) with <tt>./views/post.haml</tt> as layout.
The <tt>rdoc</tt> gem/library is required to render RDoc templates:
- # You'll need to require rdoc in your app
- require "rdoc"
+ # You'll need to require rdoc/markup/to_html in your app
+ require "rdoc/markup/to_html"
get '/' do
rdoc :index
View
4 README.ru.rdoc
@@ -445,8 +445,8 @@ Sinatra — это предметно-ориентированный язык (D
<tt>rdoc</tt> gem/библиотека необходима для рендеринга RDoc шаблонов:
- # Вам нужно будет подключить rdoc в приложении
- require "rdoc"
+ # Вам нужно будет подключить rdoc/markup/to_html в приложении
+ require "rdoc/markup/to_html"
get '/' do
rdoc :index
View
4 README.zh.rdoc
@@ -371,8 +371,8 @@ Rack body对象或者HTTP状态码:
需要引入 RDoc gem/library 以渲染RDoc模板:
- # 需要在你的应用中引入rdoc
- require "rdoc"
+ # 需要在你的应用中引入rdoc/markup/to_html
+ require "rdoc/markup/to_html"
get '/' do
rdoc :index
View
2 test/rdoc_test.rb
@@ -1,7 +1,7 @@
require File.dirname(__FILE__) + '/helper'
begin
-require 'rdoc'
+require 'rdoc/markup/to_html'
class RdocTest < Test::Unit::TestCase
def rdoc_app(&block)

0 comments on commit 7c186a0

Please sign in to comment.
Something went wrong with that request. Please try again.