Skip to content

Commit 1352f91

Browse files
committed
Markdownlint: blanks-around-lists
1 parent 26cb3a3 commit 1352f91

13 files changed

Lines changed: 28 additions & 14 deletions

.markdownlint-cli2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ config:
2929
# ol-prefix: one_or_ordered
3030
# list-marker-space: true
3131
# blanks-around-fences: true
32-
# blanks-around-lists: true
32+
blanks-around-lists: true
3333
# single-title: true
3434
no-trailing-punctuation:
3535
punctuation: [".", ":", ";",]

docs/cdp/cdp_activation/cdp_data_export.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Go to the **Audience Builder** and select **Build new audience**.
107107
When naming the audience remember, you need to find it in a drop-down list during activation.
108108
There, you can choose conditions from `did`, `did not` or `have`.
109109
The conditions `did` and `did not` allow you to use events like buy, visit or add to a cart from online tracking.
110+
110111
- `have` conditions are tied to personal characteristics and can be used to track the sum of all buys or top-visited categories.
111112

112113
In the Audience Builder, you can also connect created audiences to the activations.

docs/cdp/cdp_data_customization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The interface is plain and has two methods that you need to provide:
6464
- **process** - takes `Field` instance and then returns a flat array of scalar values that are combined with the payload data.
6565
6666
A common field type is serialized to:
67-
67+
6868
```json
6969
{
7070
"field_measurement_simple_id": 1792,
@@ -109,13 +109,13 @@ To customize export of field type values, provide your own [`\Ibexa\Contracts\Cd
109109
New implementation has to be registered as a service manually or by using autoconfiguration.
110110
The service has to use the tag `ibexa.cdp.export.content.field_value_processor`.
111111
You can also provide `priority` property to override other Field Value Processors.
112-
112+
113113
* `FieldValueProcessorInterface::process` - takes `Field` instance and returns an `array` with scalar values that are applied to export data payload.
114114
If the field type returns a single value, provides a `value` key in the array.
115115
You can return multiple values.
116116

117117
* `FieldValueProcessorInterface::supports` - decides whether `FieldValueProcessor` can work with the `Field`.
118-
118+
119119
### Built in Field Value Processors for custom field types
120120
121121
Several system Field Value Processors either work by default or can be registered for custom field types:

docs/pim/product_api.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ You can filter variants by:
6767

6868
- variant codes:
6969

70-
``` php
71-
[[= include_file('code_samples/api/product_catalog/src/Command/ProductVariantCommand.php', 50, 54) =]]
72-
```
70+
``` php
71+
[[= include_file('code_samples/api/product_catalog/src/Command/ProductVariantCommand.php', 50, 54, remove_indent=True) =]]
72+
```
7373

7474
- product criteria:
7575

7676
To use [Product Search Criteria](product_search_criteria.md) with [`ProductVariantQuery`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-Values-Product-ProductVariantQuery.html), wrap it with the [`ProductCriterionAdapter`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-Values-Content-Query-Criterion-ProductCriterionAdapter.html) class, as in the example below:
7777

78-
``` php hl_lines="4"
79-
[[= include_file('code_samples/api/product_catalog/src/Command/ProductVariantCommand.php', 55, 66) =]]
80-
```
78+
``` php hl_lines="4"
79+
[[= include_file('code_samples/api/product_catalog/src/Command/ProductVariantCommand.php', 55, 66, remove_indent=True) =]]
80+
```
8181

8282
From a variant ([`ProductVariantInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-Values-ProductVariantInterface.html)), you can access the attributes that are used to generate the variant by using the [`ProductVariantInterface::getDiscriminatorAttributes()`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-Values-ProductVariantInterface.html#method_getDiscriminatorAttributes) method.
8383

@@ -97,6 +97,7 @@ You can filter variants by:
9797
- variant codes:
9898

9999
``` php
100+
100101
[[= include_file('code_samples/api/product_catalog/src/Command/ProductVariantCommand.php', 83, 87) =]]
101102
```
102103

@@ -105,6 +106,7 @@ You can filter variants by:
105106
To use [Product Search Criteria](product_search_criteria.md) with [`ProductVariantQuery`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-Values-Product-ProductVariantQuery.html), wrap it with the [`ProductCriterionAdapter`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-Values-Content-Query-Criterion-ProductCriterionAdapter.html) class, as in the example below:
106107

107108
``` php hl_lines="4"
109+
108110
[[= include_file('code_samples/api/product_catalog/src/Command/ProductVariantCommand.php', 92, 100) =]]
109111
```
110112

docs/release_notes/ez_platform_v2.3.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Improvements to the API cover:
9696
#### Back office translations
9797

9898
There are three new ways you can now contribute to back office translations:
99+
99100
- translate in-context with bookmarks
100101
- translate in-context with console
101102
- translate directly on the Crowdin website

docs/release_notes/ez_platform_v3.0_deprecations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,10 @@ This change is introduced without BC breaks.
420420

421421
Following API methods have been removed:
422422

423-
* `\eZ\Publish\API\Repository\ContentService::removeTranslation`
424-
* `\eZ\Publish\API\Repository\UserService::loadAnonymousUser`
425-
* `\eZ\Publish\API\Repository\Repository::getCurrentUser`
426-
* `\eZ\Publish\API\Repository\Repository::getCurrentUserReference`
423+
- `\eZ\Publish\API\Repository\ContentService::removeTranslation`
424+
- `\eZ\Publish\API\Repository\UserService::loadAnonymousUser`
425+
- `\eZ\Publish\API\Repository\Repository::getCurrentUser`
426+
- `\eZ\Publish\API\Repository\Repository::getCurrentUserReference`
427427
- `\eZ\Publish\API\Repository\Repository::setCurrentUser`
428428
- `\eZ\Publish\API\Repository\Repository::hasAccess`
429429
- `\eZ\Publish\API\Repository\Repository::canUser`

docs/resources/new_in_doc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,7 @@ Enhanced the PHP API with the following new classes and interfaces:
754754
- Added edition information to [PHP API reference](https://doc.ibexa.co/en/4.6/api/php_api/php_api_reference/) to aid navigation
755755

756756
### REST API
757+
757758
- Removed multiple obsolete RAML types from the [REST API reference](https://doc.ibexa.co/en/4.6/api/rest_api/rest_api_reference/rest_api_reference.html)
758759

759760
### User management
@@ -1161,6 +1162,7 @@ Enhanced the PHP API with the following new classes and interfaces:
11611162
- [Work with product attributes](https://doc.ibexa.co/projects/userguide/en/latest/pim/work_with_product_attributes/) in User Documentation
11621163

11631164
### REST API
1165+
11641166
- Added example of input payload in JSON format for [ContentTypeCreate in REST API reference](https://doc.ibexa.co/en/4.6/api/rest_api/rest_api_reference/rest_api_reference.html#managing-content-create-content-type)
11651167
- [Expected user](https://doc.ibexa.co/en/4.6/api/rest_api/rest_api_usage/rest_requests/#expected-user) header support
11661168

docs/search/aggregation_reference/daterange_aggregation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The field-based [DateRangeAggregation](/api/php_api/php_api_reference/classes/Ib
99
## Arguments
1010

1111
[[= include_file('docs/snippets/aggregation_arguments.md') =]]
12+
1213
- `ranges` - array of Range objects that define the borders of the specific range sets
1314

1415
## Example

docs/search/aggregation_reference/datetimerange_aggregation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The field-based [DateTimeRangeAggregation](/api/php_api/php_api_reference/classe
99
## Arguments
1010

1111
[[= include_file('docs/snippets/aggregation_arguments.md') =]]
12+
1213
- `ranges` - array of Range objects that define the borders of the specific range sets
1314

1415
## Example

docs/search/aggregation_reference/floatrange_aggregation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The field-based [FloatRangeAggregation](/api/php_api/php_api_reference/classes/I
99
## Arguments
1010

1111
[[= include_file('docs/snippets/aggregation_arguments.md') =]]
12+
1213
- `ranges` - array of Range objects that define the borders of the specific range sets
1314

1415
## Example

0 commit comments

Comments
 (0)