Skip to content

Commit 9dccb18

Browse files
authored
Merge pull request #494 from FriendsOfSymfony/update-symfony-doc-links
update doc links to symfony doc to correct target urls
2 parents 47009c2 + 9f7c4c2 commit 9dccb18

File tree

11 files changed

+21
-18
lines changed

11 files changed

+21
-18
lines changed

Resources/doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,6 @@
249249
intersphinx_mapping = {'foshttpcache': ('http://foshttpcache.readthedocs.org/en/latest/', None)}
250250

251251
rst_epilog = """
252-
.. _expressions: http://symfony.com/doc/current/components/expression_language/index.html
252+
.. _expressions: https://symfony.com/doc/current/components/expression_language.html
253253
.. _FOSHttpCache: https://github.com/FriendsOfSymfony/FOSHttpCache
254254
"""

Resources/doc/features/headers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ This is an example configuration. For more, see the
6969
cache_control: { public: true, max_age: 15, s_maxage: 30 }
7070
etag: "strong"
7171
72-
.. _manually setting cache headers: http://symfony.com/doc/current/book/http_cache.html#the-cache-control-header
73-
.. _setting caching headers through annotations: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/cache.html
72+
.. _manually setting cache headers: https://symfony.com/doc/current/http_cache.html#the-cache-control-header
73+
.. _setting caching headers through annotations: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/cache.html

Resources/doc/features/symfony-http-cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ than creating one::
122122
Once your bootstrapping is adjusted, set the configuration option
123123
``fos_http_cache.proxy_client.symfony.use_kernel_dispatcher: true``.
124124

125-
.. _Symfony HttpCache documentation: http://symfony.com/doc/current/book/http_cache.html#symfony-reverse-proxy
125+
.. _Symfony HttpCache documentation: https://symfony.com/doc/current/http_cache.html#symfony-reverse-proxy

Resources/doc/features/tagging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,4 @@ See the :ref:`@Tag reference <tag>` for full details.
169169

170170
.. _Tagged Cache Invalidation: http://blog.kevburnsjr.com/tagged-cache-invalidation
171171
.. _Linked Cache Invalidation: http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-03
172-
.. _expressions: http://symfony.com/doc/current/components/expression_language/index.html
172+
.. _expressions: https://symfony.com/doc/current/components/expression_language.html

Resources/doc/features/user-context.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ controller, as the request listener will abort the request right after the
6363
firewall has been applied, but the route definition must exist. Use the same
6464
path as you specified in the caching proxy and make sure that this path is
6565
allowed for anonymous users and covered by your
66-
`firewall configuration <http://symfony.com/doc/current/book/security.html>`_:
66+
`firewall configuration`_:
6767

6868
.. code-block:: yaml
6969
@@ -135,3 +135,4 @@ You can do so by configuring :ref:`hash_cache_ttl`.
135135
.. _CORS requests: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
136136
.. _terminal42/header-replay-bundle: https://github.com/terminal42/header-replay-bundle
137137
.. _HeaderReplayBundle documentation: https://github.com/terminal42/header-replay-bundle#terminal42header-replay-bundle
138+
.. _firewall configuration: https://symfony.com/doc/current/security.html#a-authentication-firewalls

Resources/doc/includes/expression-language.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ If your application is using a `custom expression language`_ which is extended
77
from Symfony's `expression language component`_, you can `define it as a service`_
88
and include it in the configuration.
99

10-
.. _expression language component: http://symfony.com/doc/current/components/expression_language/index.html
11-
.. _define it as a service: http://symfony.com/doc/current/cookbook/controller/service.html
12-
.. _custom expression language: http://symfony.com/doc/current/components/expression_language/extending.html
10+
.. _expression language component: https://symfony.com/doc/current/components/expression_language.html
11+
.. _define it as a service: https://symfony.com/doc/current/controller/service.html
12+
.. _custom expression language: https://symfony.com/doc/current/components/expression_language/extending.html

Resources/doc/overview.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This bundle is released under the MIT license.
108108
:language: none
109109

110110
.. _Packagist: https://packagist.org/packages/friendsofsymfony/http-cache-bundle
111-
.. _SensioFrameworkExtraBundle: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
112-
.. _ExpressionLanguage: http://symfony.com/doc/current/components/expression_language/introduction.html
113-
.. _Symfony: http://symfony.com/doc/current/book/http_cache.html#the-cache-control-header
111+
.. _SensioFrameworkExtraBundle: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
112+
.. _ExpressionLanguage: https://symfony.com/doc/current/components/expression_language.html
113+
.. _Symfony: https://symfony.com/doc/current/http_cache.html#the-cache-control-header
114114
.. _client implementations: https://packagist.org/providers/php-http/client-implementation

Resources/doc/reference/annotations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ See :doc:`/features/tagging` for an introduction to tagging.
136136
If you wish to change the HTTP header used for storing tags, see
137137
:doc:`/reference/configuration/tags`.
138138

139-
.. _param converter: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
139+
.. _param converter: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html

Resources/doc/reference/cache-manager.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,5 @@ You can also flush the cache manager manually::
114114

115115
$cacheManager->flush();
116116

117-
.. _kernel.terminate event: http://symfony.com/doc/current/components/http_kernel/introduction.html#the-kernel-terminate-event
118-
.. _console.terminate event: http://symfony.com/doc/current/components/console/events.html#the-consoleevents-terminate-event
117+
.. _kernel.terminate event: https://symfony.com/doc/current/components/http_kernel.html#the-kernel-terminate-event
118+
.. _console.terminate event: https://symfony.com/doc/current/components/console/events.html#the-consoleevents-terminate-event

Resources/doc/reference/configuration/match.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ regular expressions.
149149
match:
150150
attributes: { _controller: ^AcmeBundle:Default:.* }
151151
152-
.. _Trusting Proxies: http://symfony.com/doc/current/components/http_foundation/trusting_proxies.html
153-
.. _controllers as services: http://symfony.com/doc/current/cookbook/controller/service.html
152+
.. _Trusting Proxies: https://symfony.com/doc/current/deployment/proxies.html
153+
.. _controllers as services: https://symfony.com/doc/current/controller/service.html
154154
.. _RFC 7231: http://tools.ietf.org/html/rfc7231#page-48

Resources/doc/reference/configuration/user-context.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ triggered:
3737
3838
.. important::
3939

40-
If you are using `Symfony security <http://symfony.com/doc/current/book/security.html>`_
40+
If you are using `Symfony security`_
4141
for the hash generation, make sure that this route is inside the firewall
4242
for which you are doing the cache groups.
4343

@@ -266,3 +266,5 @@ is called when the hash is generated.
266266
->register('acme.demo_bundle.my_service', '%acme.demo_bundle.my_service.class%')
267267
->addTag('fos_http_cache.user_context_provider', array('priority' => 10))
268268
;
269+
270+
.. _Symfony security: https://symfony.com/doc/current/security.html

0 commit comments

Comments
 (0)