8000 Merge branch '3.4' into 4.1 · symfony/symfony-docs@202164c · GitHub
[go: up one dir, main page]

Skip to content

Commit 202164c

Browse files
committed
Merge branch '3.4' into 4.1
* 3.4: [WebLink] Fix composer package and name
2 parents 89074e6 + 035deff commit 202164c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/weblink.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Installation
1313

1414
.. code-block:: terminal
1515
16-
$ composer require symfony/weblink
16+
$ composer require symfony/web-link
1717
1818
Alternatively, you can clone the `<https://github.com/symfony/weblink>`_ repository.
1919

weblink.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ To do that, first install the WebLink component:
5050

5151
.. code-block:: terminal
5252
53-
$ composer req weblink
53+
$ composer req web-link
5454
5555
Now, update the template to use the ``preload()`` Twig function provided by
5656
WebLink:
@@ -99,7 +99,7 @@ issuing an early separate HTTP request, use the ``nopush`` option:
9999
Resource Hints
100100
--------------
101101

102-
Resource Hints are used by applications to help browsers when deciding which
102+
`Resource Hints`_ are used by applications to help browsers when deciding which
103103
resources should be downloaded, preprocessed or connected to first.
104104

105105
The WebLink component provides the following Twig functions to send those hints:

0 commit comments

Comments
 (0)
0