Skip to content

[WIP] Cookbook grammar and style fixes #4693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Style / grammar fixes for the assetic chapter
  • Loading branch information
frne committed Dec 24, 2014
commit 4588313f59bc44be13ead44212080af014cd1eee
4 changes: 2 additions & 2 deletions cookbook/assetic/asset_management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ To include JavaScript files, use the ``javascripts`` tag in any template:

You can also include CSS Stylesheets: see :ref:`cookbook-assetic-including-css`.

In this example, all of the files in the ``Resources/public/js/`` directory
In this example, all the files in the ``Resources/public/js/`` directory
of the ``AcmeFooBundle`` will be loaded and served from a different location.
The actual rendered tag might simply look like:

Expand Down Expand Up @@ -351,7 +351,7 @@ Filters
Once they're managed by Assetic, you can apply filters to your assets before
they are served. This includes filters that compress the output of your assets
for smaller file sizes (and better front-end optimization). Other filters
can compile JavaScript file from CoffeeScript files and process SASS into CSS.
can compile CoffeeScript files to JavaScript and process SASS into CSS.
In fact, Assetic has a long list of available filters.

Many of the filters do not do the work directly, but use existing third-party
Expand Down
4 changes: 2 additions & 2 deletions cookbook/assetic/jpeg_optimize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
How to Use Assetic for Image Optimization with Twig Functions
=============================================================

Amongst its many filters, Assetic has four filters which can be used for on-the-fly
Among its many filters, Assetic has four filters which can be used for on-the-fly
image optimization. This allows you to get the benefits of smaller file sizes
without having to use an image editor to process each image. The results
are cached and can be dumped for production so there is no performance hit
Expand Down Expand Up @@ -74,7 +74,7 @@ It can now be used from a template:
Removing all EXIF Data
~~~~~~~~~~~~~~~~~~~~~~

By default, running this filter only removes some of the meta information
By default, running this filter only removes some meta information
stored in the file. Any EXIF data and comments are not removed, but you can
remove these by using the ``strip_all`` option:

Expand Down
2 changes: 1 addition & 1 deletion cookbook/assetic/yuicompressor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Download the YUI Compressor JAR
-------------------------------

The YUI Compressor is written in Java and distributed as a JAR. `Download the JAR`_
from the Yahoo! site and save it to ``app/Resources/java/yuicompressor.jar``.
from the Yahoo! website and save it to ``app/Resources/java/yuicompressor.jar``.

Configure the YUI Filters
-------------------------
Expand Down