aboutsummaryrefslogtreecommitdiffstats
path: root/guides/assets
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* removes forgotten avatarJaime Iniesta2013-05-271-0/+0
|
* fix typoVipul A M2013-05-021-1/+1
|
* Move 2 images to getting_started folder. All other images in getting started ↵Richard Owen2013-04-282-0/+0
| | | | guide already in this folder.
* New rails welcome screenRichard Owen2013-04-281-0/+0
|
* correct image for unknown_action_create_for_posts.pngChandresh Pant2013-04-051-0/+0
|
* Update image in Getting Started Guide [ci skip]Steve Klabnik2013-03-161-0/+0
| | | | | | | When I updated these images, I must have gotten this one wrong. Now it's right. Fixes #9749.
* Getting Started Guide: strong_parametersSteve Klabnik2013-01-221-0/+0
| | | | | Stuff didn't work because of strong_parameters. Now the right calls are in place.
* Fix images in getting started guide.Steve Klabnik2013-01-225-0/+0
| | | | | We changed the error style, so they're all wrong. Now they're right. :smile:
* Merge pull request #8770 from goshakkk/guides-img-fixXavier Noria2013-01-061-0/+4
|\ | | | | Fix img width in guides
| * fix img width in guidesGosha Arinich2013-01-051-0/+4
| |
* | fix guides' warning bottom paddingGosha Arinich2013-01-061-1/+1
|/
* Updated 4.0 release notesVijay Dev2012-12-041-0/+0
| | | | | | | | | | | The release notes is changed to include only the major changes and point to the changelogs for the complete list. This lets us talk more about the features included in the upcoming release and make the guide more useful and interesting than just a list of all changelogs. This is still a WIP guide pending a lot of work. [ci skip]
* Here's a few updates to the validations guide. A bunch of small changes,Steve Klabnik2012-12-013-0/+0
| | | | | | | | plus: * 80 column formats * replacing the explanation of the dynamic_form gem with the example HTML/CSS that Rails scaffolds generate.
* Fix guides home links and maintain compatibility with small screensCarlos Antonio da Silva2012-11-071-1/+7
| | | | | | | | | Commit 65a2977cdd55678d3eab06434625375914511786 has introduced some changes to format content for small devices, this change reverts the original font size for normal screens while maintaing the same format for these devices. [ci skip]
* Minor css style improvementsCarlos Antonio da Silva2012-11-041-47/+45
| | | | | | | Fix some indenting for some properties and closing }, remove tabs, and merge two pre/code definitions. [ci skip]