Skip to content

Commit 4c8896f

Browse files
Fix remaining Vale style issues
- Remove trailing commas in CodeBlock links attributes (code-blocks.mdx) - Rephrase units description to avoid Vale warning (tooltips.mdx) Addresses Vale comments on PR #1639 Co-Authored-By: Kapil Gowru <[email protected]>
1 parent 4aa6b68 commit 4c8896f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

fern/products/docs/pages/component-library/default-components/code-blocks.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ The `links` property accepts a map where keys are matching patterns (exact strin
274274
### Exact string matching
275275

276276
<CodeBlock
277-
links={{"PlantClient": "/learn/docs/writing-content/demo#plantclient", "createPlant": "/learn/docs/writing-content/demo#createplant",}}
277+
links={{"PlantClient": "/learn/docs/writing-content/demo#plantclient", "createPlant": "/learn/docs/writing-content/demo#createplant"}}
278278
>
279279
```typescript
280280
import { PlantClient } from "@plantstore/sdk";
@@ -314,7 +314,7 @@ You can use regex patterns for more flexible matching. This is useful when you w
314314
In the example below, the pattern `/get\\w+/` matches both `getPlant` and `getGarden`, while `/Plant(Store|Client)/` matches both `PlantStore` and `PlantClient`.
315315

316316
<CodeBlock
317-
links={{"/get\\w+/": "/learn/docs/writing-content/demo#get-methods", "/Plant(Store|Client)/": "/learn/docs/writing-content/demo#type-definitions",}}
317+
links={{"/get\\w+/": "/learn/docs/writing-content/demo#get-methods", "/Plant(Store|Client)/": "/learn/docs/writing-content/demo#type-definitions"}}
318318
>
319319
```python
320320
from plantstore import PlantStore, PlantClient
@@ -329,7 +329,7 @@ garden = store.getGarden(garden_id="456")
329329

330330
````markdown
331331
<CodeBlock
332-
links={{"/get\\w+/": "/learn/docs/writing-content/demo#get-methods", "/Plant(Store|Client)/": "/learn/docs/writing-content/demo#type-definitions",}}
332+
links={{"/get\\w+/": "/learn/docs/writing-content/demo#get-methods", "/Plant(Store|Client)/": "/learn/docs/writing-content/demo#type-definitions"}}
333333
>
334334
```python
335335
from plantstore import PlantStore, PlantClient

fern/products/docs/pages/component-library/default-components/tooltips.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const api = axios.create({
149149
</ParamField>
150150

151151
<ParamField path="sideOffset" type="number" required={false} default={4}>
152-
The distance (in pixels) between the tooltip and the trigger element.
152+
The distance between the tooltip and the trigger element, in pixels.
153153
</ParamField>
154154

155155
## Styling

0 commit comments

Comments
 (0)