Skip to content

Commit e4ac3b1

Browse files
authored
Merge pull request #20 from TanStack/chore/doc-update
chore: update doc config
2 parents 1e34de9 + 38bcd57 commit e4ac3b1

File tree

11 files changed

+95
-36
lines changed

11 files changed

+95
-36
lines changed

docs/config.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,14 @@
88
"sections": [
99
{
1010
"label": "Getting Started",
11-
"children": [
12-
{
13-
"label": "Overview",
14-
"to": "overview"
15-
},
16-
{
17-
"label": "Quick Start",
18-
"to": "quick-start"
19-
},
20-
{
21-
"label": "Installation",
22-
"to": "installation"
23-
}
24-
],
11+
"children": [],
2512
"frameworks": [
2613
{
2714
"label": "react",
2815
"children": [
2916
{
3017
"label": "React Adapter",
31-
"to": "framework/react/adapter"
18+
"to": "framework/react/basic-setup"
3219
}
3320
]
3421
},
@@ -37,16 +24,29 @@
3724
"children": [
3825
{
3926
"label": "Solid Adapter",
40-
"to": "framework/solid/adapter"
27+
"to": "framework/solid/basic-setup"
4128
}
4229
]
4330
}
4431
]
4532
},
4633
{
4734
"label": "Guides",
48-
"children": [
49-
35+
"children": [],
36+
"frameworks": [
37+
{
38+
"label": "react",
39+
"children": [
40+
{
41+
"label": "React Query Guide",
42+
"to": "framework/react/guides/custom-plugins"
43+
}
44+
]
45+
},
46+
{
47+
"label": "solid",
48+
"children": []
49+
}
5050
]
5151
},
5252
{
@@ -103,4 +103,4 @@
103103
]
104104
}
105105
]
106-
}
106+
}

docs/framework/solid/reference/functions/tanstackdevtools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: TanstackDevtools
1111
function TanstackDevtools(__namedParameters): Element
1212
```
1313

14-
Defined in: [devtools.tsx:91](https://github.com/TanStack/devtools/blob/main/packages/solid-devtools/src/devtools.tsx#L91)
14+
Defined in: [devtools.tsx:96](https://github.com/TanStack/devtools/blob/main/packages/solid-devtools/src/devtools.tsx#L96)
1515

1616
## Parameters
1717

docs/framework/solid/reference/type-aliases/tanstackdevtoolssolidplugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: TanStackDevtoolsSolidPlugin
1111
type TanStackDevtoolsSolidPlugin = Omit<TanStackDevtoolsPlugin, "render" | "name"> & object;
1212
```
1313

14-
Defined in: [devtools.tsx:20](https://github.com/TanStack/devtools/blob/main/packages/solid-devtools/src/devtools.tsx#L20)
14+
Defined in: [devtools.tsx:21](https://github.com/TanStack/devtools/blob/main/packages/solid-devtools/src/devtools.tsx#L21)
1515

1616
## Type declaration
1717

docs/reference/classes/tanstackdevtoolscore.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: TanStackDevtoolsCore
77

88
# Class: TanStackDevtoolsCore
99

10-
Defined in: [core.tsx:39](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L39)
10+
Defined in: [devtools/src/core.tsx:42](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L42)
1111

1212
## Constructors
1313

@@ -17,7 +17,7 @@ Defined in: [core.tsx:39](https://github.com/TanStack/devtools/blob/main/package
1717
new TanStackDevtoolsCore(init): TanStackDevtoolsCore
1818
```
1919

20-
Defined in: [core.tsx:48](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L48)
20+
Defined in: [devtools/src/core.tsx:53](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L53)
2121

2222
#### Parameters
2323

@@ -37,7 +37,7 @@ Defined in: [core.tsx:48](https://github.com/TanStack/devtools/blob/main/package
3737
mount<T>(el): void
3838
```
3939

40-
Defined in: [core.tsx:56](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L56)
40+
Defined in: [devtools/src/core.tsx:62](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L62)
4141

4242
#### Type Parameters
4343

@@ -61,7 +61,7 @@ Defined in: [core.tsx:56](https://github.com/TanStack/devtools/blob/main/package
6161
setConfig(config): void
6262
```
6363

64-
Defined in: [core.tsx:87](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L87)
64+
Defined in: [devtools/src/core.tsx:94](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L94)
6565

6666
#### Parameters
6767

@@ -81,7 +81,7 @@ Defined in: [core.tsx:87](https://github.com/TanStack/devtools/blob/main/package
8181
unmount(): void
8282
```
8383

84-
Defined in: [core.tsx:79](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L79)
84+
Defined in: [devtools/src/core.tsx:85](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L85)
8585

8686
#### Returns
8787

docs/reference/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ title: "@tanstack/devtools"
1313

1414
## Interfaces
1515

16+
- [ClientEventBusConfig](interfaces/clienteventbusconfig.md)
1617
- [TanStackDevtoolsInit](interfaces/tanstackdevtoolsinit.md)
1718
- [TanStackDevtoolsPlugin](interfaces/tanstackdevtoolsplugin.md)
1819

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
id: ClientEventBusConfig
3+
title: ClientEventBusConfig
4+
---
5+
6+
<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7+
8+
# Interface: ClientEventBusConfig
9+
10+
Defined in: event-bus/dist/esm/client/client.d.ts:1
11+
12+
## Properties
13+
14+
### connectToServerBus?
15+
16+
```ts
17+
optional connectToServerBus: boolean;
18+
```
19+
20+
Defined in: event-bus/dist/esm/client/client.d.ts:6
21+
22+
Optional flag to indicate if the devtools server event bus is available to connect to.
23+
This is used to determine if the devtools can connect to the server for real-time event streams.
24+
25+
***
26+
27+
### debug?
28+
29+
```ts
30+
optional debug: boolean;
31+
```
32+
33+
Defined in: event-bus/dist/esm/client/client.d.ts:10
34+
35+
Optional flag to enable debug mode for the event bus.
36+
37+
***
38+
39+
### port?
40+
41+
```ts
42+
optional port: number;
43+
```
44+
45+
Defined in: event-bus/dist/esm/client/client.d.ts:15
46+
47+
Optional port to connect to the devtools server event bus.
48+
Defaults to 42069.

docs/reference/interfaces/tanstackdevtoolsinit.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: TanStackDevtoolsInit
77

88
# Interface: TanStackDevtoolsInit
99

10-
Defined in: [core.tsx:10](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L10)
10+
Defined in: [devtools/src/core.tsx:12](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L12)
1111

1212
## Properties
1313

@@ -25,21 +25,31 @@ optional config: Partial<{
2525
}>;
2626
```
2727

28-
Defined in: [core.tsx:16](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L16)
28+
Defined in: [devtools/src/core.tsx:18](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L18)
2929

3030
Configuration for the devtools shell. These configuration options are used to set the
3131
initial state of the devtools when it is started for the first time. Afterwards,
3232
the settings are persisted in local storage and changed through the settings panel.
3333

3434
***
3535

36+
### eventBusConfig?
37+
38+
```ts
39+
optional eventBusConfig: ClientEventBusConfig;
40+
```
41+
42+
Defined in: [devtools/src/core.tsx:39](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L39)
43+
44+
***
45+
3646
### plugins?
3747

3848
```ts
3949
optional plugins: TanStackDevtoolsPlugin[];
4050
```
4151

42-
Defined in: [core.tsx:36](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L36)
52+
Defined in: [devtools/src/core.tsx:38](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/core.tsx#L38)
4353

4454
Array of plugins to be used in the devtools.
4555
Each plugin has a `render` function that gives you the dom node to mount into

docs/reference/interfaces/tanstackdevtoolsplugin.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: TanStackDevtoolsPlugin
77

88
# Interface: TanStackDevtoolsPlugin
99

10-
Defined in: [context/devtools-context.tsx:15](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L15)
10+
Defined in: [devtools/src/context/devtools-context.tsx:14](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L14)
1111

1212
## Properties
1313

@@ -17,7 +17,7 @@ Defined in: [context/devtools-context.tsx:15](https://github.com/TanStack/devtoo
1717
optional id: string;
1818
```
1919

20-
Defined in: [context/devtools-context.tsx:47](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L47)
20+
Defined in: [devtools/src/context/devtools-context.tsx:46](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L46)
2121

2222
Unique identifier for the plugin.
2323
If not provided, it will be generated based on the name.
@@ -30,7 +30,7 @@ If not provided, it will be generated based on the name.
3030
name: string | (el) => void;
3131
```
3232

33-
Defined in: [context/devtools-context.tsx:42](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L42)
33+
Defined in: [devtools/src/context/devtools-context.tsx:41](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L41)
3434

3535
Name to be displayed in the devtools UI.
3636
If a string, it will be used as the plugin name.
@@ -65,7 +65,7 @@ or
6565
render: (el) => void;
6666
```
6767

68-
Defined in: [context/devtools-context.tsx:61](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L61)
68+
Defined in: [devtools/src/context/devtools-context.tsx:60](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L60)
6969

7070
Render the plugin UI by using the provided element. This function will be called
7171
when the plugin tab is clicked and expected to be mounted.

docs/reference/type-aliases/tanstackdevtoolsconfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ title: TanStackDevtoolsConfig
1111
type TanStackDevtoolsConfig = DevtoolsStore["settings"];
1212
```
1313

14-
Defined in: [context/devtools-context.tsx:125](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L125)
14+
Defined in: [devtools/src/context/devtools-context.tsx:124](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/context/devtools-context.tsx#L124)

docs/reference/variables/plugin_container_id.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ title: PLUGIN_CONTAINER_ID
1111
const PLUGIN_CONTAINER_ID: "plugin-container" = 'plugin-container';
1212
```
1313

14-
Defined in: [constants.ts:1](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/constants.ts#L1)
14+
Defined in: [devtools/src/constants.ts:1](https://github.com/TanStack/devtools/blob/main/packages/devtools/src/constants.ts#L1)

0 commit comments

Comments
 (0)