Skip to content

Commit f3dab2a

Browse files
committed
Restructured metadata sections
1 parent f9cf164 commit f3dab2a

File tree

7 files changed

+352
-411
lines changed

7 files changed

+352
-411
lines changed

docs/docs.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@
124124
"realtime/react-hooks/overview",
125125
"realtime/react-hooks/triggering",
126126
"realtime/react-hooks/realtime",
127-
"realtime/react-hooks/metadata",
128127
"realtime/react-hooks/streams",
129128
"realtime/react-hooks/swr"
130129
]

docs/realtime/backend/metadata.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ The metadata API allows you to update custom metadata on runs and receive real-t
1010

1111
<Note>
1212
For frontend applications using React, see our [React hooks metadata
13-
documentation](/realtime/react-hooks/metadata) for consuming metadata updates in your UI.
13+
documentation](/realtime/react-hooks/realtime#using-metadata) for consuming metadata updates in
14+
your UI.
1415
</Note>
1516

1617
## How metadata works with realtime

docs/realtime/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You automatically receive the complete [run object](/realtime/run-object) contai
2626

2727
Your tasks can also send additional custom data:
2828

29-
- **Metadata updates** - Update custom metadata on runs that gets streamed to subscribers ([backend](/realtime/backend/metadata) | [React hooks](/realtime/react-hooks/metadata))
29+
- **Metadata updates** - Update custom metadata on runs that gets streamed to subscribers ([backend](/realtime/backend/metadata) | [React hooks](/realtime/react-hooks/realtime#using-metadata))
3030
- **Stream function** - Stream data chunks in real-time, perfect for AI/LLM streaming ([backend](/realtime/backend/streams) | [React hooks](/realtime/react-hooks/streams))
3131

3232
## Authentication

docs/realtime/react-hooks/metadata.mdx

Lines changed: 0 additions & 357 deletions
This file was deleted.

0 commit comments

Comments
 (0)