Skip to content

Commit a22a76f

Browse files
committed
Fix several [[= symfony_doc =]] links
1 parent d913e30 commit a22a76f

File tree

12 files changed

+32
-32
lines changed

12 files changed

+32
-32
lines changed

docs/api/field_type_type_and_value.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ services:
118118
119119
#### `parent`
120120

121-
As described in the [Symfony service container documentation]([[= symfony_doc =]]/components/dependency_injection/parentservices.html), the `parent` config key indicates that you want your service to inherit from the parent's dependencies, including constructor arguments and method calls. This helps avoiding repetition in your Field Type configuration and keeps consistency between all Field Types.
121+
As described in the [Symfony service container documentation]([[= symfony_doc =]]/service_container/parent_services.html), the `parent` config key indicates that you want your service to inherit from the parent's dependencies, including constructor arguments and method calls. This helps avoiding repetition in your Field Type configuration and keeps consistency between all Field Types.
122122
If you need to inject other services into your Type class, skip using the `parent` config key.
123123

124124
#### `tags`
@@ -128,7 +128,7 @@ Like most API components, Field Types use the [Symfony service tag mechanism]([[
128128
A service can be assigned one or several tags, with specific parameters.
129129
When the [service container](../api/public_php_api.md#service-container) is compiled into a PHP file,
130130
tags are read by `CompilerPass` implementations that add extra handling for tagged services.
131-
Each service tagged as `ezplatform.field_type` is added to a [registry](http://martinfowler.com/eaaCatalog/registry.html) using the `alias` key as its unique `fieldTypeIdentifier` e.g. `ezstring`.
131+
Each service tagged as `ezplatform.field_type` is added to a [registry](https://martinfowler.com/eaaCatalog/registry.html) using the `alias` key as its unique `fieldTypeIdentifier` e.g. `ezstring`.
132132
Each Field Type must also inherit from the abstract `ezplatform.field_type` service.
133133
This ensures that the initialization steps shared by all Field Types are executed.
134134

docs/api/public_php_api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ $permissionResolver->setCurrentUserReference($user);
134134

135135
## Exception handling
136136

137-
PHP API uses [Exceptions](http://php.net/exceptions) to handle errors.
137+
PHP API uses [Exceptions](https://www.php.net/exceptions) to handle errors.
138138
Each API method may throw different exceptions, depending on what it does.
139139

140140
It is good practice to cover every exception you expect to happen.
@@ -156,9 +156,9 @@ try {
156156

157157
## Service container
158158

159-
[[= product_name =]] uses the [Symfony service container]([[=symfony_doc=]]/service_container.html) for dependency resolution.
159+
[[= product_name =]] uses the [Symfony service container]([[= symfony_doc =]]/service_container.html) for dependency resolution.
160160

161-
[Symfony dependency injection]([[=symfony_doc=]]/components/dependency_injection.html) ensures that any required services are available in your custom code
161+
[Symfony dependency injection]([[= symfony_doc =]]/components/dependency_injection.html) ensures that any required services are available in your custom code
162162
(for example, controllers) when you inject them into the constructor.
163163

164164
Symfony service container uses service tags to dedicate services to a specific purpose. They are usually used for extension points.
@@ -167,4 +167,4 @@ Symfony service container uses service tags to dedicate services to a specific p
167167

168168
!!! tip
169169

170-
For a list of all service tags exposed by Symfony, see its [reference documentation]([[=symfony_doc=]]/reference/dic_tags.html).
170+
For a list of all service tags exposed by Symfony, see its [reference documentation]([[= symfony_doc =]]/reference/dic_tags.html).

docs/api/rest_api_extension_resource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ ez_publish_rest:
187187
```
188188

189189
The `router.generate` renders a URI based on the name of the route and its parameters. The parameter values can be a real value or a placeholder. For example, `'router.generate("ibexa.rest.load_location", {locationPath: "1/2"})'` results in `/api/ezp/v2/content/locations/1/2` while `'router.generate("ibexa.rest.load_location", {locationPath: "{locationPath}"})'` gives `/api/ezp/v2/content/locations/{locationPath}`.
190-
This syntax is based on Symfony's [expression language]([[= symfony_doc =]]/components/expression_language/index.html), an extensible component that allows limited/readable scripting to be used outside the code context.
190+
This syntax is based on Symfony's [expression language]([[= symfony_doc =]]/components/expression_language.html), an extensible component that allows limited/readable scripting to be used outside the code context.
191191

192192
In this example, `app.rest.greeting` is available in every SiteAccess (`default`):
193193

docs/getting_started/install_ez_platform.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ description: Install Ibexa DXP on a Linux system and prepare your installation f
2121

2222
To install [[= product_name =]] you need a stack with your operating system, MySQL or MariaDB, and PHP.
2323

24-
You can install it by following your favorite tutorial, for example: [Install LAMP stack on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04).
24+
You can install it by following your favorite tutorial, for example: [Install LAMP stack on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-lamp-stack-on-ubuntu).
2525

2626
Additional requirements:
2727

28-
- [Node.js](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/lang/en/docs/install/#debian-stable) for asset management.
28+
- [Node.js](https://nodejs.org/en/) and [Yarn](https://classic.yarnpkg.com/en/docs/install/) for asset management.
2929
- `git` for version control.
3030
- to use search in the shop front end, you must [install a search engine](#install-and-configure-a-search-engine).
3131

@@ -183,7 +183,7 @@ run the following command:
183183

184184
!!! note "Platform.sh"
185185

186-
If you are deploying your installation on [Platform.sh](https://docs.platform.sh/frameworks/ibexa.html),
186+
If you are deploying your installation on [Platform.sh](https://docs.platform.sh/guides/ibexa/deploy.html),
187187
run the following command:
188188

189189
``` bash
@@ -227,7 +227,7 @@ Choose a [secret]([[= symfony_doc =]]/reference/configuration/framework.html#sec
227227
and provide it in the `APP_SECRET` parameter in `.env`.
228228
It should be a random string, made up of at least 32 characters, numbers, and symbols.
229229
This is used by Symfony when generating [CSRF tokens]([[= symfony_doc =]]/security/csrf.html),
230-
[encrypting cookies]([[= symfony_doc =]]/cookbook/security/remember_me.html),
230+
[encrypting cookies]([[= symfony_doc =]]/security/remember_me.html),
231231
and for creating signed URIs when using [ESI (Edge Side Includes)]([[= symfony_doc =]]/http_cache/esi.html).
232232

233233
!!! caution
@@ -264,7 +264,7 @@ You may choose to replace the [default search engine](../guide/search/search.md#
264264

265265
=== "Solr"
266266

267-
Follow [How to set up Solr search engine](../guide/search/solr.md#how-to-set-up-solr-search-engine) to install Solr.
267+
Follow [How to set up Solr search engine](solr.md#set-up-solr-search-engine) to install Solr.
268268

269269
=== "Elasticsearch"
270270

@@ -423,7 +423,7 @@ Finally, remove the temporary file:
423423

424424
### Enable the Link manager
425425

426-
To make use of the [Link Manager](../guide/url_management.md), you must [set up cron](../guide/url_management.md#enable-automatic-url-validation).
426+
To make use of the [Link Manager](../guide/url_management.md), you must [set up cron](url_management.md#enabling-automatic-url-validation).
427427

428428
#### JMS payment secret [[% include 'snippets/commerce_badge.md' %]]
429429

docs/guide/configuration/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ These files contain additional settings and point to the general (not environmen
2929

3030
!!! tip
3131

32-
Read more about [how configuration is handled in Symfony]([[= symfony_doc =]]/best_practices/configuration.html).
32+
Read more about [how configuration is handled in Symfony]([[= symfony_doc =]]/best_practices.html).
3333

3434
!!! caution "Special characters"
3535

docs/guide/forms/using_recaptcha.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can configure the following reCAPTCHA options in the Back Office:
2424

2525
### 1\. Generate the reCAPTCHA API-Key pair
2626

27-
Go to: http://www.google.com/recaptcha/admin and log in.
27+
Go to: https://www.google.com/recaptcha/admin and log in.
2828

2929
Register a new domain to get a pair of keys.
3030

docs/guide/personalization/recommendation_client.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ if the content Fields were previously exported by the export script.
464464
You can retrieve data returned from the recommendation engine and modify it before it is shown to the user.
465465

466466
To modify recommendation data, subscribe to `RecommendationResponseEvent`.
467-
See [`Event/Subscriber/RecommendationEventSubscriber.php`](https://github.com/ezsystems/ezrecommendation-client/blob/master/src/lib/Event/Subscriber/RecommendationEventSubscriber.php) for example:
467+
See [`Event/Subscriber/RecommendationEventSubscriber.php`](https://github.com/ezsystems/ezrecommendation-client/blob/2.1/src/lib/Event/Subscriber/RecommendationEventSubscriber.php) for example:
468468

469469
``` php
470470
public static function getSubscribedEvents(): array
@@ -482,7 +482,7 @@ The `-10` refers to priority, which must be negative so this action is performed
482482
Displaying image variations is not readily supported yet.
483483

484484
You can work around this limitation by creating a template
485-
(based on [recommendations.html.twig](https://github.com/ezsystems/ezrecommendation-client/blob/master/src/bundle/Resources/views/recommendations.html.twig)).
485+
(based on [recommendations.html.twig](https://github.com/ezsystems/ezrecommendation-client/blob/2.1/src/bundle/Resources/views/recommendations.html.twig)).
486486

487487
To access a specific image variation through API, add the `image` parameter to the request URL with the name of the variation as its value.
488488
For example, to retrieve the `rss` variation of the image, use:
@@ -493,7 +493,7 @@ For example, to retrieve the `rss` variation of the image, use:
493493

494494
### Logging
495495

496-
Most operations are logged via the `ez_recommendation` [Monolog channel]([[= symfony_doc =]]/cookbook/logging/channels_handlers.html).
496+
Most operations are logged via the `ez_recommendation` [Monolog channel]([[= symfony_doc =]]/logging/channels_handlers.html).
497497
To log everything about Recommendation to `dev.recommendation.log`, add the following to the `ezplatform.yaml`:
498498

499499
``` yaml

docs/guide/search/search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ eZ\Publish\Core\Search\Legacy\Content\Location\Gateway\SortClauseHandler\Locatio
166166

167167
!!! note "See also"
168168

169-
For more information about passing parameters, see [Symfony Service Container documentation]([[= symfony_doc =]]/book/service_container.html#service-parameters).
169+
For more information about passing parameters, see [Symfony Service Container documentation]([[= symfony_doc =]]/service_container.html#service-parameters).
170170

171171
### Search using custom Field Criterion [REST]
172172

docs/guide/security.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ logout:
4646
You can fully customize the routes and/or the controller used for login.
4747
However, remember to match `login_path`, `check_path` and `logout.path` from `security.yaml`.
4848

49-
See [security configuration reference]([[= symfony_doc =]]/reference/configuration/security.html) and [standard login form documentation]([[= symfony_doc =]]/security/form_login_setup.html).
49+
See [security configuration reference]([[= symfony_doc =]]/reference/configuration/security.html) and [standard login form documentation]([[= symfony_doc =]]/security.html#form-login).
5050

5151
### Authentication using Symfony Security component
5252

5353
Authentication is provided using the Symfony Security component.
5454

55-
[Native and universal `form_login`]([[= symfony_doc =]]/security/form_login_setup.html) is used, in conjunction with an extended `DaoAuthenticationProvider` (DAO stands for *Data Access Object*), the `RepositoryAuthenticationProvider`. Native behavior of `DaoAuthenticationProvider` has been preserved, making it possible to still use it for pure Symfony applications.
55+
[Native and universal `form_login`]([[= symfony_doc =]]/security.html#form-login) is used, in conjunction with an extended `DaoAuthenticationProvider` (DAO stands for *Data Access Object*), the `RepositoryAuthenticationProvider`. Native behavior of `DaoAuthenticationProvider` has been preserved, making it possible to still use it for pure Symfony applications.
5656

5757
#### Security controller
5858

59-
A `SecurityController` is used to manage all security-related actions and is thus used to display the login form. It follows all standards explained in [Symfony security documentation]([[= symfony_doc =]]/security/form_login_setup.html).
59+
A `SecurityController` is used to manage all security-related actions and is thus used to display the login form. It follows all standards explained in [Symfony security documentation]([[= symfony_doc =]]/security.html#form-login).
6060

6161
The base template used is [`EzPublishCore/Security/login.html.twig`](https://github.com/ezsystems/ezplatform-kernel/blob/v1.0.0/eZ/Bundle/EzPublishCoreBundle/Resources/views/Security/login.html.twig).
6262

@@ -94,7 +94,7 @@ If you want to use this feature, you must at least extend the login template in
9494

9595
#### Login handlers / SSO
9696

97-
Symfony provides native support for [multiple user providers]([[= symfony_doc =]]/security/multiple_user_providers.html). This makes it easy to integrate any kind of login handlers, including SSO and existing third-party bundles (e.g. [FR3DLdapBundle](https://github.com/Maks3w/FR3DLdapBundle), [HWIOauthBundle](https://github.com/hwi/HWIOAuthBundle), [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle), [BeSimpleSsoAuthBundle](http://github.com/BeSimple/BeSimpleSsoAuthBundle), etc.).
97+
Symfony provides native support for [multiple user providers]([[= symfony_doc =]]/security/user_providers.html). This makes it easy to integrate any kind of login handlers, including SSO and existing third-party bundles (e.g. [FR3DLdapBundle](https://github.com/Maks3w/FR3DLdapBundle), [HWIOauthBundle](https://github.com/hwi/HWIOAuthBundle), [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle), [BeSimpleSsoAuthBundle](https://github.com/BeSimple/BeSimpleSsoAuthBundle), etc.).
9898

9999
See [Authenticating a user with multiple user provider](users/user_authentication.md#authenticate-user-with-multiple-user-providers) for more information.
100100

docs/guide/sessions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ See [shared sessions in the clustering guide](clustering.md#shared-sessions).
8383

8484
To set up [[= product_name =]] using [Memcached](https://pecl.php.net/package/memcached) you need to:
8585

86-
- [Configure the session save handler settings in `php.ini`](http://php.net/manual/en/memcached.sessions.php)
86+
- [Configure the session save handler settings in `php.ini`](https://www.php.net/manual/en/memcached.sessions.php)
8787
- Set `%ezplatform.session.handler_id%` to `~` (null) in `config/packages/ezplatform.yaml`
8888

8989
Alternatively if you need to configure Memcached servers dynamically:
@@ -99,9 +99,9 @@ Alternatively if you need to configure Memcached servers dynamically:
9999
```
100100

101101
- Set `%ezplatform.session.handler_id%` (or `SESSION_HANDLER_ID` env var) to `app.session.handler.native_memcached`
102-
- Set `%ezplatform.session.save_path%` (or `SESSION_SAVE_PATH` env var) to [`save_path` config for Memcached](http://php.net/manual/en/memcached.sessions.php)
102+
- Set `%ezplatform.session.save_path%` (or `SESSION_SAVE_PATH` env var) to [`save_path` config for Memcached](https://www.php.net/manual/en/memcached.sessions.php)
103103

104-
Optionally tweak [`php-memcached` session settings](http://php.net/manual/en/memcached.configuration.php) for things like
104+
Optionally tweak [`php-memcached` session settings](https://www.php.net/manual/en/memcached.configuration.php) for things like
105105
session locking.
106106

107107
##### Handling sessions with Redis
@@ -124,18 +124,18 @@ If you are on `php-redis` v4.2.0 and higher, you can optionally tweak [`php-redi
124124

125125
Ideally keep [persistence cache](persistence_cache.md) and session data separated:
126126

127-
- Sessions can't risk getting [randomly evicted](https://redis.io/topics/lru-cache#eviction-policies) when you run out of memory for cache.
127+
- Sessions can't risk getting [randomly evicted](https://redis.io/docs/latest/develop/reference/eviction/#eviction-policies) when you run out of memory for cache.
128128
- You can't completely disable eviction either, as Redis will then start to refuse new entries once full, including new sessions.
129129
- Either way, you should monitor your Redis instances and make sure you have enough memory set aside for active sessions/cache items.
130130

131-
If you want to make sure sessions survive Redis or server restarts, consider using a [persistent Redis](https://redis.io/topics/persistence) instance for sessions.
131+
If you want to make sure sessions survive Redis or server restarts, consider using a [persistent Redis](https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/) instance for sessions.
132132

133133
##### Alternative storing sessions in database using PDO
134134

135135
For setups where database is preferred for storing sessions, you may use Symfony's PdoSessionHandler,
136136
although it is not currently recommended from performance perspective.
137137

138-
Below is a configuration example for [[= product_name =]]. Refer to the [Symfony Cookbook]([[= symfony_doc =]]/doctrine/pdo_session_storage.html) for full documentation.
138+
Below is a configuration example for [[= product_name =]]. Refer to the [Symfony Cookbook]([[= symfony_doc =]]/session.html#session-database-pdo) for full documentation.
139139

140140
``` yaml
141141
framework:

0 commit comments

Comments
 (0)