Commit Graph

144 Commits

Author SHA1 Message Date
Roy Tomeij
3461a5d436 Change "SCSS" to "Sass" in sentences where it's referred to as "language", because Sass is the language (SCSS is one possible syntax within the Sass language), as per documentation on sass-lang.com. 2011-09-01 17:24:26 +02:00
Richard Hulse
cfd785f910 Move css data URI into css/erb section 2011-09-01 21:20:26 +12:00
Richard Hulse
1f998c7578 pipeline docs improvement
Some cleaning up of whitespace/punctuation
and text refinements to clarify some things.
2011-09-01 21:15:06 +12:00
Richard Hulse
5421d4d016 pipeline docs - spelling and some whitespace 2011-09-01 18:25:24 +12:00
Guillermo Iguaran
72fea6d2eb Adding reference about ExecJS for CoffeeScript 2011-09-01 01:18:20 -05:00
Guillermo Iguaran
fdf2f519bd Add reference to ExecJS in JavaScript Compression section 2011-09-01 01:15:19 -05:00
Guillermo Iguaran
418e321b50 Fixing sass-rails helpers methods examples 2011-09-01 01:01:31 -05:00
Guillermo Iguaran
4ba35dd26b Giving info about what are the defaults for test environment 2011-09-01 00:35:01 -05:00
Richard Hulse
ed1dfaf48d update pipeline docs to reflect new defaults
Production section has been changed to reflect the
new default of precompilation and using the asset
manifest.

Development has been swapped around to reflect the
new default (debug mode is on).

Other changes to support this elsewhere.
2011-09-01 13:28:33 +12:00
Kir
6ce6ba8638 Instructions for nginx and apache added 2011-08-31 16:09:41 -07:00
Richard Hulse
054bdc1f59 Add section to pipeline docs to help people upgrading
These are the options from a brand new app, and
should help people get it right when upgrading.
2011-09-01 09:11:00 +12:00
Andrew Olson
120b534d8e Fixing spelling, throught -> through. 2011-08-31 14:18:01 -04:00
Xavier Noria
e746c4047c syncs assets guide with what's in 3-1-stable 2011-08-31 02:04:36 -07:00
Xavier Noria
2350fecd22 adds the asset pipeline guide to the index 2011-08-30 13:48:16 -07:00
Igor Zubkov
871696a01a Documentation fixes 2011-08-29 02:37:56 +03:00
Guillermo Iguaran
3731a0f97b Update Debugging Assets section of Assets Pipeline guide 2011-08-25 09:49:18 -05:00
Andrey A.I. Sitnik
18b2223b32 Allow to debug assets by config.assets.debug 2011-08-22 09:36:36 +11:00
Sebastian Martinez
0b3b91cdcd Document debugging assets set by default for dev and test envs in the asset_pipeline guide. 2011-08-19 19:45:55 -03:00
Jeff Dutil
6783ce0de4 Updates to remove extra whitespaces and notably fix a whitespace issue with ajax_on_rails causing a code block not to render the entire block properly. 2011-08-16 23:35:40 -04:00
JESii
f7626ea38e Updates to Asset Pipeline Guide
Grammar/syntax/style changes:
1. Changed all 'we' to 'you'
2. Corrected typos
3. Make consistent styline (e.g., dashes & double-dash usage)
4. Change use of future tense (will...) to present tense (easier to read).
2011-08-15 15:17:13 -07:00
Vijay Dev
c0c5d5fd2e assets guide - add info about require_directory, minor rephrasings 2011-08-15 21:46:21 +05:30
Richard Hulse
49e81f21a3 [asset pipeline] update snippet to reflect patch
Two commented lines in example to match the
commit (8845ae683e2688)
2011-08-13 16:22:33 -07:00
Richard Hulse
32da2f864e [asset pipeline] update to reflect new sendfile header default
X-Sendfile headers are now set to nil and are off by default.
See commit eff7fddeb26eaa346827
2011-08-13 16:22:33 -07:00
Richard Hulse
b840d71bfb [asset pipeline] Update Capistrano info
v2.8.0 of Capistrano has a recipe to handle precompile
and symlinking.
2011-08-13 16:22:33 -07:00
Richard Hulse
bc49d6d1eb [asset pipeline] fixed example
Changed << to += because we are _concatenating_
this new array to the end of config array, NOT
pushing this array in it.
2011-08-13 16:22:31 -07:00
Evan Farrar
66b4d11236 Changed several instances of British English to be American English 2011-07-23 13:57:56 -04:00
Xavier Noria
38310ab1a6 little details seen while doing a pass through what's new in docrails 2011-07-23 12:14:10 +02:00
Igor Zubkov
e7a7591087 Fix typo 2011-07-21 14:58:20 +03:00
Evan Machnic
51df7cac8f Fixed asset_url in asset_pipeline doc 2011-07-19 14:59:06 -04:00
Evan Machnic
f1a239fd6d Merge branch 'master' of github.com:lifo/docrails 2011-07-19 14:46:24 -04:00
Evan Machnic
2f4d9ef34e image_url documentation in asset_pipelin doc 2011-07-19 14:46:19 -04:00
Vijay Dev
4a54e40488 Fixing the incorrect change made in bae54c5 2011-07-20 00:03:28 +05:30
Vijay Dev
09dd03095a some corrections in assets pipeline guide 2011-07-20 00:03:28 +05:30
Evan Machnic
0cf5160a80 Capitalization compliance for asset_pipeline doc 2011-07-19 13:36:50 -04:00
Ryan Bigg
2f69469479 Complete another review of asset pipeline guide 2011-07-18 16:28:22 +10:00
Richard Hulse
27b1bf3c1f [asset pipeline] update capistrano task code
This code actually works.
2011-07-18 11:02:46 +12:00
Richard Hulse
5187264e19 [asset pipeline] Correct CSS section and include Gem details
Also added note about compress option, which was 
not mentioned anywhere and is required
2011-07-17 20:22:25 +12:00
Sam Umbach
bae54c5430 Switch Tilt link to Textile format 2011-07-16 21:08:14 -07:00
Sam Umbach
ade629e206 Fix typo 2011-07-16 21:02:36 -07:00
Richard Hulse
86869a09ee [asset pipeline] A few corrections and some new material
Add notes about capistrano task being added to that project
and correction to information about precompilation.
2011-07-17 14:19:04 +12:00
Richard Hulse
0f78aeee87 [asset pipeline] Add section on sendfile option
This option has caught a few people out, so it
is a good idea to include an explanation and
a Gotcha.

See Rails bug 1822
See 1822 comment 1585926 for resolution
2011-07-16 19:05:42 +12:00
Richard Hulse
28d5d22f5a [asset pipeline] Added information about data uri helper
See Sprockets issue 111
and Sprockets commit cd38a1670a
2011-07-15 16:19:11 +12:00
joeellis
cd8530db3c Minor grammar mistake 2011-07-14 09:17:29 -07:00
Richard Hulse
5dcebd7e38 [asset pipeline] add capistrano task
Task still needs to symlink default rails default
filestore location, but code may still be settling
2011-07-13 21:20:53 +12:00
Richard Hulse
826820fb7f [asset pipeline] more updates to docs 2011-07-11 19:55:03 +12:00
Ryan Bigg
1835aba6f1 Add section about debugging assets 2011-07-09 10:54:08 +10:00
Ryan Bigg
678dd6f5d6 Clarify that per-controller asset files are not 'magically' loaded by the controller, but rather need to be required 2011-07-09 10:54:08 +10:00
JudeArasu
a95d7d86c8 rails text been added before version 2011-07-05 22:49:44 +05:30
Mohammad Typaldos
47139b8cb6 Edited railties/guides/source/asset_pipeline.textile via GitHub 2011-07-03 07:13:20 -07:00
Richard Hulse
a715c37218 [asset pipeline] expand section on configuration 2011-07-03 17:20:04 +12:00
Richard Hulse
c7dec1716e [asset pipeline] More updates
resources for fingerprinting, grammar,CSS
2011-07-03 14:11:41 +12:00
Richard Hulse
0dc2c57bb3 [asset pipeline] Add resources to fingerprinting 2011-07-03 13:53:39 +12:00
Richard Hulse
cfbed13a61 [asset pipeline] what is fingerprinting section 2011-07-03 12:30:09 +12:00
Richard Hulse
870d07032f [asset pipeline] spelling ! 2011-07-03 09:44:50 +12:00
Richard Hulse
2a06de86fa [asset pipeline] Add new rationale section
This will contain details about fingerprinting.
2011-07-03 08:31:21 +12:00
Richard Hulse
8de6ded7a5 [asset pipeline] refactor docs and add new content
This changes the document around and adds more details about
the rationale behind the pipeline. Still a WIP.
2011-07-01 22:34:17 +12:00
Ryan Bigg
6a1803a14f [asset pipeline] Add production assets section 2011-06-28 08:25:14 +10:00
Ryan Bigg
9959fa2d15 [asset pipeline] Add examples of javascript_include_tag and stylesheet_link_tag 2011-06-28 08:24:59 +10:00
Ryan Bigg
703b00947d [Asset pipeline] Move external assets section down to 'Adding assets to your gems' section 2011-06-28 08:22:38 +10:00
Ryan Bigg
49bb053b17 [asset pipeline] production assets covered later in the guide 2011-06-28 08:15:41 +10:00
Ryan Bigg
87a709846e [asset pipeline] sections at the bottom of the asset pipeline guide should all be toplevel 2011-06-28 08:15:04 +10:00
Ryan Bigg
fb7ea76c1b [asset pipeline] Mention that hashed files are also picked up by Sprockets 2011-06-28 08:09:04 +10:00
Ryan Bigg
22b508d961 [asset pipeline] Cascade -> Cascading 2011-06-28 07:55:14 +10:00
Vijay Dev
adf334853f fix javascript case 2011-06-28 02:16:56 +05:30
Ryan Bigg
1b089a083f Refer to sprockets + jammit as libraries, not gems 2011-06-26 15:41:11 +10:00
Mohammad Typaldos
837a74bc0f Edited railties/guides/source/asset_pipeline.textile via GitHub 2011-06-24 06:33:59 -07:00
Mohammad Typaldos
c01c954c20 Added Gzip to Asset Pipeline via GitHub 2011-06-21 04:23:35 -07:00
Mohammad Typaldos
fcebf9fd93 Sprockets itself doesn't compress 2011-06-20 23:29:39 -07:00
Mohammad Typaldos
2d4d9f1937 Edited railties/guides/source/asset_pipeline.textile via GitHub 2011-06-20 23:23:55 -07:00
Mohammad Typaldos
8d64aafa98 Consistency issues with pre-processor 2011-06-18 15:13:41 -07:00
Mohammad Typaldos
04daede85d Edited railties/guides/source/asset_pipeline.textile via GitHub 2011-06-18 11:57:15 -07:00
Mohammad Typaldos
8bb7c86396 Let the reader know what JS and CSS stand for. Slight rewording as well. 2011-06-18 11:48:00 -07:00
Vijay Dev
5225227110 edit assets guide for cases & minor wording changes 2011-06-18 22:19:32 +05:30
Mohammad Typaldos
618802df71 Sprockets itself doesn't do this, it's uglifier and other gems, Sprockets is just the puppet master. 2011-06-18 09:00:13 -07:00
Mohammad Typaldos
4a36817b5d Edited railties/guides/source/asset_pipeline.textile via GitHub 2011-06-18 08:58:38 -07:00
Scott Stewart
a637e1dcb1 Fixed typo in asset_pipeline, jquery_rails should be jquery-rails 2011-06-18 06:40:27 -07:00
Scott Stewart
0a45e24879 Edited railties/guides/source/asset_pipeline.textile via GitHub 2011-06-18 06:31:22 -07:00
Leonard Garvey
38aa153f9e Merge github.com:lifo/docrails 2011-06-18 21:20:19 +10:00
Leonard Garvey
fb9bfc2430 Fixed a typo in asset pipeline 2011-06-18 21:15:49 +10:00
Ryan Bigg
4f301b2540 Fix indentation on manifest examples in assets guide 2011-06-18 21:11:15 +10:00
Ryan Bigg
d746aea6f9 File needs to be at public/assets, not public/images 2011-06-18 21:10:21 +10:00
Ryan Bigg
c8f046bd45 Flesh out the asset pipeline guide with information learned from today's research 2011-06-18 19:45:31 +10:00
Mohammad Typaldos
45a5201b86 Match tone already established 2011-06-09 03:57:55 -04:00
Mohammad Typaldos
fe2482e50b require_tree is pretty simple 2011-06-08 18:50:55 -04:00
Mohammad Typaldos
a620e65053 Edited railties/guides/source/asset_pipeline.textile via GitHub 2011-06-05 14:49:50 -07:00
Mohammad Typaldos
910ebe1193 Stubbing and some content addition and changes 2011-05-30 08:38:11 -04:00
Mohammad Typaldos
d0082bfa87 What is the asset pipeline? 2011-05-30 08:12:27 -04:00
Evan Farrar
91b19186f7 Spelling corrections in the guides. 2011-05-29 22:08:41 -04:00
Mohammad Typaldos
ace7508715 Adding assets to a gem 2011-05-29 20:39:33 -04:00
Evan Farrar
8314c8ebb9 Typo in the asset pipeline guide. 2011-05-29 10:37:07 -04:00
Mohammad Typaldos
07dcae093b Fixes spelling mistakes pointed out by @vijaydev 2011-05-29 06:45:57 -04:00
Mohammad Typaldos
9342ad6748 Changes wording to make it a bit eaiser to understand 2011-05-29 06:43:35 -04:00
Mohammad Typaldos
4967b35e00 Why should you use the asset pipeline? 2011-05-29 06:37:08 -04:00
Mohammad El-Abid
99dd117d62 Adds outline draft#1 for the Asset Pipeline, please comment if you have thoughts about it! 2011-05-25 02:10:14 -04:00