Skip to content

Commit f72d7d9

Browse files
authored
docs: fix relative doc page links. (#449)
1 parent d448c2b commit f72d7d9

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

docs/guides/error-handling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,6 @@ const TodoApp = () => {
523523

524524
## See Also
525525

526-
- [Mutations Guide](./overview.md#mutations) - Learn about optimistic updates and rollbacks
527-
- [API Reference](./overview.md#api-reference) - Detailed API documentation
526+
- [API Reference](../../overview.md#api-reference) - Detailed API documentation
527+
- [Mutations Guide](../../overview.md#making-optimistic-mutations) - Learn about optimistic updates and rollbacks
528528
- [TanStack Query Error Handling](https://tanstack.com/query/latest/docs/react/guides/error-handling) - Query-specific error handling

docs/guides/live-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function UserList() {
136136
}
137137
```
138138

139-
For more details on framework integration, see the [React](/docs/framework/react/adapter) and [Vue](/docs/framework/vue/adapter) adapter documentation.
139+
For more details on framework integration, see the [React](../../framework/react/adapter) and [Vue](../../framework/vue/adapter) adapter documentation.
140140

141141
## From Clause
142142

docs/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Live queries support joins across collections. This allows you to:
8282

8383
Every query returns another collection which can _also_ be queried.
8484

85-
For more details on live queries, see the [Live Queries](live-queries.md) documentation.
85+
For more details on live queries, see the [Live Queries](../guides/live-queries.md) documentation.
8686

8787
### Making optimistic mutations
8888

@@ -424,9 +424,9 @@ This also works with joins to derive collections from multiple source collection
424424

425425
#### Collection
426426

427-
There is a `Collection` interface in [`../packages/db/src/collection.ts`](../packages/db/src/collection.ts). You can use this to implement your own collection types.
427+
There is a `Collection` interface in [`../packages/db/src/collection.ts`](https://github.com/TanStack/db/blob/main/packages/db/src/collection.ts). You can use this to implement your own collection types.
428428

429-
See the existing implementations in [`../packages/db`](../packages/db), [`../packages/query-db-collection`](../packages/query-db-collection), [`../packages/electric-db-collection`](../packages/electric-db-collection) and [`../packages/trailbase-db-collection`](../packages/trailbase-db-collection) for reference.
429+
See the existing implementations in [`../packages/db`](https://github.com/TanStack/db/tree/main/packages/db), [`../packages/query-db-collection`](https://github.com/TanStack/db/tree/main/packages/query-db-collection), [`../packages/electric-db-collection`](https://github.com/TanStack/db/tree/main/packages/electric-db-collection) and [`../packages/trailbase-db-collection`](https://github.com/TanStack/db/tree/main/packages/trailbase-db-collection) for reference.
430430

431431
### Live queries
432432

@@ -504,7 +504,7 @@ Note also that:
504504
1. the query results [are themselves a collection](#derived-collections)
505505
2. the `useLiveQuery` automatically starts and stops live query subscriptions when you mount and unmount your components; if you're creating queries manually, you need to manually manage the subscription lifecycle yourself
506506

507-
See the [Live Queries](live-queries.md) documentation for more details.
507+
See the [Live Queries](../guides/live-queries.md) documentation for more details.
508508

509509
### Transactional mutators
510510

docs/quick-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,6 @@ You now understand the basics of TanStack DB! The collection loads and persists
178178

179179
Explore the docs to learn more about:
180180

181-
- **[Installation](./installation.md)** - All framework and collection packages
182-
- **[Overview](./overview.md)** - Complete feature overview and examples
183-
- **[Live Queries](./live-queries.md)** - Advanced querying, joins, and aggregations
181+
- **[Installation](../installation.md)** - All framework and collection packages
182+
- **[Overview](../overview.md)** - Complete feature overview and examples
183+
- **[Live Queries](../guides/live-queries.md)** - Advanced querying, joins, and aggregations

0 commit comments

Comments
 (0)