Skip to content

Commit 31f8116

Browse files
committed
Reworded the main WebLink articles
1 parent 2b637e3 commit 31f8116

File tree

6 files changed

+140
-248
lines changed

6 files changed

+140
-248
lines changed
-356 KB
Binary file not shown.
-358 KB
Binary file not shown.
-55.5 KB
Binary file not shown.
-367 KB
Binary file not shown.

components/weblink.rst

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
The WebLink Component
66
======================
77

8-
The WebLink component provides tools to create `Web Links`_.
9-
It allows to easily leverage `HTTP/2 Server Push`_ as well as `Resource Hints`_.
10-
11-
.. versionadded:: 3.3
12-
The WebLink component was introduced in Symfony 3.3.
8+
The WebLink component provides tools to manage the ``Link`` HTTP header needed
9+
for `Web Linking`_ when using `HTTP/2 Server Push`_ as well as `Resource Hints`_.
1310

1411
Installation
1512
------------
@@ -25,7 +22,7 @@ Alternatively, you can clone the `<https://github.com/symfony/weblink>`_ reposit
2522
Usage
2623
-----
2724

28-
Basic usage::
25+
The following example shows the component in action::
2926

3027
use Fig\Link\GenericLinkProvider;
3128
use Fig\Link\Link;
@@ -38,12 +35,9 @@ Basic usage::
3835

3936
echo 'Hello';
4037

38+
Read the full :doc:`WebLink documentation </weblink>` to learn about all the
39+
features of the component and its integration with the Symfony framework.
4140

42-
.. seealso::
43-
44-
Read the :doc:`WebLink documentation </weblink>` to learn how
45-
to use the features implemented by this component.
46-
47-
.. _`Web Links`: https://tools.ietf.org/html/rfc5988
41+
.. _`Web Linking`: https://tools.ietf.org/html/rfc5988
4842
.. _`HTTP/2 Server Push`: https://tools.ietf.org/html/rfc7540#section-8.2
4943
.. _`Resource Hints`: https://www.w3.org/TR/resource-hints/

0 commit comments

Comments
 (0)