Commit Graph

161 Commits

Author SHA1 Message Date
Prathamesh Sonpatki 60cc84bfdf
Update getting started guide for Rails 5 [ci skip]
- 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.
2016-06-30 19:35:25 +05:30
Vipul A M 1896fafa60 Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl needed for 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
2016-04-19 03:04:56 +05:30
Mohamad Abras ba3a1edca7 use rails 5 favicon.ico for rails guides 2016-03-17 17:20:33 +00:00
Bas van IJzendoorn bb7c8df5b0 Fix value of CSS background-color property in Rails guide
Change background-color value to transparent, which is the default value of background-color.

[ci skip]
2016-02-29 11:10:26 +01:00
Genadi Samokovarov 38492590cf Introduce new welcome page for new projects
As requested by David in 23233.
2016-01-26 00:27:49 +02:00
Satoshi Ohmori 109b30ff8b Change permission to readonly
changed from 755 to 644.
I executed `chmod -x guides/assets/javascripts/responsive-tables.js`.
[ci skip]
2016-01-23 21:48:15 +09:00
Vipul A M c96727135a - Remove dead links and take users to just the home page instead
- Add new logo for guides header
[ci skip]
2016-01-19 23:22:25 +05:30
amitkumarsuroliya 71ff088a09 Association Guide replaces Order as example with Author-Book Example [ci skip]
fixes #21500
2016-01-18 22:18:54 +05:30
Ivan Tse 5b1b68bebe Update rails_welcome.png
[ci skip]
2015-06-24 01:38:08 -04:00
John Krueger 85400b3384 use rails favicon.ico instead or ruby favicon.ico for rails guides 2015-02-06 15:59:30 -07:00
Toby Woller 3447e76536 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.

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.
2015-01-15 12:24:11 -08:00
Robin Dupret d0703280c7 Avoid displaying new lines inside note paragraphs
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]
2015-01-03 12:58:19 +01:00
Juanito Fatas 0d9e58f879 Disable autolink in example code blocks in guides.
/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
2014-06-24 06:33:07 +08:00
Greg Molnar fda729251a fix guides mobile nav issue [ci skip] 2014-05-06 22:59:27 +01:00
Carlos Antonio da Silva 7aa500d2ed Optimize getting started guide images, and use png instead of jpg
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/
2014-02-25 09:49:42 -03:00
Prathamesh Sonpatki 08bbe5dc2e Replace Post with Article in getting started guide [ci skip]
- 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
2014-01-25 22:34:31 +05:30
Xavier Noria 7524a9166c revises a few things in the getting started guide [ci skip]
More to come.
2014-01-13 23:11:44 +01:00
Akshay Surve 3aa46da471 Adds Akshay Surve to Rails Guides credits list
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:
ff359af865/railties/doc/guides/source/testing_rails_applications.txt
2013-08-23 18:09:49 +05:30
Rafael Mendonça França 6f014b346f Merge pull request #11073 from tricknotes/improve-guides-js
Improve guides js
2013-07-09 02:47:04 -07:00
Paul Nikitochkin 448ed61b8d Added cursor pointer for 'More Ruby on Rails'
dropdown menu on guides page (which appear on small windows)
[ci skip]
2013-07-08 11:52:52 +03:00
Arun Agrawal 9bcc2bb6fa [doc] fixed printing of code samples 2013-07-02 23:35:06 +02:00
Dima Zudochkin 8067dbea33 Fixed menu section's location (guides) 2013-06-25 22:35:19 +04:00
Ryunosuke SATO 501e663a25 Improve js written for guides
* 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
2013-06-25 01:43:11 +09:00
Vijay Dev 1283a52db8 Revert "Whitespace trimming in guides generation"
This reverts commit 91a1cf7013.

Reason: code changes disallowed in docrails, even if they are
guides generation related.
2013-06-14 00:30:40 +05:30
Rashmi Yadav f7cf0a3932 Image optimized for web view
Used imageoptim, Saved few bytes
http://imageoptim.com/
2013-06-09 13:27:14 +02:00
Sunny Ripert 91a1cf7013 Whitespace trimming in guides generation 2013-05-28 15:04:59 +02:00
Jaime Iniesta 952f0faf92 removes forgotten avatar 2013-05-27 20:36:45 +02:00
Vipul A M bdaaaf6c71 fix typo 2013-05-02 19:14:45 +05:30
Richard Owen d4c8de9e48 Move 2 images to getting_started folder. All other images in getting started guide already in this folder. 2013-04-28 19:43:13 +01:00
Richard Owen 36ed77806b New rails welcome screen 2013-04-28 19:39:31 +01:00
Chandresh Pant 7f82aa3ac7 correct image for unknown_action_create_for_posts.png 2013-04-05 16:43:24 +05:30
Steve Klabnik 19797df29e Update image in Getting Started Guide [ci skip]
When I updated these images, I must have gotten this one wrong. Now it's
right.

Fixes #9749.
2013-03-16 14:14:50 -07:00
Steve Klabnik aadd16f913 Getting Started Guide: strong_parameters
Stuff didn't work because of strong_parameters. Now the right calls are
in place.
2013-01-22 00:08:31 -05:00
Steve Klabnik a1748f310e Fix images in getting started guide.
We changed the error style, so they're all wrong. Now they're right.
😄
2013-01-22 00:08:24 -05:00
Xavier Noria 7d365135a3 Merge pull request #8770 from goshakkk/guides-img-fix
Fix img width in guides
2013-01-06 08:14:59 -08:00
Gosha Arinich 76ab8be613 fix guides' warning bottom padding 2013-01-06 01:18:21 +03:00
Gosha Arinich 5322a3e95e fix img width in guides 2013-01-05 20:16:31 +03:00
Vijay Dev 9d3ce6c7d2 Updated 4.0 release notes
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]
2012-12-04 22:17:29 +05:30
Steve Klabnik 55a2820cc6 Here's a few updates to the validations guide. A bunch of small changes,
plus:

* 80 column formats
* replacing the explanation of the dynamic_form gem with the example
  HTML/CSS that Rails scaffolds generate.
2012-12-01 10:25:16 -08:00
Carlos Antonio da Silva c233b2f653 Fix guides home links and maintain compatibility with small screens
Commit 65a2977cdd 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]
2012-11-07 09:22:14 -02:00
Carlos Antonio da Silva 5cb2edce7f Minor css style improvements
Fix some indenting for some properties and closing }, remove tabs, and
merge two pre/code definitions.

[ci skip]
2012-11-04 23:29:42 -02:00
Carlos Antonio da Silva 3f705b6519 Restore index link states to the way they are in current guide
Current stable guides show the "Guides Index" links without underline,
just showing it when it's hovered. This restores the same functionality
for edge guides.

Also remove annoying pointer cursor while accessing guides index,
restoring previously functionality: now the pointer cursor only appears
when hovering a link.

Closes #8107 [ci skip]
2012-11-04 23:28:53 -02:00
Joe Fiorini 65a2977cdd [Guides] Format content for small devices 2012-10-06 16:40:51 -04:00
Joe Fiorini 03bcd416b0 [Guides] Navigation styling for small devices 2012-10-06 16:38:37 -04:00
Prem Sichanugrist 5a4622b8b8 Retain heading styles in the page chapters list 2012-09-17 15:54:23 -04:00
Prem Sichanugrist 544f6bcb90 Start rewriting 4.0 release note into Markdown 2012-09-17 15:54:21 -04:00
Vijay Dev 9ae0c66787 Merge pull request #6383 from oscardelben/add_oscardelben_to_authors
Add oscardelben to authors
2012-05-23 10:49:06 -07:00
Oscar Del Ben d3f57fbf6e Add oscardelben to authors 2012-05-18 08:45:03 -07:00
Ayrton De Craene 60da3bdc77 Compressed all images from the guide through ImageOptim which saves sometimes up to 74.6% in size [ci skip] 2012-05-07 19:12:41 +02:00
Oscar Del Ben 47ec49276d Rewrite comments action in getting started guide 2012-05-02 11:40:25 +02:00
Oscar Del Ben f4447607f2 Add delete post section to Getting Started guide 2012-04-27 14:21:02 +02:00
Oscar Del Ben ee4e7125a6 Add partials section to getting started guide 2012-04-25 15:43:10 +02:00
Oscar Del Ben 6f09291104 Add screenshot to updating post section 2012-04-25 12:18:55 +02:00
Vijay Dev 023cfd3a5c Merge pull request #92 from geetarista/add-favicon
Adds favicon to guides layout
2012-04-22 13:33:16 -07:00
Robby Colvin 9e60cc2e48 Adds favicon to guides layout 2012-04-22 13:20:22 -07:00
Oscar Del Ben 3da2b530af Add validation code to getting started guide and improve validation
section
2012-04-21 12:17:51 +02:00
Oscar Del Ben 504ba12e8c Add model validation section to Getting Started guide 2012-04-21 12:01:33 +02:00
Oscar Del Ben 2e2afc0ac6 Add show action in getting started guide 2012-04-20 12:06:47 +02:00
Rafaël Blais Masson fe1e039a69 Make body background white for Lion scrollbar to be dark 2012-03-29 08:15:17 -04:00
Ryan Bigg edad287e84 [getting started] Add images 2012-03-17 20:40:05 -06:00
Xavier Noria 6d87cd028b moves the guides up to the root directory 2012-03-17 08:32:49 -07:00