diff --git a/website/docs/en/config/lib/dts.mdx b/website/docs/en/config/lib/dts.mdx index ecac3e3b7..a102d8463 100644 --- a/website/docs/en/config/lib/dts.mdx +++ b/website/docs/en/config/lib/dts.mdx @@ -88,7 +88,7 @@ export default { ::: note -[@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/main/apps/api-extractor) only supports bundle DTS for single entry. If you want to generate bundle DTS for multiple entries, you can add extra lib configuration in [lib](/config/lib) field to split multiple entries into multiple lib configurations. +[@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/main/apps/api-extractor) only supports bundle DTS for single entry. If you want to generate bundle DTS for multiple entries, you can add extra lib configuration in [lib](/config/lib/) field to split multiple entries into multiple lib configurations. ::: diff --git a/website/docs/en/config/lib.mdx b/website/docs/en/config/lib/index.mdx similarity index 100% rename from website/docs/en/config/lib.mdx rename to website/docs/en/config/lib/index.mdx diff --git a/website/docs/en/config/rsbuild.mdx b/website/docs/en/config/rsbuild/index.mdx similarity index 100% rename from website/docs/en/config/rsbuild.mdx rename to website/docs/en/config/rsbuild/index.mdx diff --git a/website/docs/en/config/rsbuild/output.mdx b/website/docs/en/config/rsbuild/output.mdx index b4ce5fa16..45d9ecaff 100644 --- a/website/docs/en/config/rsbuild/output.mdx +++ b/website/docs/en/config/rsbuild/output.mdx @@ -99,5 +99,5 @@ Used to set whether to generate source map files, and which format of source map Setting the build target of Rsbuild. :::info -Check out the [Solution](/guide/solution) to learn more about the build target. +Check out the [Solution](/guide/solution/) to learn more about the build target. ::: diff --git a/website/docs/en/framework/typescript.mdx b/website/docs/en/framework/typescript.mdx deleted file mode 100644 index 42c977580..000000000 --- a/website/docs/en/framework/typescript.mdx +++ /dev/null @@ -1 +0,0 @@ -# Typescript diff --git a/website/docs/en/framework/vue.mdx b/website/docs/en/framework/vue.mdx deleted file mode 100644 index 9d38c2e9d..000000000 --- a/website/docs/en/framework/vue.mdx +++ /dev/null @@ -1 +0,0 @@ -# Vue diff --git a/website/docs/en/guide/advanced/storybook.mdx b/website/docs/en/guide/advanced/storybook.mdx index 442a97ad1..a01c58463 100644 --- a/website/docs/en/guide/advanced/storybook.mdx +++ b/website/docs/en/guide/advanced/storybook.mdx @@ -15,7 +15,7 @@ You can create a new project with Storybook by using [create-rslib](/guide/start ### Setup a Rslib project -This is the prerequisite for setting up Storybook. You need to have a Rslib project with components that you want to showcase in Storybook, check out [Solution](/guide/solution) to setup a Rslib project. +This is the prerequisite for setting up Storybook. You need to have a Rslib project with components that you want to showcase in Storybook, check out [Solution](/guide/solution/) to setup a Rslib project. ### Add Storybook to project diff --git a/website/docs/en/guide/basic/configure-rslib.mdx b/website/docs/en/guide/basic/configure-rslib.mdx index 980bee706..428695ec2 100644 --- a/website/docs/en/guide/basic/configure-rslib.mdx +++ b/website/docs/en/guide/basic/configure-rslib.mdx @@ -82,9 +82,9 @@ export default { The configuration file exports a default object that includes a `lib` array and shared Rsbuild configuration options. You can find detailed descriptions of all configs on the [Configure Overview](/config/) page. -- **[Lib Configurations](/config/lib) (at least one object is required)**: The `lib` array contains multiple objects, each representing a set of independent configurations that will generate different outputs. Each object within the `lib` array can specify unique configurations, which is a superset of Rsbuild +- **[Lib Configurations](/config/lib/) (at least one object is required)**: The `lib` array contains multiple objects, each representing a set of independent configurations that will generate different outputs. Each object within the `lib` array can specify unique configurations, which is a superset of Rsbuild configurations along with Rslib's specific configurations. -- **Shared [Rsbuild Configurations](/config/rsbuild) (optional)**: Outside the `lib` array, there are shared Rsbuild configuration options that will be deep merged with independent Rsbuild configuration of each `lib` configuration object. +- **Shared [Rsbuild Configurations](/config/rsbuild/) (optional)**: Outside the `lib` array, there are shared Rsbuild configuration options that will be deep merged with independent Rsbuild configuration of each `lib` configuration object. Rslib generates corresponding Rsbuild [environments](https://rsbuild.dev/guide/advanced/environments) configurations based on the multiple build configurations of different output formats. You can view the final generated configurations through the [configuration debug](#configuration-debug) documentation. @@ -175,7 +175,7 @@ export default defineConfig({ In Rslib project, you can configure Rsbuild related configurations in both `lib` configuration object and shared configuration section. -Common-used Rsbuild configurations in library development are listed at [Rsbuild Configuration](/config/rsbuild). +Common-used Rsbuild configurations in library development are listed at [Rsbuild Configuration](/config/rsbuild/). You can also refer to the [Rsbuild Configuration](https://rsbuild.dev/config/index#config-overview) for checking the complete configuration items. diff --git a/website/docs/en/guide/solution.mdx b/website/docs/en/guide/solution/index.mdx similarity index 100% rename from website/docs/en/guide/solution.mdx rename to website/docs/en/guide/solution/index.mdx