Skip to content

Commit 565ce1a

Browse files
Copilothotlong
andcommitted
Fix broken navigation links and create redirect pages for /data-access and /server
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 6bde07e commit 565ce1a

File tree

3 files changed

+62
-1
lines changed

3 files changed

+62
-1
lines changed

docs/.vitepress/config.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ const guideSidebar = [
5454
{
5555
text: 'Low-Code UI',
5656
items: [
57-
{ text: 'Page & Layouts', link: '/guide/page-metadata' },
57+
{ text: 'Pages & Layouts', link: '/spec/page' },
58+
{ text: 'Views', link: '/spec/view' },
59+
{ text: 'Forms', link: '/spec/form' },
5860
]
5961
},
6062
{

docs/data-access.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Data Access
2+
3+
This page has been reorganized. Please visit:
4+
5+
- **[Querying Data](/guide/querying)** - Learn how to query and access data using ObjectQL's JSON-based protocol
6+
- **[Query Best Practices](/guide/query-best-practices)** - Performance optimization and query strategies
7+
- **[API Reference](/api/)** - Complete API documentation for data access
8+
- **[Query Language Specification](/spec/query-language)** - JSON-DSL query protocol specification
9+
10+
## Quick Links
11+
12+
### For Querying Data
13+
See the [Querying Data Guide](/guide/querying) for:
14+
- Find operations
15+
- Filters and conditions
16+
- Sorting and pagination
17+
- Field selection
18+
- Data expansion
19+
20+
### For API Access
21+
See the [API Reference](/api/) for:
22+
- [JSON-RPC API](/api/json-rpc)
23+
- [REST API](/api/rest)
24+
- [GraphQL API](/api/graphql)
25+
- [Metadata API](/api/metadata)
26+
27+
### For Advanced Topics
28+
- [Query Best Practices](/guide/query-best-practices) - Optimization strategies
29+
- [Query Language Spec](/spec/query-language) - Complete protocol specification
30+
- [Client SDK](/api/client-sdk) - TypeScript client for frontend apps

docs/server.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Server Integration
2+
3+
This page has been reorganized. Please visit:
4+
5+
- **[Server Integration Guide](/guide/server-integration)** - Learn how to integrate ObjectQL with web servers and frameworks
6+
- **[API Reference](/api/)** - Complete API documentation
7+
- **[Authentication](/api/authentication)** - Securing your APIs
8+
- **[Custom Routes](/api/custom-routes)** - Adding custom endpoints
9+
10+
## Quick Links
11+
12+
### For Server Setup
13+
See the [Server Integration Guide](/guide/server-integration) for:
14+
- Express integration
15+
- Next.js setup
16+
- HTTP API exposure
17+
- REST, JSON-RPC, and GraphQL endpoints
18+
- Middleware configuration
19+
20+
### For API Configuration
21+
- [Authentication & Authorization](/api/authentication) - Secure your APIs
22+
- [Error Handling](/api/error-handling) - Response formats and error codes
23+
- [Rate Limiting](/api/rate-limiting) - Protect against abuse
24+
- [Custom API Routes](/api/custom-routes) - Extend with custom handlers
25+
26+
### For Deployment
27+
- [Configuration Guide](/guide/configuration) - Application configuration
28+
- [Database Drivers](/guide/drivers/) - Connecting to databases
29+
- [CLI Tools](/guide/cli) - Command-line interface

0 commit comments

Comments
 (0)