Skip to content

Commit a5a70aa

Browse files
committed
fix: add tags to OpenAPI spec for API docs grouping
Routes are now grouped by category (Workspaces, Sessions, Configuration, etc.) instead of showing as "untagged".
1 parent 760e7a6 commit a5a70aa

10 files changed

Lines changed: 386 additions & 2 deletions
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: configuration
3+
title: "Configuration"
4+
description: "Configuration"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
20+

docs/docs/api/git-hub.tag.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: git-hub
3+
title: "GitHub"
4+
description: "GitHub"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
20+

docs/docs/api/host.tag.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: host
3+
title: "Host"
4+
description: "Host"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
20+

docs/docs/api/info.tag.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: info
3+
title: "Info"
4+
description: "Info"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
20+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: live-sessions
3+
title: "Live Sessions"
4+
description: "Live Sessions"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
20+

docs/docs/api/models.tag.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: models
3+
title: "Models"
4+
description: "Models"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
20+

docs/docs/api/sessions.tag.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: sessions
3+
title: "Sessions"
4+
description: "Sessions"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
20+

docs/docs/api/workspaces.tag.mdx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
id: workspaces
3+
title: "Workspaces"
4+
description: "Workspaces"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
20+

0 commit comments

Comments
 (0)