Skip to content

Commit 7cbf8be

Browse files
committed
minor #7247 Revert the merge of #7141 (xabbuh)
This PR was merged into the 2.7 branch. Discussion ---------- Revert the merge of #7141 I shouldn't have merged #7141 into the `2.7` branch as the related code PR (symfony/symfony#17532) was released with Symfony 3.1. Commits ------- 0f7c7d5 Revert "minor #7141 Added "How to Use a Custom Version Strategy for Assets" (teohhanhui, javiereguiluz)"
2 parents 7c8c648 + 0f7c7d5 commit 7cbf8be

File tree

2 files changed

+0
-216
lines changed

2 files changed

+0
-216
lines changed

frontend/custom_version_strategy.rst

Lines changed: 0 additions & 201 deletions
This file was deleted.

reference/configuration/framework.rst

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ Configuration
7575
* `packages`_
7676
* `version`_
7777
* `version_format`_
78-
* `version_strategy`_
7978
* `templating`_
8079
* `hinclude_default_template`_
8180
* :ref:`form <reference-templating-form>`
@@ -946,8 +945,6 @@ collection each time it generates an asset's path:
946945
),
947946
));
948947
949-
.. _reference-framework-assets-packages:
950-
951948
packages
952949
........
953950

@@ -1016,7 +1013,6 @@ Each package can configure the following options:
10161013
* :ref:`base_urls <reference-assets-base-urls>`
10171014
* :ref:`version <reference-framework-assets-version>`
10181015
* :ref:`version_format <reference-assets-version-format>`
1019-
* :ref:`version_strategy <reference-framework-assets-version_strategy>`
10201016

10211017
.. _reference-framework-assets-version:
10221018
.. _ref-framework-assets-version:
@@ -1094,7 +1090,6 @@ option.
10941090
``version``. This makes it easier to increment the cache on each
10951091
deployment.
10961092

1097-
.. _reference-framework-assets-version-format:
10981093
.. _reference-templating-version-format:
10991094
.. _reference-assets-version-format:
11001095

@@ -1135,16 +1130,6 @@ is set to ``5``, the asset's path would be ``/images/logo.png?version=5``.
11351130
any URL rewriting. The latter option is useful if you would like older
11361131
asset versions to remain accessible at their original URL.
11371132

1138-
.. _reference-framework-assets-version_strategy:
1139-
1140-
version_strategy
1141-
................
1142-
1143-
**type**: ``string`` **default**: null
1144-
1145-
The service id of the :doc:`asset version strategy </frontend/custom_version_strategy>`
1146-
applied to the assets.
1147-
11481133
templating
11491134
~~~~~~~~~~
11501135

0 commit comments

Comments
 (0)