8000 Added the version_strategy option to the config reference · symfony/symfony-docs@a02f3b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit a02f3b3

Browse files
committed
Added the version_strategy option to the config reference
1 parent 2830ba0 commit a02f3b3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/configuration/framework.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Configuration
7575
* `packages`_
7676
* `version`_
7777
* `version_format`_
78+
* `version_strategy`_
7879
* `templating`_
7980
* `hinclude_default_template`_
8081
* :ref:`form <reference-templating-form>`
@@ -1015,6 +1016,7 @@ Each package can configure the following options:
10151016
* :ref:`base_urls <reference-assets-base-urls>`
10161017
* :ref:`version <reference-framework-assets-version>`
10171018
* :ref:`version_format <reference-assets-version-format>`
1019+
* :ref:`version_strategy <reference-assets-version-strategy>`
10181020

10191021
.. _reference-framework-assets-version:
10201022
.. _ref-framework-assets-version:
@@ -1133,6 +1135,16 @@ is set to ``5``, the asset's path would be ``/images/logo.png?version=5``.
11331135
any URL rewriting. The latter option is useful if you would like older
11341136
asset versions to remain accessible at their original URL.
11351137

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+
11361148
templating
11371149
~~~~~~~~~~
11381150

0 commit comments

Comments
 (0)
0