-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Added the documentation for the new Asset component #4987
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
Closed
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9e1ac65
Added the documentation for the new Asset component
javiereguiluz bc3403a
Minor rewording
javiereguiluz e6e2ba4
Added a missing link reference
javiereguiluz 7312638
Tweaked documentation and added links to API methods/classes
javiereguiluz ac58089
Fixed a lot of errors and added an introduction
javiereguiluz 9c456e3
Moved the component documentation to its own folder
javiereguiluz 3c83243
Fixed some RST syntax issues
javiereguiluz 6f7a63e
Fixed RST syntax issues
javiereguiluz 6c2b2ee
Lots of fixes and rewordings
javiereguiluz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Minor rewording
- Loading branch information
commit bc3403a4be0707c87e38c4051a1a3a98b06bdb1d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
The Asset Component | ||
=================== | ||
|
||
The Asset manages URL generation and versioning for web assets such as CSS | ||
stylsheets, JavaScript files and image files. | ||
The Asset component manages URL generation and versioning of web assets such | ||
as CSS stylsheets, JavaScript files and image files. | ||
|
||
Installation | ||
------------ | ||
|
@@ -62,7 +62,7 @@ the application's assets. Asset versions are commonly used to control how these | |
assets are cached. | ||
|
||
Instead of relying on a simple version mechanism, the Asset component allows to | ||
define advanced version strategies via PHP classes. The two built-in strategies | ||
define advanced versioning strategies via PHP classes. The two built-in strategies | ||
provided by the component are ``EmptyVersionStrategy``, which doesn't add any | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would love to use API links here |
||
version to the asset, and ``StaticVersionStrategy``, which allows to set the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should remove the serial comma here |
||
version with a format string. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo ("stylsheets")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. Thank you!