Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add OG tags to layout.html.erb | toshimaru | 2019-01-09 | 1 | -0/+8 |
| | |||||
* | Fix rails guides markdown.rb and renderer.rb to use custom header id | wagurano | 2018-09-23 | 1 | -1/+1 |
| | |||||
* | Enable Start/EndWith and RegexpMatch cops | Bart de Water | 2018-07-28 | 1 | -2/+2 |
| | | | | | In cases where the MatchData object is not used, this provides a speed-up: https://github.com/JuanitoFatas/fast-ruby/#stringmatch-vs-stringmatch-vs-stringstart_withstringend_with-code-start-code-end | ||||
* | Use frozen string literal in guides/ | Koichi ITO | 2017-08-13 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Fix all style guides violations | Rafael Mendonça França | 2017-04-19 | 1 | -1/+1 |
| | | | | | Closes #28382 Closes #28651 | ||||
* | Add anchor links to all headers | Ruy Diaz | 2017-04-01 | 1 | -0/+4 |
| | | | | To allow easy linking at all levels and not just from index | ||||
* | refactors and fixes in guides generation [ci skip] | Xavier Noria | 2017-02-12 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit is not precisely atomic, but the changes have evolved, summary: * The ENV-based interface has been moved upwards, the generator has now a conventional initializer. * RAILS_VERSION is now assumed to be a Git tag. A blank RAILS_VERSION means edge guides. * In consequence, the EDGE env variable is gone. * The "local" version is also gone, the current SHA1 is computed for edge guides. * Assumes guides are generated from a repo checkout (time ago users could generate them from gems.) * The WARNINGS flag is gone in consequence, you cannot disable warnings. * The `api_link` Markdown helper is fixed. * Docs about usage have one single place: rake guides:help. * Links in guides have been revised. | ||||
* | Fix HTML escaping in the guides | Rafael Mendonça França | 2016-10-25 | 1 | -1/+1 |
| | | | | render :html escapes the argument if not provided as html safe. | ||||
* | Generate HTML not plain text | Rafael Mendonça França | 2016-10-25 | 1 | -1/+1 |
| | |||||
* | Fix plain option in the rails_guides generator | Rafael Mendonça França | 2016-10-25 | 1 | -1/+1 |
| | |||||
* | Fix broken alignments caused by auto-correct commit 411ccbd | Ryuta Kamizono | 2016-08-10 | 1 | -1/+2 |
| | | | | Hash syntax auto-correcting breaks alignments. 411ccbdab2608c62aabdb320d52cb02d446bb39c | ||||
* | remove redundant curlies from hash arguments | Xavier Noria | 2016-08-06 | 1 | -4/+2 |
| | |||||
* | modernizes hash syntax in guides | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in guides | Xavier Noria | 2016-08-06 | 1 | -14/+14 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | File encoding is defaulted to utf-8 in Ruby >= 2.1 | Akira Matsuda | 2015-09-18 | 1 | -2/+0 |
| | |||||
* | Fix guide anchor generation logic. | Juanito Fatas | 2014-08-24 | 1 | -1/+6 |
| | | | | | | | | This could use in any translation because it's not limited to `[^a-z0-9]`. Verify after this change, all guides still have same anchors. [Robin Dupret & Juanito Fatas] | ||||
* | Revert "Do not gsub non ASCII characters in header anchor.". | Juanito Fatas | 2014-08-20 | 1 | -1/+1 |
| | | | | | | This reverts commit 699babe. Also change the upgrading_ruby_on_rails link back to original in 4_2_release_notes. | ||||
* | Do not gsub non ASCII characters in header anchor. | Juanito Fatas | 2014-05-22 | 1 | -2/+1 |
| | |||||
* | Guides: output valid HTML5 | Nate Berkopec | 2014-05-05 | 1 | -5/+5 |
| | | | [ci skip] | ||||
* | place article name in the beginning of guides page title | Gosha Arinich | 2013-01-06 | 1 | -1/+3 |
| | |||||
* | 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 | ||||
* | Retain heading styles in the page chapters list | Prem Sichanugrist | 2012-09-17 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -10/+85 |
| | |||||
* | Start rewriting 4.0 release note into Markdown | Prem Sichanugrist | 2012-09-17 | 1 | -0/+42 |