Skip to content

Commit e7f8c1f

Browse files
Copilothuangyiirene
andcommitted
Fix broken documentation links and update link checker config
- Fix relative path links to use .md extension instead of omitting it - Fix broken links in tutorials (task-manager, crm-system, federation references) - Fix broken links in guide documentation (plugins, drivers, API references) - Fix broken links in package READMEs (relative paths to LICENSE and docs) - Update icon reference in vscode-objectql from .png to .svg - Remove references to non-existent files (sdk-reference.md, browser-demo, CONTRIBUTING.md) - Add ignore patterns to markdown-link-check-config.json for external URLs that are unavailable (objectql.org, npmjs package URLs, GitHub release tags with URL encoding) Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent 08d6c44 commit e7f8c1f

23 files changed

Lines changed: 49 additions & 40 deletions

.github/markdown-link-check-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@
1414
},
1515
{
1616
"pattern": "^https://www.google.com/search"
17+
},
18+
{
19+
"pattern": "^https://objectql.org"
20+
},
21+
{
22+
"pattern": "^https://www.npmjs.com/package/@objectql/"
23+
},
24+
{
25+
"pattern": "^https://github.com/.*/releases/tag/.*%40"
1726
}
1827
],
1928
"replacementPatterns": [],

docs/guide/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This unifies the previous concepts of `source`, `dir` and `presets`.
3838

3939
### `plugins` ((ObjectQLPlugin | string)[])
4040
A list of plugin instances OR package names to extend the core functionality.
41-
See [Plugin System](./plugins.html) for details.
41+
See [Plugin System](./plugins.md) for details.
4242

4343
### `objects` (Record<string, ObjectConfig>)
4444
(Advanced) In-memory definition of objects. Useful for dynamic runtime schema generation.

docs/guide/drivers/extensibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ To implement a custom driver:
147147
- [`@objectql/driver-sql`](../../../packages/drivers/sql/src/index.ts) - SQL databases
148148
- [`@objectql/driver-mongo`](../../../packages/drivers/mongo/src/index.ts) - MongoDB
149149
3. Review the [Driver Interface](../../../packages/foundation/types/src/driver.ts)
150-
4. Follow the [Driver Testing Guide](./testing-drivers.md) (coming soon)
150+
4. Follow the driver testing patterns from existing drivers (see the test suites in `@objectql/driver-sql` and `@objectql/driver-mongo`)
151151

152152
## Community Drivers
153153

docs/guide/drivers/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ You can configure multiple drivers for different parts of your application, or u
88

99
We currently support the following official drivers:
1010

11-
* **[SQL Driver](./sql)**: Supports PostgreSQL, MySQL, SQLite, MSSQL, etc.
12-
* **[MongoDB Driver](./mongo)**: Supports MongoDB.
11+
* **[SQL Driver](./sql.md)**: Supports PostgreSQL, MySQL, SQLite, MSSQL, etc.
12+
* **[MongoDB Driver](./mongo.md)**: Supports MongoDB.
1313

1414
## Extensibility
1515

1616
ObjectQL is designed to support additional database types through custom drivers.
1717

18-
* **[Driver Extensibility Guide](./extensibility)**: Learn about potential database types that can be supported and how to choose the right one for your needs.
19-
* **[Implementing a Custom Driver](./implementing-custom-driver)**: Step-by-step guide to building your own database driver for ObjectQL.
18+
* **[Driver Extensibility Guide](./extensibility.md)**: Learn about potential database types that can be supported and how to choose the right one for your needs.
19+
* **[Implementing a Custom Driver](./implementing-custom-driver.md)**: Step-by-step guide to building your own database driver for ObjectQL.
2020

2121
## Unified ID Field
2222

docs/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,5 +200,5 @@ await ctx.object('todo').execute('mark_done', 'id_123', {});
200200

201201
* **[Database Drivers](./drivers/index.md)**: Connect to PostgreSQL, MongoDB, etc.
202202
* **[Data Modeling](./data-modeling.md)**: Learn about all field types (Select, Lookup, Date, etc.)
203-
* **[SDK Reference](./sdk-reference.md)**: Explore the full API.
203+
* **[API Reference](../api/index.md)**: Explore the full API.
204204
* **[Hooks](./logic-hooks.md)**: Deep dive into the event system.

docs/guide/ide-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ ObjectQL is designed to be "AI-Native". The most efficient way to write schema a
107107

108108
We strongly recommend configuring your AI Coding Assistant (GitHub Copilot, Cursor, Windsurf) with our specialized System Prompts. These prompts teach the AI about ObjectQL's metadata protocol.
109109

110-
[👉 Go to AI Coding Assistant Guide](/ai/coding-assistant)
110+
[👉 Go to AI Coding Assistant Guide](../ai/coding-assistant.md)

docs/guide/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ Your application logic isn't hidden inside controller functions. It's attached t
5656

5757
ObjectQL exposes your data through multiple API styles:
5858

59-
* **[Complete API Reference](../api/README.md)** - Comprehensive guide to all endpoints
60-
* **[JSON-RPC API](../api/README.md#json-rpc-style-api)** - Universal protocol for all operations
61-
* **[REST API](../api/README.md#rest-style-api)** - Traditional REST endpoints
62-
* **[Metadata API](../api/README.md#metadata-api)** - Runtime schema discovery
59+
* **[Complete API Reference](../api/index.md)** - Comprehensive guide to all endpoints
60+
* **[JSON-RPC API](../api/json-rpc.md)** - Universal protocol for all operations
61+
* **[REST API](../api/rest.md)** - Traditional REST endpoints
62+
* **[Metadata API](../api/metadata.md)** - Runtime schema discovery
6363
* **[Authentication Guide](../api/authentication.md)** - Securing your APIs
6464

6565
## Next Steps
6666

6767
* [**Getting Started**](./getting-started.md): Build your first ObjectQL app
6868
* [**CLI Tool**](./cli.md): Using the command line interface for codegen
69-
* [**API Reference**](../api/README.md): Complete API documentation
69+
* [**API Reference**](../api/index.md): Complete API documentation

docs/guide/metadata-organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,4 +362,4 @@ The example includes:
362362
- [Data Modeling Guide](./data-modeling.md)
363363
- [Plugin Development](./plugins.md)
364364
- [Logic Hooks](./logic-hooks.md)
365-
- [Complete Example](../../packages/starters/enterprise/)
365+
- See examples in the repository under `examples/` directory

docs/guide/migration-id-field.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ ALTER TABLE users_new RENAME TO users;
277277
If you encounter issues during migration:
278278

279279
1. Check the [Driver Documentation](./drivers/index.md)
280-
2. Review the [API Reference](../api/README.md)
280+
2. Review the [API Reference](../api/index.md)
281281
3. Open an issue on [GitHub](https://github.com/objectql/objectql/issues)
282282

283283
## Summary

docs/guide/query-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,6 @@ query {
820820

821821
**Need Help?**
822822

823-
- 📖 [Documentation](https://objectql.org/docs)
823+
- 📖 [Documentation](../index.md)
824824
- 💬 [Community Discord](https://discord.gg/objectql)
825825
- 🐛 [Report Issues](https://github.com/objectstack-ai/objectql/issues)

0 commit comments

Comments
 (0)