From 27a943eac16bd9beaa9d36e3fb34de59c5cf7ccd Mon Sep 17 00:00:00 2001 From: Steve Sewell Date: Mon, 10 Jun 2024 10:06:44 -0700 Subject: [PATCH] fix docs links (#1469) --- packages/docs/src/routes/docs/configuration/index.mdx | 8 ++++---- packages/docs/src/routes/docs/project-structure/index.mdx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/docs/src/routes/docs/configuration/index.mdx b/packages/docs/src/routes/docs/configuration/index.mdx index 8fbf06ef73..242a29fa3b 100644 --- a/packages/docs/src/routes/docs/configuration/index.mdx +++ b/packages/docs/src/routes/docs/configuration/index.mdx @@ -10,8 +10,7 @@ In the root of the project, from which you run mitosis, you can add a `mitosis. The `mitosis.config.js` file can take the following shape: -````tsx - +```tsx type MitosisConfig = { /** * List of targets to compile to. @@ -67,7 +66,8 @@ type MitosisConfig = { * If you provide this function, you must provide a value for every target yourself. */ getTargetPath: ({ target }: { target: Target }) => string; -```` +} +``` The `Targets` type can be any one of, or an array of the following strings: @@ -112,4 +112,4 @@ TypeScript includes a full-fledged JSX compiler. Add the following configuration } ``` -For an example of TS configuration, look at our [basic example](../examples/basic/tsconfig.json)'s `tsconfig.json`. +For an example of TS configuration, look at our [basic example](https://github.com/BuilderIO/mitosis/tree/main/examples/basic/tsconfig.json)'s `tsconfig.json`. diff --git a/packages/docs/src/routes/docs/project-structure/index.mdx b/packages/docs/src/routes/docs/project-structure/index.mdx index c43e220e38..19be400292 100644 --- a/packages/docs/src/routes/docs/project-structure/index.mdx +++ b/packages/docs/src/routes/docs/project-structure/index.mdx @@ -4,7 +4,7 @@ title: Project structure - Mitosis # Project structure -For a practical example of the below structure, check out [our example project](../examples/basic/). +For a practical example of the below structure, check out [our example project](https://github.com/BuilderIO/mitosis/tree/main/examples/basic/). Here is how a Mitosis project will be structured: