Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #8348 from danchoi/master | Vijay Dev | 2012-12-08 | 2 | -4/+121 |
|\ | | | | | Kindle ebook generation with working section navigation | ||||
| * | Add periodical-style TOC and navigation to Kindle version of guides | Daniel Choi | 2012-12-01 | 2 | -4/+121 |
| | | |||||
* | | let @version be always externally set in guides generation [fixes #8221] | Xavier Noria | 2012-12-07 | 1 | -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. | ||||
* | Do not strip code blocks, otherwise we may get misaligned output | Carlos Antonio da Silva | 2012-11-07 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [Guides] Navigation styling for small devices | Joe Fiorini | 2012-10-06 | 1 | -2/+8 |
| | |||||
* | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 1 | -1/+1 |
| | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]] | ||||
* | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 1 | -1/+1 |
| | |||||
* | let .md be the only supported extension for guides | Xavier Noria | 2012-09-18 | 1 | -4/+4 |
| | |||||
* | Fix footnote format | Prem Sichanugrist | 2012-09-17 | 1 | -0/+11 |
| | | | | Markdown has footnote, but Redcarpet doesn't support it. | ||||
* | Change #id generation rule | Prem Sichanugrist | 2012-09-17 | 1 | -10/+37 |
| | | | | | * Use the current heading by default * If duplicate, then use #[parent]-[current] as the id | ||||
* | No more Textile guide generation support | Prem Sichanugrist | 2012-09-17 | 2 | -135/+7 |
| | |||||
* | Retain heading styles in the page chapters list | Prem Sichanugrist | 2012-09-17 | 1 | -3/+3 |
| | |||||
* | Make sure that styles in NOTE block got converted | Prem Sichanugrist | 2012-09-17 | 1 | -5/+7 |
| | |||||
* | Enable table | Prem Sichanugrist | 2012-09-17 | 1 | -1/+2 |
| | |||||
* | Update Markdown renderer to be more flexible | Prem Sichanugrist | 2012-09-17 | 1 | -37/+53 |
| | |||||
* | Skip kindle's readme file on generation | Prem Sichanugrist | 2012-09-17 | 1 | -0/+1 |
| | |||||
* | Reuse parent's id if it's already exists | Prem Sichanugrist | 2012-09-17 | 1 | -1/+1 |
| | |||||
* | 4.0 release note now renders correctly with index | Prem Sichanugrist | 2012-09-17 | 2 | -15/+111 |
| | |||||
* | Start rewriting 4.0 release note into Markdown | Prem Sichanugrist | 2012-09-17 | 3 | -3/+98 |
| | |||||
* | removes usage of Object#in? from the code base (the method remains defined ↵ | Xavier Noria | 2012-08-06 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | by Active Support) Selecting which key extensions to include in active_support/rails made apparent the systematic usage of Object#in? in the code base. After some discussion in https://github.com/rails/rails/commit/5ea6b0df9a36d033f21b52049426257a4637028d we decided to remove it and use plain Ruby, which seems enough for this particular idiom. In this commit the refactor has been made case by case. Sometimes include? is the natural alternative, others a simple || is the way you actually spell the condition in your head, others a case statement seems more appropriate. I have chosen the one I liked the most in each case. | ||||
* | [guides] fix reference to railties directory, guides are no longer there | Rafael Magana | 2012-05-28 | 1 | -1/+1 |
| | |||||
* | [guides] guides:generate:kindle is the new interface to generate .mobi file ↵ | Rafael Magana | 2012-05-28 | 1 | -5/+0 |
| | | | | instead of using KINDLE=1 | ||||
* | [guides] get rid of any reference to the generator script since rake tasks ↵ | Rafael Magana | 2012-05-28 | 1 | -1/+1 |
| | | | | are now the new interface | ||||
* | [guides] update generator.rb to refer to guides:generate instead of ↵ | Rafael Magana | 2012-05-27 | 1 | -1/+1 |
| | | | | generate_guides | ||||
* | Make RedCloth not convert double hyphens to emdashes. Closes #5292 | Vijay Dev | 2012-05-06 | 1 | -0/+6 |
| | | | | | | | | | | As mentioned in http://redcloth.org/textile/writing-paragraph-text/#dashes RedCloth converts double hyphens to emdashes. This causes problems in the guides where options like --database, --full are rendered incorrectly. This commit fixes it by customizing the emdash method in the RedCloth::Formatters::HTML module to just return '--'. See their FAQ http://redcloth.org/faq in the section 'How do I customize RedCloth?' | ||||
* | moves the guides up to the root directory | Xavier Noria | 2012-03-17 | 5 | -0/+517 |