Skip to content

Commit f7b4cca

Browse files
fix(docs): strip .mdx extensions from generated docs links
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent e57a5cb commit f7b4cca

650 files changed

Lines changed: 1628 additions & 1571 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs-nav.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
workflow_dispatch:
99
pull_request:
1010
paths:
11-
- "docs/sdks/**"
11+
- "docs/**"
1212
- "scripts/gen-docs-nav.sh"
13+
- "scripts/fix-docs-links.sh"
1314
- ".github/workflows/docs-nav.yaml"
1415

1516
jobs:
@@ -26,7 +27,10 @@ jobs:
2627
- name: Regenerate docs navigation
2728
run: scripts/gen-docs-nav.sh
2829

29-
- name: Auto-commit docs.json navigation
30+
- name: Strip .mdx extensions from docs links
31+
run: scripts/fix-docs-links.sh
32+
33+
- name: Auto-commit docs post-processing
3034
uses: int128/update-generated-files-action@v2
3135
with:
32-
commit-message: "Chore: regenerate docs navigation"
36+
commit-message: "Chore: regenerate docs navigation and fix docs links"

docs/components/actionfindinpage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ title: "ActionFindInPage"
77
| Field | Type | Required | Description |
88
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
99
| `pattern` | *str* | :heavy_check_mark: | N/A |
10-
| `type` | [components.TypeFindInPage](../components/typefindinpage.mdx) | :heavy_check_mark: | N/A |
10+
| `type` | [components.TypeFindInPage](../components/typefindinpage) | :heavy_check_mark: | N/A |
1111
| `url` | *str* | :heavy_check_mark: | N/A |

docs/components/actionopenpage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ title: "ActionOpenPage"
66

77
| Field | Type | Required | Description |
88
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
9-
| `type` | [components.TypeOpenPage](../components/typeopenpage.mdx) | :heavy_check_mark: | N/A |
9+
| `type` | [components.TypeOpenPage](../components/typeopenpage) | :heavy_check_mark: | N/A |
1010
| `url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |

docs/components/activityresponse.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ title: "ActivityResponse"
66

77
| Field | Type | Required | Description |
88
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
9-
| `data` | List[[components.ActivityItem](../components/activityitem.mdx)] | :heavy_check_mark: | List of activity items |
9+
| `data` | List[[components.ActivityItem](../components/activityitem)] | :heavy_check_mark: | List of activity items |

docs/components/additionaltoolsitem.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Additional tools made available to the model at this point in the input
1010
| Field | Type | Required | Description |
1111
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
1212
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
13-
| `role` | [components.AdditionalToolsItemRole](../components/additionaltoolsitemrole.mdx) | :heavy_check_mark: | N/A |
14-
| `tools` | List[[components.AdditionalToolsItemToolUnion](../components/additionaltoolsitemtoolunion.mdx)] | :heavy_check_mark: | N/A |
15-
| `type` | [components.TypeAdditionalTools](../components/typeadditionaltools.mdx) | :heavy_check_mark: | N/A |
13+
| `role` | [components.AdditionalToolsItemRole](../components/additionaltoolsitemrole) | :heavy_check_mark: | N/A |
14+
| `tools` | List[[components.AdditionalToolsItemToolUnion](../components/additionaltoolsitemtoolunion)] | :heavy_check_mark: | N/A |
15+
| `type` | [components.TypeAdditionalTools](../components/typeadditionaltools) | :heavy_check_mark: | N/A |

docs/components/additionaltoolsitemtoolfunction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Function tool definition
1313
| `name` | *str* | :heavy_check_mark: | N/A |
1414
| `parameters` | Dict[str, *Any*] | :heavy_check_mark: | N/A |
1515
| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
16-
| `type` | [components.AdditionalToolsItemTypeFunction](../components/additionaltoolsitemtypefunction.mdx) | :heavy_check_mark: | N/A |
16+
| `type` | [components.AdditionalToolsItemTypeFunction](../components/additionaltoolsitemtypefunction) | :heavy_check_mark: | N/A |

docs/components/advisorreasoning.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ Reasoning configuration forwarded to the advisor call. Use this to control reaso
99

1010
| Field | Type | Required | Description |
1111
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
12-
| `effort` | [Optional[components.AdvisorReasoningEffort]](../components/advisorreasoningeffort.mdx) | :heavy_minus_sign: | Reasoning effort level for the advisor call. |
12+
| `effort` | [Optional[components.AdvisorReasoningEffort]](../components/advisorreasoningeffort) | :heavy_minus_sign: | Reasoning effort level for the advisor call. |
1313
| `max_tokens` | *Optional[int]* | :heavy_minus_sign: | Maximum number of reasoning tokens the advisor may use. |

0 commit comments

Comments
 (0)