aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use safe nav operator when calling RailsGuides::Generator.newYosuke Kabuto2018-12-051-1/+1
| | | | Use String for direction of RailsGuides::Generator
* Use direction instead of rtl flag.Alberto Almagro2018-11-221-7/+7
| | | | | | | | | Improve readability by using `direction` as CSS does. More info: https://developer.mozilla.org/en-US/docs/Web/CSS/direction Continues: #34486 [Alberto Almagro + Ufuk Kayserilioglu]
* allow right to left styling of docs (#3)tamarr2018-11-191-1/+2
| | | | * adding rtl css main file and logic to use
* 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
|
* refactors and fixes in guides generation [ci skip]Xavier Noria2017-02-121-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* applies new string literal convention in guidesXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Merge pull request #19240 from yui-knk/refactor/guide_rbYves Senn2015-03-181-45/+0
|\ | | | | | | | | | | | | Remove gem check in guides/rails_guides.rb Conflicts: guides/rails_guides.rb
| * Remove gem check in guides/rails_guides.rbyui-knk2015-03-071-45/+0
| | | | | | | | | | Now rails/Gemfile includes nokogiri and redcarpet, so remove gem check from guides/rails_guides.rb
* | Fix place of require 'rails_guides/markdown'yui-knk2015-03-071-1/+0
|/
* Update Redcarpet to version 3.2.2Robin Dupret2015-01-031-2/+2
|
* Update Redcarpet to 3.1.2Robin Dupret2014-05-141-2/+2
| | | | | | | 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 HTML5Nate Berkopec2014-05-051-2/+2
| | | [ci skip]
* remove warnings on ruby trunklaurocaetano2013-11-011-1/+1
|
* Add error message for including nokogiri in Gemfile for rake doc:guides [ci ↵Prathamesh Sonpatki2013-08-221-0/+19
| | | | | | | | skip] - When `rake doc:guides` is run from applications, it complains for presence of redcarpet if it not present in Gemfile - Similarly it should complain about nokogiri
* Make `rake doc:guides` works again. Fix #10384.Teng Siong Ong2013-04-301-1/+1
|
* No more Textile guide generation supportPrem Sichanugrist2012-09-171-7/+3
|
* Start rewriting 4.0 release note into MarkdownPrem Sichanugrist2012-09-171-1/+2
|
* Remove remaining require 'rubygems'Santiago Pastorino2012-05-131-3/+0
|
* moves the guides up to the root directoryXavier Noria2012-03-171-0/+50