aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/markdown.rb
Commit message (Collapse)AuthorAgeFilesLines
* refactors and fixes in guides generation [ci skip]Xavier Noria2017-02-121-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 guidesRafael Mendonça França2016-10-251-1/+1
| | | | render :html escapes the argument if not provided as html safe.
* Generate HTML not plain textRafael Mendonça França2016-10-251-1/+1
|
* Fix plain option in the rails_guides generatorRafael Mendonça França2016-10-251-1/+1
|
* Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
| | | | Hash syntax auto-correcting breaks alignments. 411ccbdab2608c62aabdb320d52cb02d446bb39c
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-4/+2
|
* modernizes hash syntax in guidesXavier Noria2016-08-061-1/+1
|
* applies new string literal convention in guidesXavier Noria2016-08-061-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.1Akira Matsuda2015-09-181-2/+0
|
* Fix guide anchor generation logic.Juanito Fatas2014-08-241-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 Fatas2014-08-201-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 Fatas2014-05-221-2/+1
|
* Guides: output valid HTML5Nate Berkopec2014-05-051-5/+5
| | | [ci skip]
* place article name in the beginning of guides page titleGosha Arinich2013-01-061-1/+3
|
* Change #id generation rulePrem Sichanugrist2012-09-171-10/+37
| | | | | * Use the current heading by default * If duplicate, then use #[parent]-[current] as the id
* Retain heading styles in the page chapters listPrem Sichanugrist2012-09-171-3/+3
|
* Enable tablePrem Sichanugrist2012-09-171-1/+2
|
* Update Markdown renderer to be more flexiblePrem Sichanugrist2012-09-171-37/+53
|
* Reuse parent's id if it's already existsPrem Sichanugrist2012-09-171-1/+1
|
* 4.0 release note now renders correctly with indexPrem Sichanugrist2012-09-171-10/+85
|
* Start rewriting 4.0 release note into MarkdownPrem Sichanugrist2012-09-171-0/+42