From 8b832f02acc577237c9862a712e4e376386b6290 Mon Sep 17 00:00:00 2001 From: cameronapak Date: Wed, 16 Jul 2025 23:03:38 -0500 Subject: [PATCH] docs: add cross-links to initial config and seeding sections --- docs/extending/config.mdx | 2 +- docs/usage/introduction.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/extending/config.mdx b/docs/extending/config.mdx index d174b52..1684467 100644 --- a/docs/extending/config.mdx +++ b/docs/extending/config.mdx @@ -4,7 +4,7 @@ title: bknd.config.ts The central configuration file to extend bknd should be placed in the root of your project, so that the [CLI](/usage/cli#using-configuration-file-bknd-config) can automatically pick it up. It allows to: * define your database connection centrally -* pass in initial configuration or data seeds when booting the first time +* pass in [initial configuration](/usage/database#initial-structure) or [data seeds](/usage/database#seeding-the-database) when booting the first time * add plugins to the app * hook into system events * define custom routes and endpoints diff --git a/docs/usage/introduction.mdx b/docs/usage/introduction.mdx index 11ecb7e..47fc955 100644 --- a/docs/usage/introduction.mdx +++ b/docs/usage/introduction.mdx @@ -78,7 +78,7 @@ see [Custom Connection](/usage/database#custom-connection) as a reference. If the connection object is omitted, the app will try to use an in-memory database. ### `initialConfig` -As initial configuration, you can either pass a partial configuration object or a complete one +As [initial configuration](/usage/database#initial-structure), you can either pass a partial configuration object or a complete one with a version number. The version number is used to automatically migrate the configuration up to the latest version upon boot. The default configuration looks like this: