aboutsummaryrefslogtreecommitdiffstats
path: root/guides/assets
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #32405 from yhirano55/use_turbolinks_in_guideRafael França2018-09-065-13/+40
|\ | | | | Use Turbolinks in Rails guides
| * Use Turbolinks in Rails guidesYoshiyuki Hirano2018-04-235-13/+40
| |
* | [skip ci] Fix overlapping text in the guideArye Dov Eidelman2018-08-171-1/+5
| | | | | | | | Fix a layout issue in the rails guides, where the navigation covers the main text, if the page is between 800 and 960 pixels wide. (issue #33406)
* | Change the background color which wrapped by code tag. [ci skip]lanzhiheng2018-07-191-1/+10
| |
* | Update 'rails_welcome.png' to reflect a more diverse population (#32735)Jamie Dihiansan2018-04-261-0/+0
|/ | | | | | * Update 'rails_welcome.png' to reflect a more diverse population * Cleanup 'rails_welcome.png'
* Refactor guides javascriptsYoshiyuki Hirano2018-04-232-26/+34
| | | | | * Remove `$` prefix from all variables (`$` prefix means jQuery object) * Old browsers doesn't support forEach. So use for instead of forEach.
* :scissors: jQuery for Rails GuidesYoshiyuki Hirano2018-04-214-86/+86
| | | | | * Rewrite with Vanilla JS * Confirmed with Chrome, Safari, Firefox
* Merge pull request #32401 from yhirano55/improve_css_in_guideRafael França2018-04-192-12/+2
|\ | | | | Improve css in guide
| * Improve css in guideYoshiyuki Hirano2018-04-012-12/+2
| | | | | | | | | | | | | | | | * .clearfix is overridden. * .clear is not currently used. * #extraCol is not currently used. * table th, table td are overridden. Merged them. * Removed needless comment lines which are added on #6475
* | removes obsolete images in guides [ci skip]Xavier Noria2018-04-032-0/+0
| | | | | | | | Note that tab_yellow.gif exists, that is the one being used.
* | remove obsolete author imagesXavier Noria2018-04-036-0/+0
|/ | | | The credits page is gone after #32429, these images are now orphan.
* Remove needless images in guidesYoshiyuki Hirano2018-03-3128-5/+0
|
* Put images into each page's dir in guidesYoshiyuki Hirano2018-03-3110-0/+0
|
* Remove useless stylesheet file in guideYoshiyuki Hirano2018-03-311-50/+0
|
* [ci skip] Rails Associations examples contains ActiveRecord::Base reference ↵Atul Shimpi2017-11-247-0/+0
| | | | instead of ApplicationRecord in images
* Shrink image files in the guides using ImageOptimAkira Matsuda2017-06-2139-0/+0
|
* Don't highlight code in anchorlink [ci skip]claudiob2017-04-041-4/+2
| | | | Minor fix to #28662
* Downplay links in Guides headersRuy Diaz2017-04-041-1/+4
| | | | [ci skip]
* Add anchor links to all headersRuy Diaz2017-04-011-0/+3
| | | | To allow easy linking at all levels and not just from index
* Merge pull request #27143 from sachin21/fix-permissionMatthew Draper2016-11-221-0/+0
|\ | | | | Fix a wrong permission
| * Fix a wrong permissionSatoshi Ohmori2016-11-221-0/+0
| |
* | Merge pull request #24612 from vipulnsward/fix-li-ol-widthVijay Dev2016-09-061-1/+2
|\ \ | | | | | | Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl as needed
| * | Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl needed for ↵Vipul A M2016-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chapters column, instead of leaking to other lists. Before: https://monosnap.com/file/CNIMXcqv3HuRrObTNYWYFis8I3G8PT After: https://monosnap.com/file/0IyEKEy9hcRCIx82etR8ikinCo3vNb Chapters column remains as is: http://take.ms/M0BkF
* | | Increase margin-bottom for doc's code syntax highlighterAlex Kitchens2016-08-201-1/+1
| | | | | | | | | | | | | | | | | | Fixes #25744 by slightly increasing the margin in code syntax highlights. With a margin of 0, it was cutting off underscores in Linux browesers, so I slightly increased it to 0.5px.
* | | - Update Syntax Highlighter to version 4.Vipul A M2016-07-0344-5229/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Build Syntax Highlighter based on https://github.com/syntaxhighlighter/syntaxhighlighter/wiki/Building and use theme generated by fxn. - This also bundles these brushes in the file itself- ruby,css,xml,sql,javascript,plain. Generation command used: gulp build --compat --brushes=javascript,ruby,xml,sql,plain --theme=/Path/To/RailsSource/rails/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css - rm all old js and css files - Moved over how JS configuration is created for Syntax Highlighter - Fixed layout for all imports - Fixes bug with old copy paste, generating wrong space character on webkit https://github.com/syntaxhighlighter/syntaxhighlighter/blob/7caa9632e7fe470d944fc06b4db7d35352ebaa36/src/dom.js#L227 Fixes #25655
* | | Update getting started guide for Rails 5 [ci skip]Prathamesh Sonpatki2016-06-301-0/+0
|/ / | | | | | | | | | | - Rails 5 will return 204 No Content by default for controller actions which do not have a template or do not specify how to render. - The "Getting started" guide needs to be updated for this.
* | use rails 5 favicon.ico for rails guidesMohamad Abras2016-03-171-0/+0
| |
* | Fix value of CSS background-color property in Rails guideBas van IJzendoorn2016-02-291-1/+1
| | | | | | | | | | | | Change background-color value to transparent, which is the default value of background-color. [ci skip]
* | Introduce new welcome page for new projectsGenadi Samokovarov2016-01-261-0/+0
| | | | | | | | As requested by David in 23233.
* | Change permission to readonlySatoshi Ohmori2016-01-231-0/+0
| | | | | | | | | | | | changed from 755 to 644. I executed `chmod -x guides/assets/javascripts/responsive-tables.js`. [ci skip]
* | - Remove dead links and take users to just the home page insteadVipul A M2016-01-191-0/+0
| | | | | | | | | | - Add new logo for guides header [ci skip]
* | Association Guide replaces Order as example with Author-Book Example [ci skip]amitkumarsuroliya2016-01-182-0/+0
| | | | | | fixes #21500
* | Update rails_welcome.pngIvan Tse2015-06-241-0/+0
|/ | | | [ci skip]
* use rails favicon.ico instead or ruby favicon.ico for rails guidesJohn Krueger2015-02-061-0/+0
|
* Use consistent anchor text throughout the guide.Toby Woller2015-01-151-0/+0
| | | | | | | | | | | | Change all of anchor text in the nav links to `Back` and `Edit` Use `Edit | Back` on pages that use both links to conform to what scaffolding generates. Use consistent anchor text throughout the guide. Change all of anchor text in the nav links to `Back` and `Edit` Use `Edit | Back` on pages that use both links to conform to what scaffolding generates.
* Avoid displaying new lines inside note paragraphsRobin Dupret2015-01-031-1/+1
| | | | | | | | | | | | | Commit 65a2977 added a `pre-wrap` style for white spaces on `.note` paragraphs. However, this is first inconsistent as other notes like warnings don't have this style applied. Furthermore, it seems to be unneeded for mobile devices. Also revert changes made in #18147 since they aren't needed anymore. Cross-refs #18138. [ci skip]
* Disable autolink in example code blocks in guides.Juanito Fatas2014-06-241-0/+6
| | | | | | | | | | | | /cc @chancancode @robin850 configuration reference: http://alexgorbatchev.com/SyntaxHighlighter/manual/configuration/ Related issues: * https://github.com/vmg/redcarpet/issues/334 * https://github.com/docrails-tw/guides/issues/62
* fix guides mobile nav issue [ci skip]Greg Molnar2014-05-061-1/+4
|
* Optimize getting started guide images, and use png instead of jpgCarlos Antonio da Silva2014-02-2515-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | We noticed the rails gem increased in size between the beta and rc versions, and the reason is that some guides images were updated but not properly optimized, and one image changed from png to jpg, way bigger. Converting the jpg image back to png, and using ImageOptim to optimize all the images for web view, improves the situation [ci skip]. --- In current master/4-1-stable: 508K guides/assets/images/getting_started/ In v4.1.0.beta1: 268K guides/assets/images/getting_started/ In 4-0-stable 328K guides/assets/images/getting_started/ After the patch: 260K guides/assets/images/getting_started/
* Replace Post with Article in getting started guide [ci skip]Prathamesh Sonpatki2014-01-2519-0/+0
| | | | | | | | - Used Article model instead of Post as it may confuse with 'post' requests - Tried to wrap the guide to 80 chars lines as much as possible. - Removed unused image - Fixes #13764
* revises a few things in the getting started guide [ci skip]Xavier Noria2014-01-132-0/+0
| | | | More to come.
* Adds Akshay Surve to Rails Guides credits listAkshay Surve2013-08-231-0/+0
| | | | | | | | | | | | | I had written the original guide for "A Guide to Testing Rails Applications". The current documents maintains the same structure and examples I had drafted albeit with some minor changes to keep up with newer version of Rails. Older version which had credits included: http://guides.rubyonrails.org/v2.3.11/testing.html Github lifo/docrails History: https://github.com/rails/rails/commits/ff359af86505b4d317b7467e7f79aa2ef2c5e795/railties/doc/guides/source/testing_rails_applications.txt
* Merge pull request #11073 from tricknotes/improve-guides-jsRafael Mendonça França2013-07-091-34/+30
|\ | | | | Improve guides js
| * Improve js written for guidesRyunosuke SATO2013-06-251-34/+30
| | | | | | | | | | | | | | * Stop using unnecessary global variable * Use function defined by jQuery for simplicity * Fix event listner for "more info button" to handle event on resize browser
* | Added cursor pointer for 'More Ruby on Rails'Paul Nikitochkin2013-07-081-0/+1
| | | | | | | | | | dropdown menu on guides page (which appear on small windows) [ci skip]
* | [doc] fixed printing of code samplesArun Agrawal2013-07-021-1/+1
| |
* | Fixed menu section's location (guides)Dima Zudochkin2013-06-251-1/+1
|/
* Revert "Whitespace trimming in guides generation"Vijay Dev2013-06-141-7/+7
| | | | | | | This reverts commit 91a1cf7013252753567b36f61bfcd5fd0a5bb2b8. Reason: code changes disallowed in docrails, even if they are guides generation related.
* Image optimized for web viewRashmi Yadav2013-06-0923-0/+0
| | | | Used imageoptim, Saved few bytes http://imageoptim.com/
* Whitespace trimming in guides generationSunny Ripert2013-05-281-7/+7
|