Skip to content

Commit cc27aa3

Browse files
committed
refine language
1 parent 3c0e090 commit cc27aa3

3 files changed

Lines changed: 2 additions & 16 deletions

File tree

fern/products/cli-api-reference/pages/commands.mdx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -328,20 +328,6 @@ hideOnThisPage: true
328328
fern check --warnings
329329
```
330330

331-
### Validation rules
332-
333-
`fern check` runs the following validation rules. Each rule can be set to `"warn"` or `"error"` via [`check.rules`](/learn/docs/configuration/site-level-settings#check-configuration) in `docs.yml`.
334-
335-
| Rule | Default | Description |
336-
|------|---------|-------------|
337-
| `broken-links` | `error` | Detects broken internal links and malformed URLs. |
338-
| `example-validation` | `warn` | Validates OpenAPI examples against their schemas. |
339-
| `no-non-component-refs` | `error` | Flags `$ref` values pointing outside `#/components` in an OpenAPI spec. |
340-
| `valid-local-references` | `warn` | Checks that local `$ref` values resolve to existing definitions. |
341-
| `no-circular-redirects` | `error` | Detects redirect chains that loop back to a previously visited path. |
342-
| `valid-docs-endpoints` | `warn` | Checks that endpoint URLs in `docs.yml` are well-formed. |
343-
| `missing-redirects` | `warn` | Flags pages removed or moved without a [redirect](/learn/docs/seo/redirects). Compares against the previously published state. Requires authentication; skipped on first publish. |
344-
345331
## Usage in a GitHub Action
346332

347333
<CodeBlock title = ".github/workflows/fern-check.yml" >

fern/products/docs/pages/seo/configuring-slugs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In the example above, the **Welcome** page would be hosted at `plantstore.docs.b
4848
You can customize these default slugs by renaming them or skipping them entirely.
4949

5050
<Note>
51-
Changing a slug updates the page's URL. Run [`fern check`](/learn/cli-api-reference/commands#check) to detect pages that moved without a [redirect](/learn/docs/seo/redirects#catching-missing-redirects), so existing links don't break.
51+
Changing a slug updates the page's URL. Run [`fern check`](/learn/cli-api-reference/cli-reference/commands#fern-check) to detect pages that moved without a [redirect](/learn/docs/seo/redirects#catching-missing-redirects), so existing links don't break.
5252
</Note>
5353

5454
## Renaming slugs

fern/products/docs/pages/seo/redirects.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ subtitle: Learn how to configure redirects in Fern Docs. Set up exact path redir
1414

1515
## Catching missing redirects
1616

17-
You can use [`fern check`](/learn/cli-api-reference/commands#check) to automatically detect pages that were removed or moved without a redirect. Configure the [`missing-redirects` rule](/learn/docs/configuration/site-level-settings#check-configuration) in `docs.yml` to control its severity.
17+
You can use [`fern check`](/learn/cli-api-reference/cli-reference/commands#fern-check) to automatically detect pages that were removed or moved without a redirect. Configure the [`missing-redirects` rule](/learn/docs/configuration/site-level-settings#check-configuration) in `docs.yml` to control its severity.
1818

1919
<llms-only>
2020
## Common errors

0 commit comments

Comments
 (0)