diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-01-15 23:47:41 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-01-15 23:50:03 +0530 |
commit | 3c6c2404319931bb27256f190d1f9950149e9a53 (patch) | |
tree | 903782cae791ab22c2f31714ad48abe11c6f33f3 /railties/guides | |
parent | 100ab5bd431e1cf9f4fdf08c8724918f482c4684 (diff) | |
download | rails-3c6c2404319931bb27256f190d1f9950149e9a53.tar.gz rails-3c6c2404319931bb27256f190d1f9950149e9a53.tar.bz2 rails-3c6c2404319931bb27256f190d1f9950149e9a53.zip |
Document the LANGUAGE option for generating guides
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/ruby_on_rails_guides_guidelines.textile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/railties/guides/source/ruby_on_rails_guides_guidelines.textile b/railties/guides/source/ruby_on_rails_guides_guidelines.textile index a2e830b574..07f86edfb7 100644 --- a/railties/guides/source/ruby_on_rails_guides_guidelines.textile +++ b/railties/guides/source/ruby_on_rails_guides_guidelines.textile @@ -62,7 +62,13 @@ To force process of all the guides, pass +ALL=1+. It is also recommended that you work with +WARNINGS=1+, this detects duplicate IDs and warns about broken internal links. -h3. HTML validation +If you want to generate guides in languages other than English, you can keep them in a separate directory under +source+ (eg. <tt>source/es</tt>) and use the +LANGUAGE+ environment variable. + +<plain> +rake generate_guides LANGUAGE=es +</plain> + +h3. HTML Validation Please do validate the generated HTML with |