Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable `Layout/EmptyLinesAroundAccessModifier` cop | Ryuta Kamizono | 2019-06-13 | 1 | -1/+0 |
| | | | | | | | | | | | We sometimes say "✂️ newline after `private`" in a code review (e.g. https://github.com/rails/rails/pull/18546#discussion_r23188776, https://github.com/rails/rails/pull/34832#discussion_r244847195). Now `Layout/EmptyLinesAroundAccessModifier` cop have new enforced style `EnforcedStyle: only_before` (https://github.com/rubocop-hq/rubocop/pull/7059). That cop and enforced style will reduce the our code review cost. | ||||
* | [ci skip] Fix guides to link to edgeapi if on EDGE env | M. Saiqul Haq | 2019-04-01 | 1 | -2/+2 |
| | |||||
* | Wrap custom id of a header attribute into \" in rails guides | bogdanvlviv | 2018-10-05 | 1 | -1/+1 |
| | | | | Related to https://github.com/rails/rails/pull/33953 | ||||
* | Fix rails guides markdown.rb and renderer.rb to use custom header id | wagurano | 2018-09-23 | 1 | -1/+6 |
| | |||||
* | 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 | ||||
* | Fix typos and add a few suggestions | Fatos Morina | 2017-11-28 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Old expression caught to many chars resulting in 404. Added minor change to ↵ | JD Gonzales | 2017-05-12 | 1 | -1/+1 |
| | | | | resolve | ||||
* | Fix all style guides violations | Rafael Mendonça França | 2017-04-19 | 1 | -9/+9 |
| | | | | | Closes #28382 Closes #28651 | ||||
* | refactors and fixes in guides generation [ci skip] | Xavier Noria | 2017-02-12 | 1 | -22/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 rubocop violations | Rafael Mendonça França | 2017-02-09 | 1 | -11/+11 |
| | |||||
* | Automatically link to Ruby files referenced in notes [ci skip] | Robin Dupret | 2017-02-07 | 1 | -1/+19 |
| | | | | | | | | | | To ease reading the "Active Support Core Extensions" guide, let's automatically link references to Ruby files. It's also possible to reference other components' files in the even though it's not used in the guides at the moment. [Petr Skocik & Robin Dupret] | ||||
* | Automatically inject the current Rails version in API links [ci skip] | Robin Dupret | 2017-02-07 | 1 | -0/+23 |
| | | | | | | | To make sure that the user won't look at a feature that doesn't already exist if they are looking at a previous version of the guides, let's automatically inject the Rails version the guides have been generated against. | ||||
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | Fix indentation | Rafael Mendonça França | 2016-10-25 | 1 | -1/+1 |
| | |||||
* | RuboCop is 100% green :tada: | Xavier Noria | 2016-09-02 | 1 | -8/+9 |
| | |||||
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -7/+7 |
| | |||||
* | applies new string literal convention in guides | Xavier Noria | 2016-08-06 | 1 | -11/+11 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | [ci skip] Fix typo | Akshay Vishnoi | 2015-12-22 | 1 | -1/+1 |
| | |||||
* | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
| | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | Consider `html+erb` as a valid language for snippets | Robin Dupret | 2015-01-03 | 1 | -1/+1 |
| | | | | | | To highlight ERB snippets, both `erb` and `html+erb` are used as a language passed to the code block. However, only the former will be correctly highlighted. | ||||
* | removes superfluous regexp group | Xavier Noria | 2014-12-23 | 1 | -1/+1 |
| | |||||
* | third test to warn against reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -1/+1 |
| | |||||
* | second test to warn against reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -2/+1 |
| | |||||
* | proof of concept, need to check in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | |||||
* | Uppercase HTML in docs. | Hendy Tanata | 2014-08-08 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Update Redcarpet to 3.1.2 | Robin Dupret | 2014-05-14 | 1 | -1/+1 |
| | | | | | | | This version fixes an API breakage between 3.0 and 3.1 ; the header method's arity should not have changed. [ci skip] | ||||
* | Guides: output valid HTML5 | Nate Berkopec | 2014-05-05 | 1 | -1/+1 |
| | | | [ci skip] | ||||
* | remove unused variable | Vipul A M | 2013-04-13 | 1 | -1/+1 |
| | |||||
* | Do not strip code blocks, otherwise we may get misaligned output | Carlos Antonio da Silva | 2012-11-07 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Fix footnote format | Prem Sichanugrist | 2012-09-17 | 1 | -0/+11 |
| | | | | Markdown has footnote, but Redcarpet doesn't support it. | ||||
* | Make sure that styles in NOTE block got converted | Prem Sichanugrist | 2012-09-17 | 1 | -5/+7 |
| | |||||
* | 4.0 release note now renders correctly with index | Prem Sichanugrist | 2012-09-17 | 1 | -5/+26 |
| | |||||
* | Start rewriting 4.0 release note into Markdown | Prem Sichanugrist | 2012-09-17 | 1 | -0/+48 |