aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/generator.rb
Commit message (Collapse)AuthorAgeFilesLines
* Simplify `RailsGuides::Generator#select_only` a bitViktar Basharymau2015-11-221-1/+1
| | | The main goal is to improve readability, but as a side effect this commit makes the method a bit faster.
* Add ability to translate rails guides documents.yamlSeiei Miyagi2015-10-051-1/+1
| | | | | | | | | | | | | | | | | | Some translations of rails guides has their own documents.yaml, for example Japanese: https://github.com/yasslab/railsguides.jp/blob/japanese/guides/source/documents.yaml Traditional Chinese: https://github.com/docrails-tw/guides/blob/master/rails_guides/helpers.rb#L21,L27 https://github.com/docrails-tw/guides/blob/master/source/documents_zh-TW.yaml The [Translating Rails Guides](https://github.com/rails/docrails/wiki/translating-rails-guides) says > Copy the contents of guides/source into your own language directory and translate them. So that sounds ok to copy guides/source/documents.yaml into language specific directly and translating them like other markdown files.
* Fix place of require 'rails_guides/markdown'yui-knk2015-03-071-0/+1
|
* remove warnings on ruby trunklaurocaetano2013-11-011-1/+1
|
* Merge pull request #8348 from danchoi/masterVijay Dev2012-12-081-4/+2
|\ | | | | Kindle ebook generation with working section navigation
| * Add periodical-style TOC and navigation to Kindle version of guidesDaniel Choi2012-12-011-4/+2
| |
* | let @version be always externally set in guides generation [fixes #8221]Xavier Noria2012-12-071-1/+1
|/ | | | | | | | | | Shelling out was there for authors convenience, but we are rather going to have the tag or SHA1 always in RAILS_VERSION and if the environment variable is blank, then just use "local" as a reminder that you are just working locally. The docs server has been updated to set the long SHA1 in RAILS_VERSION when generating edge guides.
* let .md be the only supported extension for guidesXavier Noria2012-09-181-4/+4
|
* No more Textile guide generation supportPrem Sichanugrist2012-09-171-68/+7
|
* Skip kindle's readme file on generationPrem Sichanugrist2012-09-171-0/+1
|
* Start rewriting 4.0 release note into MarkdownPrem Sichanugrist2012-09-171-3/+8
|
* [guides] fix reference to railties directory, guides are no longer thereRafael Magana2012-05-281-1/+1
|
* [guides] guides:generate:kindle is the new interface to generate .mobi file ↵Rafael Magana2012-05-281-5/+0
| | | | instead of using KINDLE=1
* [guides] get rid of any reference to the generator script since rake tasks ↵Rafael Magana2012-05-281-1/+1
| | | | are now the new interface
* [guides] update generator.rb to refer to guides:generate instead of ↵Rafael Magana2012-05-271-1/+1
| | | | generate_guides
* moves the guides up to the root directoryXavier Noria2012-03-171-0/+310