Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ The template for the product suggestion item follows, named `templates/themes/ad

## Replace default suggestion source

To replace the default suggestion source, [decorate]([[= symfony_doc =]]/service_container/service_decoration.html) the built-in `BuildSuggestionCollectionEvent` subscriber with your own:
To replace the default suggestion source, [decorate]([[= symfony_doc =]]/service_container/decoration.html) the built-in `ContentSuggestionSubscriber` subscriber with your own:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to fixing links, but looking at this I believe the name of the subscribe should be here, not the name of the event (at least looking at the example)


```yaml
services:
Expand Down
2 changes: 1 addition & 1 deletion docs/administration/configuration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ These files contain additional settings and point to the general (not environmen
!!! note

Configuration is tightly related to the [service container](php_api.md#service-container).
To fully understand it, you must be familiar with the service container and [its configuration]([[= symfony_doc =]]/service_container.html#service-parameters).
To fully understand it, you must be familiar with the service container and [its configuration]([[= symfony_doc =]]/service_container.html#service-container-parameters).

Basic configuration handling in [[= product_name =]] is similar to what is commonly possible with Symfony.
You can define key/value pairs in your configuration files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ For more information, see [Configuration](configuration.md).

If you're keeping some of your code in a bundle, dealing with core bundle semantic configuration can be tedious if you maintain it in the main `config/packages/ibexa.yaml` configuration file.

You can import configuration from a bundle by following the Symfony tutorial [How to Import Configuration Files/Resources]([[= symfony_doc =]]/service_container/import.html).
You can import configuration from a bundle by following the Symfony tutorial [How to Import Configuration Files/Resources]([[= symfony_doc =]]/service_container.html#service-container-imports-directive).

## Versioning a project

Expand Down
4 changes: 2 additions & 2 deletions docs/api/php_api/php_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
You can access the PHP API by injecting relevant services into your code:

- By using [auto-wiring]([[= symfony_doc =]]/service_container/autowiring.html), and the service class name in the `Ibexa\Contracts` namespace (see `bin/console debug:autowiring | grep Ibexa.Contracts`).
- By using [service parameters]([[= symfony_doc =]]/service_container.html#service-parameters), and service aliases (see `bin/console debug:autowiring | grep ibexa.api`).
- By using [service parameters]([[= symfony_doc =]]/service_container.html#service-container-parameters), and service aliases (see `bin/console debug:autowiring | grep ibexa.api`).

Check notice on line 50 in docs/api/php_api/php_api.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/api/php_api/php_api.md#L50

[Ibexa.ByUsing] Prefer 'by using' or 'with' to plain 'using'.
Raw output
{"message": "[Ibexa.ByUsing] Prefer 'by using' or 'with' to plain 'using'.", "location": {"path": "docs/api/php_api/php_api.md", "range": {"start": {"line": 50, "column": 3}}}, "severity": "INFO"}
- By using the repository's `get[ServiceName]()` methods, for example, [`Repository::getContentService()`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Repository.html#method_getContentService), or [`getUserService()`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Repository.html#method_getUserService).
(Prefer injecting several Repository's dedicated services instead of the whole Repository if the Repository itself isn't needed.)

Expand Down Expand Up @@ -163,7 +163,7 @@

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

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

Symfony service container uses service tags to dedicate services to a specific purpose.
They're usually used for extension points.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
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/ibexa/v2/content/locations/1/2` while `'router.generate("ibexa.rest.load_location", {locationPath: "{locationPath}"})'` gives `/api/ibexa/v2/content/locations/{locationPath}`.
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.
This syntax is based on Symfony's [expression language]([[= symfony_doc =]]/expression_language.html), an extensible component that allows limited/readable scripting to be used outside the code context.

Check notice on line 197 in docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L197

[Ibexa.Passive] Try to avoid passive tense, when possible.
Raw output
{"message": "[Ibexa.Passive] Try to avoid passive tense, when possible.", "location": {"path": "docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md", "range": {"start": {"line": 197, "column": 13}}}, "severity": "INFO"}

Check notice on line 197 in docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L197

[Ibexa.Passive] Try to avoid passive tense, when possible.
Raw output
{"message": "[Ibexa.Passive] Try to avoid passive tense, when possible.", "location": {"path": "docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md", "range": {"start": {"line": 197, "column": 170}}}, "severity": "INFO"}

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

Expand Down
2 changes: 1 addition & 1 deletion docs/commerce/checkout/checkout.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ From the front-end perspective, it's a reusable component that provides access t
Depending on the model of shopping process that you need to use, the checkout process can range between a straightforward and extremely complicated one.
To allow for this variation, the component is highly configurable and extensible:

- Like the editorial workflow, it relies on [Symfony Workflow]([[= symfony_doc =]]/components/workflow.html)
- Like the editorial workflow, it relies on [Symfony Workflow]([[= symfony_doc =]]/workflow.html)
- It exposes [PHP API](checkout_api.md) that allows for workflow manipulation
- It exposes Twig functions used for checkout rendering

Expand Down
2 changes: 1 addition & 1 deletion docs/commerce/checkout/configure_checkout.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ When you work with your Commerce implementation, you can review and modify the c

## Configure checkout workflow

Checkout workflow relies on [Symfony Workflow]([[= symfony_doc =]]/components/workflow.html).
Checkout workflow relies on [Symfony Workflow]([[= symfony_doc =]]/workflow.html).
Each transition represents a separate checkout step.

By default, the checkout process is configured to render each step based on a separate set of libraries and templates.
Expand Down
2 changes: 1 addition & 1 deletion docs/content_management/field_types/type_and_value.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ services:

### `parent`

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.
As described in the [Symfony service container documentation]([[= symfony_doc =]]/service_container/advanced_definitions.html#parent-services), 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 to avoid repetition in your field type configuration and keeps consistency between all field types.
If you need to inject other services into your Type class, skip using the `parent` config key.

Expand Down
2 changes: 1 addition & 1 deletion docs/content_management/workflow/workflow_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To get information about a specific workflow for a content item, use [`WorkflowS

!!! tip

`marking`, a term from [Symfony Workflow]([[= symfony_doc =]]/components/workflow.html),
`marking`, a term from [Symfony Workflow]([[= symfony_doc =]]/workflow.html),
refers to a state in a workflow.

If you already have a [`VersionInfo`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-VersionInfo.html) object, use [`WorkflowServiceInterface::loadWorkflowMetadataForVersionInfo`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Workflow-Service-WorkflowServiceInterface.html#method_loadWorkflowMetadataForVersionInfo) to avoid loading the full [`Content`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Translations management helps [[= product_name =]] developers and editors delive
"multisite/translations_management/translate_with_cli",
"multisite/translations_management/extend_translations_management",
"api/event_reference/translations_management_events",
("/api/php_api/php_api_reference/namespaces/ibexa-contracts-translationsmanagement.html", "PHP API Reference", "<code>Ibexa\\Contracts\\TranslationsManagement</code>"),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It generates "https://doc.ibexa.co/en/5.0//api/php_api/php_api_reference/namespaces/ibexa-contracts-translationsmanagement.html" which is a redirection

Maybe the Python script could remove this slash.

("api/php_api/php_api_reference/namespaces/ibexa-contracts-translationsmanagement.html", "PHP API Reference", "<code>Ibexa\\Contracts\\TranslationsManagement</code>"),

], columns=3) =]]
2 changes: 1 addition & 1 deletion docs/release_notes/ez_platform_v3.0_deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ Don't store the values globally. Every time the value is needed call `ConfigReso
#### AbstractController

The `eZ\Bundle\EzPublishCoreBundle\Controller` now extends `Symfony\Bundle\FrameworkBundle\Controller\AbstractController` instead of `Symfony\Bundle\FrameworkBundle\Controller\Controller` which has limited access to the [service container](https://doc.ibexa.co/en/3.3/api/public_php_api/#service-container).
For details, see [Service Subscribers Locators]([[= symfony_doc =]]/service_container/service_subscribers_locators.html).
For details, see [Service Subscribers Locators]([[= symfony_doc =]]/service_container/subscribers_locators.html).

The `Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand` is deprecated, use `Symfony\Component\Console\Command\Command` instead.

Expand Down
2 changes: 1 addition & 1 deletion docs/release_notes/ibexa_dxp_v5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

The **Versions** tab shows a **Translation status** column with review status badges for draft translations created with automatic translation.

For more information, see [Translation review](https://doc.ibexa.co/en/5.0/multisite/translations_management/configure_translations_management/translations_management_guide/#translation-review).
For more information, see [Translation review](https://doc.ibexa.co/en/5.0/multisite/translations_management/translations_management_guide/#translation-review).

Check warning on line 56 in docs/release_notes/ibexa_dxp_v5.0.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/release_notes/ibexa_dxp_v5.0.md#L56

[Ibexa.DontCapitalize] Don't capitalize 'Translation' if inside the sentence.
Raw output
{"message": "[Ibexa.DontCapitalize] Don't capitalize 'Translation' if inside the sentence.", "location": {"path": "docs/release_notes/ibexa_dxp_v5.0.md", "range": {"start": {"line": 56, "column": 28}}}, "severity": "WARNING"}

### Developer experience

Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_criteria_and_sort_clauses.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Ibexa\Core\Search\Legacy\Content\Location\Gateway\SortClauseHandler\Location\Dep
- {name: ibexa.search.legacy.gateway.sort_clause_handler.location}
```

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

## Search using custom Field Criterion [REST]

Expand Down
Loading