aboutsummaryrefslogtreecommitdiffstats
path: root/guides/Rakefile
Commit message (Collapse)AuthorAgeFilesLines
* Enable Start/EndWith and RegexpMatch copsBart de Water2018-07-281-1/+1
| | | | | 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 ITO2017-08-131-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Fix all style guides violationsRafael Mendonça França2017-04-191-3/+3
| | | | | Closes #28382 Closes #28651
* force UTF-8 as external encoding in guides generation [ci skip]Xavier Noria2017-03-091-3/+16
| | | | See the rationale in the comment found in the patch.
* refactors and fixes in guides generation [ci skip]Xavier Noria2017-02-121-13/+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 Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-1/+1
| | | | | | Some methods were added to public API in 5b14129d8d4ad302b4e11df6bd5c7891b75f393c and they should be not part of the public API.
* Fix rake guides:generate:kindle errorBian Jiaping2016-12-181-2/+3
|
* update kindlerb gemGaurav Sharma2016-10-211-1/+1
| | | Ruby Kindle periodical-format ebook generator
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-1/+1
|
* modernizes hash syntax in guidesXavier Noria2016-08-061-2/+2
|
* applies new string literal convention in guidesXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Fix WARNINGS flag inside guides/RakefileJade Misenas2015-07-291-1/+1
|
* Update link (minor fix)Darío Hereñú2015-02-281-1/+1
|
* Fix grammar in Rakefile markup [ci skip]Brooks Reese2014-12-051-1/+1
|
* Clarify where result goes, and supported formats of generate task.Zachary Scott2014-11-251-1/+3
| | | | [ci skip]
* Improve error message for guides:generate:kindleŁukasz Adamczak2014-04-031-2/+2
| | | | | | | With `kindlegen` missing from the PATH, the task keeps suggesting to `gem install kindlerb`. This change provides a more meaningful error message for guides:generate:kindle.
* Add periodical-style TOC and navigation to Kindle version of guidesDaniel Choi2012-12-011-0/+6
|
* No more Textile guide generation supportPrem Sichanugrist2012-09-171-1/+1
|
* Start rewriting 4.0 release note into MarkdownPrem Sichanugrist2012-09-171-1/+1
|
* [guides] guides:generate:kindle is the new interface to generate .mobi file ↵Rafael Magana2012-05-281-6/+2
| | | | instead of using KINDLE=1
* [guides] get rid of any reference to the generator script since rake tasks ↵Rafael Magana2012-05-281-5/+3
| | | | are now the new interface
* [guides] Add rake task to show help and make it the default oneRafael Magana2012-05-261-0/+50
|
* [guides] Add :guides namespace and :html and :kindle tasks to RakefileRafael Magana2012-05-261-9/+25
|
* moves the guides up to the root directoryXavier Noria2012-03-171-0/+11