Skip to content

Commit 0d24d05

Browse files
Fix more links
1 parent fdf365e commit 0d24d05

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

pages/docs/manual/v10.0.0/build-configuration.mdx

+8-7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Your source files need to be specified explicitly (we don't want to accidentally
3434
"sources": ["src", "examples"]
3535
}
3636
```
37+
3738
```json
3839
{
3940
"sources": {
@@ -59,22 +60,22 @@ You can mark your directories as dev-only (for e.g. tests). These won't be built
5960

6061
```json
6162
{
62-
"sources" : {
63-
"dir" : "test",
64-
"type" : "dev"
63+
"sources": {
64+
"dir": "test",
65+
"type": "dev"
6566
}
6667
}
6768
```
6869

69-
You can also explicitly allow which modules can be seen from outside. This feature is especially useful for library authors who want to have a single entry point for their users.
70+
You can also explicitly allow which modules can be seen from outside. This feature is especially useful for library authors who want to have a single entry point for their users.
7071
Here, the file `src/MyMainModule.res` is exposed to outside consumers, while all other files are private.
7172

7273
```json
7374
{
7475
"sources": {
7576
"dir": "src",
7677
"public": ["MyMainModule"]
77-
},
78+
}
7879
}
7980
```
8081

@@ -102,7 +103,7 @@ More details can be found on our [external stdlib](./build-external-stdlib) page
102103

103104
```json
104105
{
105-
"reason": {"react-jsx": 3},
106+
"reason": { "react-jsx": 3 },
106107
"refmt": 3
107108
}
108109
```
@@ -161,7 +162,7 @@ Generating JS files with the `.bs.js` suffix means that, on the JS side, you can
161162
- It's immediately clear that we're dealing with a generated JS file here.
162163
- It avoids clashes with a potential `theFile.js` file in the same folder.
163164
- It avoids the need of using a build system loader for ReScript files. This + in-source build means integrating a ReScript project into your pure JS codebase **basically doesn't touch anything in your build pipeline at all**.
164-
- [genType](/docs/manual/latest/gentype-introduction) requires `bs.js` for compiled JS artifacts. If you are using `genType`, you need to use `bs.js` for now.
165+
- [genType](/docs/manual/latest/typescript-integration) requires `bs.js` for compiled JS artifacts. If you are using `genType`, you need to use `bs.js` for now.
165166

166167
## warnings
167168

pages/docs/manual/v9.0.0/build-configuration.mdx

+6-5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Your source files need to be specified explicitly (we don't want to accidentally
4242
"sources": ["src", "examples"]
4343
}
4444
```
45+
4546
```json
4647
{
4748
"sources": {
@@ -67,9 +68,9 @@ You can mark your directories as dev-only (for e.g. tests). These won't be built
6768

6869
```json
6970
{
70-
"sources" : {
71-
"dir" : "test",
72-
"type" : "dev"
71+
"sources": {
72+
"dir": "test",
73+
"type": "dev"
7374
}
7475
}
7576
```
@@ -98,7 +99,7 @@ More details can be found on our [external stdlib](./build-external-stdlib) page
9899

99100
```json
100101
{
101-
"reason": {"react-jsx": 3},
102+
"reason": { "react-jsx": 3 },
102103
"refmt": 3
103104
}
104105
```
@@ -157,7 +158,7 @@ Generating JS files with the `.bs.js` suffix means that, on the JS side, you can
157158
- It's immediately clear that we're dealing with a generated JS file here.
158159
- It avoids clashes with a potential `theFile.js` file in the same folder.
159160
- It avoids the need of using a build system loader for ReScript files. This + in-source build means integrating a ReScript project into your pure JS codebase **basically doesn't touch anything in your build pipeline at all**.
160-
- [genType](/docs/manual/latest/gentype-introduction) requires `bs.js` for compiled JS artifacts. If you are using `genType`, you need to use `bs.js` for now.
161+
- [genType](/docs/manual/latest/typescript-integration) requires `bs.js` for compiled JS artifacts. If you are using `genType`, you need to use `bs.js` for now.
161162

162163
## warnings
163164

pages/docs/react/latest/introduction.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ All our documented examples can be compiled in our [ReScript Playground](/try) a
1818
- Comes with all essential React APIs for building production ready apps (`useState`, `useReducer`, `useEffect`, `useRef`,...)
1919
- No component class API (all ReScript & React codebases are built on function components & hooks)
2020
- Strong level of type safety and type inference for component props and state values
21-
- [GenType](/docs/manual/latest/gentype-introduction) support for importing / exporting React components in TypeScript codebases
21+
- [GenType](/docs/manual/latest/typescript-integration) support for importing / exporting React components in TypeScript codebases
2222

2323
> **This documentation assumes basic knowledge about ReactJS.**
2424
>

pages/docs/react/v0.10.0/introduction.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ All our documented examples can be compiled in our [ReScript Playground](/try) a
1818
- Comes with all essential React APIs for building production ready apps (`useState`, `useReducer`, `useEffect`, `useRef`,...)
1919
- No component class API (all ReScript & React codebases are built on functional components & hooks)
2020
- Strong level of type safety and type inference for component props and state values
21-
- [GenType](/docs/manual/latest/gentype-introduction) support for importing / exporting React components in Flow and TypeScript codebases
21+
- [GenType](/docs/manual/latest/typescript-integration) support for importing / exporting React components in Flow and TypeScript codebases
2222

2323
> **This documentation assumes basic knowledge about ReactJS.**
2424
>

pages/docs/react/v0.11.0/introduction.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ All our documented examples can be compiled in our [ReScript Playground](/try) a
1818
- Comes with all essential React APIs for building production ready apps (`useState`, `useReducer`, `useEffect`, `useRef`,...)
1919
- No component class API (all ReScript & React codebases are built on function components & hooks)
2020
- Strong level of type safety and type inference for component props and state values
21-
- [GenType](/docs/manual/latest/gentype-introduction) support for importing / exporting React components in TypeScript codebases
21+
- [GenType](/docs/manual/latest/typescript-integration) support for importing / exporting React components in TypeScript codebases
2222

2323
> **This documentation assumes basic knowledge about ReactJS.**
2424
>

0 commit comments

Comments
 (0)