Skip to content

Commit f0f78af

Browse files
committed
#28051 corrected slugs documentation
1 parent 03d1840 commit f0f78af

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

docs/API/content-type/creating-ctd.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ When you create or update a Content Type Definition with `slugs`:
167167
* For **active** rules, both `source` and `target` must reference fields that exist
168168
in the Content Type schema. Otherwise the request returns `400 Bad Request` with
169169
violations on `slugs[i].source` and/or `slugs[i].target`.
170-
* `source` and `target` must be different — a rule where they are equal is rejected.
171170
* For **inactive** rules with missing fields, the rule is silently dropped during
172171
save — no error is returned, but the rule will not be persisted.
173172
See the [Content Object documentation](/docs/API/content-type/creating-co/#auto-generated-slug-fields) for details

docs/panel/ContentObjects/slugs.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ Enabling the switch opens the **Slug settings** modal, where you configure the r
3939

4040
## Configuring slug rules
4141

42-
In the **Slug settings** modal, each rule is presented as a card (e.g. *Slug #1*) with
43-
the following controls:
42+
In the **Slug settings** modal, each rule has the following controls:
4443

4544
![Slug settings modal](../images/slug-rules/slug-settings-modal.png){: .center .width75 .border}
4645

@@ -58,7 +57,7 @@ as usual.
5857
!!! note
5958
Both the source and target fields must already exist in the Content Type Definition.
6059
For an active rule, if either field is missing, saving the definition will fail with a
61-
validation error. The source and target must also be two different fields.
60+
validation error. The source and target should also be two different fields.
6261

6362
## How slug generation works
6463

0 commit comments

Comments
 (0)