Skip to content

Commit 42b95e9

Browse files
committed
fix mdx links
1 parent acab127 commit 42b95e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+145
-152
lines changed

markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt4.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: |
1010

1111
## It's all Opinions
1212

13-
This is the final part of our "State of reasonml.org Q1-2020" series. In [part 3](/blog/state-of-reasonml-org-2020-q2-pt3), we gave our readers some insights on advanced features we've been working on for `reasonml.org` and showed how our tools might help the community to build better documentation experiences themselves.
13+
This is the final part of our "State of reasonml.org Q1-2020" series. In [part 3](./state-of-reasonml-org-2020-q2-pt3.mdx), we gave our readers some insights on advanced features we've been working on for `reasonml.org` and showed how our tools might help the community to build better documentation experiences themselves.
1414

1515
Apart from the general progress perspective of the `reasonml.org` project, we also want to give you some more context on how we envision the documentation landscape for the Reason language in the near future. It should give you a perspective on how we see things, and we hope it will kick off some constructive community discussions on where things should be heading.
1616

markdown-pages/blog/bucklescript-is-rebranding.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BuckleScript started with the idea that **JavaScript programmers deserved a grea
2626
- a fast & reliable toolchain much needed in front-end and Node development,
2727
- various JS interop features that spawned an ecosystem of well typed libraries,
2828
- a production-ready standard library,
29-
- [and recently](/blog/bucklescript-8-1-new-syntax), a fresh syntax made by a major contributor of Reason's old syntax.
29+
- [and recently](/blog/archived/bucklescript-8-1-new-syntax), a fresh syntax made by a major contributor of Reason's old syntax.
3030

3131
These developments have attracted many people into our community. But one bigger challenge persisted: newcomers dropped out at the sheer amount of extra incongruent tools and learning overhead from having to understand OCaml concepts, Reason concepts, and BuckleScript's concepts. Take, for example, what's required to make a React app using BuckleScript:
3232

@@ -72,7 +72,7 @@ No. The new syntax & tools sit alongside the existing code. We **won't** remove
7272

7373
**What's the editor tooling story?**
7474

75-
Much more streamlined now! See our [Editor Plugins](/docs/manual/editor-plugins) page.
75+
Much more streamlined now! See our [Editor Plugins](/docs/manual/editor-plugins.mdx) page.
7676

7777
Reason-language-server will continue working as-is for existing usage. We as first party don't work on ocaml's language server.
7878

markdown-pages/blog/first-class-dynamic-import-support.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: |
77
A tour of new capabilities coming to ReScript v11
88
---
99

10-
> This is the third post covering new capabilities that'll ship in ReScript v11. You can check out the first post on [Better Interop with Customizable Variants](/blog/improving-interop) and the second post on [Enhanced Ergonomics for Record Types](/blog/enhanced-ergonomics-for-record-types).
10+
> This is the third post covering new capabilities that'll ship in ReScript v11. You can check out the first post on [Better Interop with Customizable Variants](./improving-interop.mdx) and the second post on [Enhanced Ergonomics for Record Types](./enhanced-ergonomics-for-record-types.mdx).
1111
1212
## Introduction
1313

markdown-pages/blog/release-10-1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ let logUserDetails = async (userId: string) => {
5151
}
5252
```
5353

54-
To learn more about our async / await feature, check out the relevant [manual section](/docs/manual/async-await).
54+
Learn more about async/await support in [our documentation](../../docs/manual/async-await.mdx).
5555

5656
## New `promise` builtin type and `Js.Promise2` module
5757

markdown-pages/blog/release-11-0-0.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Use your favorite package manager to install the new compiler release, e.g.:
1616
npm install rescript@11
1717
```
1818

19-
To upgrade your project or to find out if there are any breaking changes that affect you, please follow the [migration guide](/docs/manual/migrate-to-v11).
19+
You can find the complete migration guide [here](../../docs/manual/migrate-to-v11.mdx).
2020

2121
The complete list of changes can be found [here](https://github.com/rescript-lang/rescript/blob/v11.0.0/CHANGELOG). Let's have a look at the most notable improvements.
2222

markdown-pages/blog/uncurried-mode.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: |
77
A tour of new capabilities coming to ReScript v11
88
---
99

10-
> This is the fourth post covering new capabilities that'll ship in ReScript v11. You can check out the first post on [Better Interop with Customizable Variants](/blog/improving-interop), the second post on [Enhanced Ergonomics for Record Types](/blog/enhanced-ergonomics-for-record-types) and the third post on [First-class Dynamic Import Support](/blog/first-class-dynamic-import-support).
10+
> This is the fourth post covering new capabilities that'll ship in ReScript v11. You can check out the first post on [Better Interop with Customizable Variants](./improving-interop.mdx), the second post on [Enhanced Ergonomics for Record Types](./enhanced-ergonomics-for-record-types.mdx), and the third post on [First-class Dynamic Import Support](./first-class-dynamic-import-support.mdx).
1111
1212
## Introduction
1313

markdown-pages/community/overview.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,4 @@ Your questions can go on:
2929
- Various GitHub repositories in our [GitHub org](https://github.com/rescript-lang/).
3030
- [Stack Overflow's `rescript` tag](https://stackoverflow.com/questions/tagged/rescript) (not frequently monitored).
3131

32-
> We stand for inclusivity and good behavior. Please read our [Code of
33-
> Conduct](/community/code-of-conduct) and help us keeping our community healthy and
34-
> friendly!
32+
> We stand for inclusivity and good behavior. Please read our [Code of Conduct](./code-of-conduct.mdx) and help us keeping our community healthy and friendly!

markdown-pages/docs/manual/array-and-list.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ You'd use list for its resizability, its fast prepend (adding at the head), and
153153

154154
Do **not** use list if you need to randomly access an item or insert at non-head position. Your code would end up obtuse and/or slow.
155155

156-
The standard lib provides a [List module](api/stdlib/list).
156+
For accessing deeper, see [destructuring](./pattern-matching-destructuring.mdx).
157157

158158
#### Immutable Prepend
159159

@@ -192,7 +192,7 @@ var anotherList = {
192192

193193
#### Access
194194

195-
`switch` (described in the [pattern matching section](pattern-matching-destructuring)) is usually used to access list items:
195+
`switch` (described in the [pattern matching section](pattern-matching-destructuring.mdx)) is usually used to access list items:
196196

197197
<CodeTab labels={["ReScript", "JS Output"]}>
198198

markdown-pages/docs/manual/async-await.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ let checkAuth = async () => {
149149
}
150150
```
151151

152-
Note how we are essentially catching JS errors the same way as described in our [Exception](exception#catch-rescript-exceptions-from-js) section.
152+
Note how we are essentially catching JS errors the same way as described in our [Exception](./exception.mdx#catch-rescript-exceptions-from-js) section.
153153

154154
You may unify error and value handling in a single switch as well:
155155

markdown-pages/docs/manual/bind-to-js-function.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ In a `send`, the object is always the first argument. Actual arguments of the me
109109

110110
### Chaining
111111

112-
Ever used `foo().bar().baz()` chaining ("fluent api") in JS OOP? We can model that in ReScript too, through the [pipe operator](pipe).
112+
Ever used `foo().bar().baz()` chaining ("fluent api") in JS OOP? We can model that in ReScript too, through the [pipe operator](pipe.mdx).
113113

114114
### Nested function call
115115

@@ -164,7 +164,7 @@ var v = Path.join("a", "b");
164164

165165
</CodeTab>
166166

167-
`module` will be explained in [Import from/Export to JS](import-from-export-to-js).
167+
`module` will be explained in [Import from/Export to JS](import-from-export-to-js.mdx).
168168

169169
## Modeling Polymorphic Function
170170

0 commit comments

Comments
 (0)