Skip to content

Commit

Permalink
fix docs links (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
steve8708 authored Jun 10, 2024
1 parent 842cf49 commit 27a943e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/docs/src/routes/docs/configuration/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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`.
2 changes: 1 addition & 1 deletion packages/docs/src/routes/docs/project-structure/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 27a943e

Please sign in to comment.