Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
71c2897
refactor: switch to React Router
jderochervlk Sep 28, 2025
3d46e64
refactor: add order and section to language manual frontmatter
jderochervlk Sep 28, 2025
365d522
Merge branch 'vlk/add-order-and-section-to-manual' of github.com:resc…
jderochervlk Sep 28, 2025
24c9fdc
add react
jderochervlk Sep 28, 2025
bce0ea1
Merge branch 'vlk/add-order-and-section-to-manual' of github.com:resc…
jderochervlk Sep 28, 2025
b3e42b7
improve css loading speed
jderochervlk Sep 28, 2025
62a4916
fix fouc
jderochervlk Sep 28, 2025
2a54652
fix css not loading
jderochervlk Sep 28, 2025
100fb4c
make sure progress is synced
jderochervlk Oct 1, 2025
3b5acdb
language manual
jderochervlk Oct 2, 2025
1217a60
working on tables
jderochervlk Oct 2, 2025
4d28ff6
back out table changes for now
jderochervlk Oct 2, 2025
a39d058
updating blog pages
jderochervlk Oct 3, 2025
06987bb
builds are working
jderochervlk Oct 3, 2025
5282ad2
copy to out folder
jderochervlk Oct 3, 2025
50c193e
add static server
jderochervlk Oct 3, 2025
b0c3673
cleanup some deps
jderochervlk Oct 5, 2025
d167bf2
cleanup some todo comments
jderochervlk Oct 5, 2025
f571352
configure loadmdx
jderochervlk Oct 5, 2025
8c812c6
tables looking good
jderochervlk Oct 5, 2025
96d9032
more mdx work
jderochervlk Oct 5, 2025
4732229
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Oct 5, 2025
565e2d2
move react docs
jderochervlk Oct 7, 2025
009596d
react docs and anchor scrolling
jderochervlk Oct 7, 2025
c23be9b
fixed scrolling on full page nav
jderochervlk Oct 7, 2025
5a5904f
api is rendering
jderochervlk Oct 7, 2025
778f521
api prerender is working
jderochervlk Oct 7, 2025
f566bec
working on api table of contents
jderochervlk Oct 8, 2025
f478604
Initial plan
Copilot Oct 12, 2025
34acb8f
Migrate CodeMirror from v5 to v6 - initial implementation
Copilot Oct 12, 2025
1040aa7
Fix warnings and remove CodeMirror v5 dependency
Copilot Oct 12, 2025
cc339b5
Address code review feedback - fix import paths, error handling, and …
Copilot Oct 12, 2025
8311c48
Fix error validation logic - properly validate both line and column b…
Copilot Oct 12, 2025
6a1b928
Clarify error position indexing in comments - rows are 1-based, colum…
Copilot Oct 12, 2025
87c0785
Fix ReferenceError: createEditor is not defined - call function direc…
Copilot Oct 13, 2025
a631fc4
Format JavaScript files with Prettier
Copilot Oct 13, 2025
5ee2f10
Convert createEditor from raw JavaScript to native ReScript with comp…
Copilot Oct 13, 2025
924e84a
apidocs
jderochervlk Oct 13, 2025
1213a43
use more idiomatic rescript bindings
tsnobip Oct 13, 2025
bc74250
api nav is working
jderochervlk Oct 13, 2025
a90d0a8
trying to fix the inline codeblock
jderochervlk Oct 13, 2025
f8185ff
just remove it for now
jderochervlk Oct 13, 2025
23eaffe
fix &
jderochervlk Oct 13, 2025
31058cb
move syntax pages
jderochervlk Oct 13, 2025
6942b6b
working on blog listing page
jderochervlk Oct 14, 2025
0321c41
working on syntax page
jderochervlk Oct 14, 2025
e997c36
blog listing page is mostly working
jderochervlk Oct 15, 2025
a599198
update to rc.2
jderochervlk Oct 17, 2025
eed9347
blog post is rendering
jderochervlk Oct 17, 2025
bd882a6
fix archived blog posts
jderochervlk Oct 19, 2025
58001ca
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Oct 19, 2025
0a505e7
static builds are working
jderochervlk Oct 19, 2025
9fe79d8
rendering community pages
jderochervlk Oct 19, 2025
f8dc09b
getting close
jderochervlk Oct 20, 2025
91f9442
package search
jderochervlk Oct 20, 2025
b07a66c
syntax lookup
jderochervlk Oct 20, 2025
dc0ad5d
remove package-lock
jderochervlk Oct 20, 2025
654f09e
rebuild package lock
jderochervlk Oct 20, 2025
b7ba93f
fix webapi
jderochervlk Oct 20, 2025
9ce7121
fixes
jderochervlk Oct 20, 2025
14f7bd2
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Oct 20, 2025
0fcf8a8
Merge branch 'copilot/migrate-playground-to-cm-v6' of github.com:resc…
jderochervlk Oct 20, 2025
9272d9d
control panel
jderochervlk Oct 20, 2025
7d7bbdf
fix divider
jderochervlk Oct 20, 2025
f676837
more cleanup
jderochervlk Oct 20, 2025
8f15c78
more style fixes
jderochervlk Oct 20, 2025
89112cc
config cleanup
jderochervlk Oct 20, 2025
b1156d8
delete pages folder
jderochervlk Oct 20, 2025
ec22753
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Oct 21, 2025
0b63251
rebuild package lock and remove .nvmrc
jderochervlk Oct 21, 2025
a5bbc50
try fixing missing types
jderochervlk Oct 22, 2025
219742d
add search
jderochervlk Oct 22, 2025
c9f8095
use npm build
jderochervlk Oct 22, 2025
011e271
fix typo
jderochervlk Oct 22, 2025
7a22a0a
fix package lock webapi version
jderochervlk Oct 22, 2025
0b9887a
run formatter
jderochervlk Oct 22, 2025
ba425b2
rollback codemirror
jderochervlk Oct 23, 2025
201a0ea
back to codemirror 5
jderochervlk Oct 23, 2025
3d650b7
Revert "use more idiomatic rescript bindings"
jderochervlk Oct 23, 2025
ad9b581
back to codemirror 5
jderochervlk Oct 23, 2025
a0ce329
Revert "rollback codemirror"
jderochervlk Oct 23, 2025
7dbe3df
playground is working
jderochervlk Oct 23, 2025
45b99f2
fix background color on dropdown
jderochervlk Oct 23, 2025
3015186
warning table
jderochervlk Oct 23, 2025
d5b111b
docson
jderochervlk Oct 23, 2025
1882fa0
fixed markdown
jderochervlk Oct 23, 2025
3852202
import css
jderochervlk Oct 24, 2025
70aeb1c
remove trailing ;
jderochervlk Oct 24, 2025
ce8576d
add back tests
jderochervlk Oct 24, 2025
7dc4b86
fix doc tests
jderochervlk Oct 24, 2025
0304baa
remove href test
jderochervlk Oct 24, 2025
d48b592
test out redirects
jderochervlk Oct 24, 2025
8547f39
formatting
jderochervlk Oct 24, 2025
11a742f
add 404 page
jderochervlk Oct 24, 2025
91d8860
typo in redirects
jderochervlk Oct 24, 2025
3b0bd2d
fix filename
jderochervlk Oct 24, 2025
20a153b
fix prettier ignore
jderochervlk Oct 24, 2025
113e21b
preconnect to css
jderochervlk Oct 24, 2025
ff62b7b
fix flicker
jderochervlk Oct 24, 2025
9f886db
fix community link
jderochervlk Oct 24, 2025
2d42ed9
Fix community links
jderochervlk Oct 24, 2025
2b785e2
fix search box and docson
jderochervlk Oct 26, 2025
14d00a1
getting meta tags to work
jderochervlk Nov 4, 2025
666f235
meta tags
jderochervlk Nov 4, 2025
20227bb
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Nov 4, 2025
7cf2561
fix image imports after merge
jderochervlk Nov 4, 2025
6880219
formatting
jderochervlk Nov 4, 2025
2074165
align naming for Lazy components
jderochervlk Nov 5, 2025
416591a
add scroll lock and fix mobile nav bar
jderochervlk Nov 6, 2025
b438b3b
fix edit link
jderochervlk Nov 6, 2025
82f90fa
close mobile navbar and disable scroll lock on navigation
jderochervlk Nov 6, 2025
05bb0b4
fix non doc page mobile nav
jderochervlk Nov 6, 2025
b80a9b1
fix syntax lookup url
jderochervlk Nov 6, 2025
bc07101
pr feedback
jderochervlk Nov 6, 2025
f20ebd5
clean up todos
jderochervlk Nov 6, 2025
1453313
fix community navbar
jderochervlk Nov 10, 2025
5ab495c
add belt and dom apis to docs
jderochervlk Nov 11, 2025
916ec45
remove index data
jderochervlk Nov 11, 2025
06cda6b
fix sidebar top padding
jderochervlk Nov 12, 2025
0079c23
add --host to dev command
jderochervlk Nov 12, 2025
526c3b0
move markdown files into shared folder
jderochervlk Nov 12, 2025
e898d69
fix api path
jderochervlk Nov 12, 2025
3b5b533
Merge branch 'master' of github.com:rescript-lang/rescript-lang.org i…
jderochervlk Nov 12, 2025
235675f
cleanup console logs
jderochervlk Nov 12, 2025
41343f2
fix unregistered languages
jderochervlk Nov 12, 2025
07eb068
format
jderochervlk Nov 12, 2025
226afe9
improve search results box
jderochervlk Nov 12, 2025
8542527
remove console log
jderochervlk Nov 12, 2025
6c27855
format
jderochervlk Nov 12, 2025
b91fb6f
fix breadcrumb links
jderochervlk Nov 12, 2025
4f3d0e7
fix bindings to lzstring
jderochervlk Nov 13, 2025
59c4de5
fix doc links to playground
jderochervlk Nov 13, 2025
add23df
add env variables for branch and deployment url
jderochervlk Nov 13, 2025
294b1db
fix benchmark image
jderochervlk Nov 13, 2025
472def8
update links to remove /latest/ and add full v11 domain for older links
jderochervlk Nov 13, 2025
c2709ac
remove .mdx extensions from mdx file links
jderochervlk Nov 13, 2025
2d61a84
fix anchor tags
jderochervlk Nov 13, 2025
d99fbab
remove link to Js lib
jderochervlk Nov 13, 2025
a29c19c
fix llm
jderochervlk Nov 13, 2025
f800701
fix scripts
jderochervlk Nov 13, 2025
19d3c7c
add more to build command
jderochervlk Nov 13, 2025
8754d31
remove generate resources command
jderochervlk Nov 13, 2025
74b7d59
fix branch
jderochervlk Nov 13, 2025
1f428dd
fix anchor tags for same page
jderochervlk Nov 13, 2025
9041cbd
remove branch
jderochervlk Nov 13, 2025
2fd0b80
links to api/core changed to api/stdlib
jderochervlk Nov 13, 2025
17e1e2f
remove VERSION
jderochervlk Nov 13, 2025
efea874
llm link fixes
jderochervlk Nov 13, 2025
57f8443
format
jderochervlk Nov 13, 2025
8d450b2
remove link to unboxed record
jderochervlk Nov 14, 2025
f46cc04
add resi files
jderochervlk Nov 14, 2025
06e3824
add docs page
jderochervlk Nov 14, 2025
3a4794b
fix api trailing slash and installation table
jderochervlk Nov 15, 2025
638ac1b
remove console log
jderochervlk Nov 15, 2025
098c91d
prettier ignore installation page
jderochervlk Nov 15, 2025
32f04ff
run rescript first in build
jderochervlk Nov 15, 2025
7d876d9
format package.json
jderochervlk Nov 15, 2025
ded51ac
rename blogposts to blog
jderochervlk Nov 17, 2025
0f76e97
fix routes and work on route testing
jderochervlk Nov 17, 2025
d05cfb1
remove data from blog post
jderochervlk Nov 17, 2025
acab127
remove archived dates
jderochervlk Nov 17, 2025
42b95e9
fix mdx links
jderochervlk Nov 17, 2025
a467fc1
fix more md links
jderochervlk Nov 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix more md links
  • Loading branch information
jderochervlk committed Nov 18, 2025
commit a467fc1421b84826c8395de2b9f0265457805c3e
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ description: |
---

> **Update / August 13th 2020:**
> BuckleScript is now called ReScript. More infos [here](../2020-08-10-bucklescript-is-rebranding.mdx)
> BuckleScript is now called ReScript. More infos [here](../bucklescript-is-rebranding.mdx)

## A Statement for the Future

Our [new ReScript syntax announcement](./2020-07-01-bucklescript-8-1-new-syntax.mdx) generated lots of good feedback, but also raised some concerns from community members whose use-cases still align with our goal, but sometimes extend outside of it, and who are worried about further commitments to the ecosystem in the face of new unknowns.
Our [new ReScript syntax announcement](./bucklescript-8-1-new-syntax.mdx) generated lots of good feedback, but also raised some concerns from community members whose use-cases still align with our goal, but sometimes extend outside of it, and who are worried about further commitments to the ecosystem in the face of new unknowns.

This post is dedicated to answer some common questions regarding trust, breakages, and future investment.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |
---

> **Update / August 13th 2020:**
> BuckleScript is now called ReScript, more infos [here](/blog/bucklescript-is-rebranding).
> BuckleScript is now called ReScript, more infos [here](../bucklescript-is-rebranding.mdx).

## What's new?

Expand Down
3 changes: 1 addition & 2 deletions markdown-pages/blog/archived/bucklescript-release-1-4-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ There are quite lots of enhancements to the build system, we strongly recommend
users to re-read the documentation ([old
docs](http://bucklescript.github.io/bucklescript/Manual.html#_build_system_support)).

2. [FFI add a new
feature](/docs/manual/bind-to-js-function#fixed-arguments)
2. [FFI add a new feature](../../docs/manual/bind-to-js-function.mdx#fixed-arguments)
3. [FFI can handle `bs.obj` and `bs.string`
combination](https://github.com/bucklescript/bucklescript/issues/1072)
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Besides a number of minor bug fixes and perf improvement, most notable changes
is also first class, this also makes Reason for the first time available to
Windows users.
- FFI added
[`bs.uncurry`](/docs/manual/function#curry--uncurry)
[`bs.uncurry`](../../docs/manual/function.mdx#curry--uncurry)
which will automatically uncurry the callback so the user land API is clearer
- Improve [object label
translation](https://bucklescript.github.io/bucklescript/Manual.html#_object_label_translation_convention)
Expand Down
6 changes: 3 additions & 3 deletions markdown-pages/blog/archived/bucklescript-release-1-7-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ release.
### Unicode string and interpolation support

See [String
interpolation](/docs/manual/interop-cheatsheet#string-unicode--interpolation)
interpolation](../../docs/manual/interop-cheatsheet.mdx#string-unicode--interpolation)

### Catch exceptions raised on JS side

See [Catch exception](/docs/manual/exception)
See [Catch exception](../../docs/manual/exception.mdx)

### Mixed data source

Expand All @@ -110,7 +110,7 @@ schema](http://bucklescript.github.io/bucklescript/docson/#build-schema.json)

### `bs.as` accept json literal support

This feature is mentioned in the [Functions / Fixed Arguments](/docs/manual/bind-to-js-function#fixed-arguments) section.
This feature is mentioned in the [Functions / Fixed Arguments](../../docs/manual/bind-to-js-function.mdx#fixed-arguments) section.

### Bug fixes, performance improvement, and stress tests

Expand Down
5 changes: 2 additions & 3 deletions markdown-pages/blog/archived/bucklescript-release-3-1-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ A picture's worth a thousand words:
alt="debugger after"
/>

Please see [Better Data Structures Printing (Debug
Mode)](/docs/reason-compiler/latest/better-data-structures-printing-debug-mode) for usage.
Please see for usage.

## Even Better `bs.deriving abstract`

Expand All @@ -41,7 +40,7 @@ of a `bs.deriving abstract` can now accept functions.

## Pipe First Improvement

[Pipe First](/docs/manual/pipe) now supports piping into variant tags!
[Pipe First](../../docs/manual/pipe.mdx) now supports piping into variant tags!

```reason
let result = name |. preprocess |. Some
Expand Down
2 changes: 1 addition & 1 deletion markdown-pages/blog/archived/bucklescript-release-5-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ release and refmt is synced up, a detailed list of changes is available
Several new features are introduced in this release:

- first class `bs.variadic` support, documented
[here](/blog/feature-preview-variadic)
[here](./feature-preview-variadic.mdx)

- we prebuilt binaries for Windows, MacOS and Linux, this will help reduce your
CI build time significantly. For exotic OSes, it will fall back to build from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ We also focused a lot on early feedback from the community, so we regularly [pos

The current [official BuckleScript's API docs](https://bucklescript.github.io/bucklescript/api/index_modules.html) aren't visually stunning, but they _are_ important for getting things done as a user. The docs are maintained within the BuckleScript repository, and there was no process to make sure the documentation site remained up to date with each BuckleScript release. It also presented a huge bottleneck for anyone hoping to contribute from the outside. So [Nik Graf](https://twitter.com/nikgraf) bit the bullet, did the massive amount of grunt work to extract all the available modules and function headers into hand curated markdown files, and organize them into easily-maintained documents from a technical writer's perspective.

So we now have most of BuckleScript v7's [JS / Belt module](/docs/manual/api/belt) documented.
So we now have most of BuckleScript v7's [JS / Belt module](https://rescript-lang.org/docs/manual/api/latest/belt) documented.

We are now working on further automating the process for generating BuckleScript documentation by adding JSON export functionality to `odoc`. As soon as this is done, we will upstream our latest hand curated changes to the BuckleScript inline documentation and also give better guidance on contributing to the JS / Belt documentation in the source code as well.

Expand All @@ -79,7 +79,7 @@ Our goal is to have a properly curated, well structured and streamlined overview
caption="First hand-sketches of the reasonml.org structure"
/>

It didn't take long until we realized that we can't just keep the upstream version in its original form, so we started to make adaptations where it made sense. We also accepted new additions from the community, such as explanations about [function signatures on optional arguments](/docs/manual/function#signatures-and-type-annotations) in the Reason manual, or a new decorator overview in the BuckleScript section.
It didn't take long until we realized that we can't just keep the upstream version in its original form, so we started to make adaptations where it made sense. We also accepted new additions from the community, such as explanations about [function signatures on optional arguments](../../docs/manual/function.mdx#signatures-and-type-annotations) in the Reason manual, or a new decorator overview in the BuckleScript section.

That said, we do keep track of new changes on the upstream sources and cherry-pick changes if necessary. To make this process more transparent, we introduced a version table on our [startpage](/) to make it easier to see the latest cherry-pick commit for each resource (ReasonML, BuckleScript, etc.).

Expand Down Expand Up @@ -109,9 +109,9 @@ We'll go into more detail in our future posts. Stay tuned!

This article is part of the "State of reasonml.org 2020-Q2" series, which will cover following topics (please stay tuned for the upcoming posts):

**Part 2) [Higher Quality Docs](/blog/state-of-reasonml-org-2020-q2-pt2)**<br/>How we automate things to improve docs quality and how we make sure that PRs get merged.
- [Part 2](./state-of-reasonml-org-2020-q2-pt2.mdx)

**Part 3) [Future Tools for the Community](/blog/state-of-reasonml-org-2020-q2-pt3)**<br/>How we'll generate API docs with our new [doc-tools](https://github.com/reason-association/doc-tools) and how the new Playground will look like
- [Part 3](./state-of-reasonml-org-2020-q2-pt3.mdx)

**Part 4) It's all Opinions**<br/>We'll dive into our documentation philosophy, our vision of the Reason Platform and ideas on how to tackle the "Reason Native" documentation.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: |

## Higher Quality Docs

In our [previous blogpost](/blog/state-of-reasonml-org-2020-q2-pt1) we talked about the rationale and general concepts of the `reasonml.org` project. In this post we want to highlight how we make sure that our documentation is easy to manage and easy to refactor.
> **Go to [Part 1](./state-of-reasonml-org-2020-q2-pt1.mdx)** if you haven't read it yet.r documentation is easy to manage and easy to refactor.

## Automatic Quality Assurance

Expand Down Expand Up @@ -152,12 +152,12 @@ Happy docs browsing!

This article is part of the "State of reasonml.org 2020-Q2" series (please stay tuned for the upcoming posts):

**Part 3) [Future Tools for the Community](/blog/state-of-reasonml-org-2020-q2-pt3):**
**Part 3) [Future Tools for the Community](./state-of-reasonml-org-2020-q2-pt3.mdx):**
How we'll generate API docs with our new [doc-tools](https://github.com/reason-association/doc-tools) and how the new Playground will look like

**Part 4) It's all Opinions:**
We'll dive into our documentation philosophy, our vision of the Reason Platform and ideas on how to tackle the "Reason Native" documentation.

## Previous Posts

- **Part 1) [Introduction to reasonml.org](/blog/state-of-reasonml-org-2020-q2-pt1)**
- **Part 1) [Introduction to reasonml.org](./state-of-reasonml-org-2020-q2-pt1.mdx)**
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |

## Future Tools for the Community

In [part 2](/blog/state-of-reasonml-org-2020-q2-pt2) of this blog series, we talked about the automation process for quality assurance within the documentation platform itself, and how we want to improve the collaboration process for our contributors.
In [Part 2](./state-of-reasonml-org-2020-q2-pt2.mdx) we've talked about automated

This article will cover some features and exciting ideas we have been working on for quite a while now. Even though these features are not fully implemented yet, we still think it's important to communicate the whole spectrum of the project.

Expand Down Expand Up @@ -73,5 +73,5 @@ We'll dive into our documentation philosophy, our vision of the Reason Platform

## Previous Posts

- **Part 1) [Introduction to reasonml.org](/blog/state-of-reasonml-org-2020-q2-pt1)**
- **Part 2) [Higher Quality Docs](/blog/state-of-reasonml-org-2020-q2-pt1)**
- > **Go to [Part 1](./state-of-reasonml-org-2020-q2-pt1.mdx)** if you haven't read it yet.
- **Part 2) [Higher Quality Docs](./state-of-reasonml-org-2020-q2-pt2.mdx)**
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |

## It's all Opinions

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.
This is the final part of our "State of reasonml.org Q1-2020" series. > **Go to [Part 3](./state-of-reasonml-org-2020-q2-pt3.mdx)** if you haven't read it yet.

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.

Expand Down Expand Up @@ -93,6 +93,6 @@ Happy documentation browsing!

## Previous Posts

- **Part 1) [Introduction to reasonml.org](/blog/state-of-reasonml-org-2020-q2-pt1)**
- **Part 2) [Higher Quality Docs](/blog/state-of-reasonml-org-2020-q2-pt1)**
- **Part 3) [Future Tools for the Community](/blog/state-of-reasonml-org-2020-q2-pt3)**
- **Part 1) [Introduction to reasonml.org](./state-of-reasonml-org-2020-q2-pt1.mdx)**
- **Part 2) [Higher Quality Docs](./state-of-reasonml-org-2020-q2-pt2.mdx)**
- **Part 3) [Future Tools for the Community](./state-of-reasonml-org-2020-q2-pt3.mdx)**
4 changes: 2 additions & 2 deletions markdown-pages/blog/bucklescript-is-rebranding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ BuckleScript started with the idea that **JavaScript programmers deserved a grea
- a fast & reliable toolchain much needed in front-end and Node development,
- various JS interop features that spawned an ecosystem of well typed libraries,
- a production-ready standard library,
- [and recently](/blog/archived/bucklescript-8-1-new-syntax), a fresh syntax made by a major contributor of Reason's old syntax.
- [and recently](./archived/bucklescript-8-1-new-syntax.mdx), a fresh syntax made by a major contributor of Reason's old syntax.

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:

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

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ let name = nameFromB(a :> b)

Notice how `a` now has more fields than `b`, but we can still coerce `a` to `b` because `b` has a subset of the fields of `a`.

In combination with [optional record fields](/docs/manual/record#optional-record-fields), one may coerce a mandatory field of an `option` type to an optional field:
In combination with [optional record fields](../docs/manual/record.mdx#optional-record-fields), one may coerce a mandatory field of an `option` type to an optional field:

```rescript
type a = {
Expand Down
2 changes: 1 addition & 1 deletion markdown-pages/blog/new-rescript-logo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ We'd like to position ReScript to be a community of product-first developers who

## Next Steps

In the next few weeks, we will gradually roll out our new brand identity across our official communication platforms. We'll also provide marketing material and assets on our [brand assets page](/brand) for our users.
In the next few weeks, we will gradually roll out our new brand identity across our official communication platforms. We'll also provide marketing material and assets on our [brand assets page](https://rescript-lang.org/brand) for our users.

We hope you enjoyed our new design article. In the future, we're hoping to interleave our technical releases with a few design and UX-oriented posts. Stay tuned!

Expand Down
2 changes: 1 addition & 1 deletion markdown-pages/blog/reforging-build-system.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ The `.cmi` file is automatically generated for every module. It acts as a contra

If you do not write an explicit interface file (`.resi`), the compiler infers the interface from everything you export in the `.res` file. If you do write a `.resi` file, that becomes the explicit interface instead.

Here's a concrete example with an explicit [interface file](/docs/manual/v12.0.0/module#signatures):
Here's a concrete example with an explicit [interface file](../docs/manual/module.mdx#signatures):

```rescript
// Button.resi
Expand Down
6 changes: 3 additions & 3 deletions markdown-pages/blog/release-10-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ let logUserDetails = async (userId: string) => {
}
```

Learn more about async/await support in [our documentation](../../docs/manual/async-await.mdx).
Learn more about async/await support in [our documentation](../docs/manual/async-await.mdx).

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

Expand Down Expand Up @@ -82,7 +82,7 @@ ReScript 10.1 now ships with JSX v4. Here's what's new:
- **Two new transformation modes**. JSX v4 comes with a `classic` mode (= `React.createElement`) and `automatic` mode (= `jsx-runtime` calls). The latter is the new default, moving forward with `rescript/[email protected]` and `React@18`.
- **Allow mixing JSX configurations on the project and module level.** Gradually mix and match JSX transformations and modes without migrating any old code!
- **Pass `prop` types** to `@react.component`. You can now fine tune `@react.component` with your specific prop type needs. Very useful for libraries and frameworks to define component interfaces.
- **Less boilerplate when using `React.Context`**. Check out our [example](/docs/react/migrate-react#reactcontext) for comparison.
Less boilerplate when using `React.Context`.
- **Revisited props spread operator.** This will allow users to spread records in JSX without sacrificing their sanity. Note that this implementation has harder constraints than its JS counterpart. (requires `rescript/[email protected]` or higher)
- **Better type inference of props.** Type inference when passing e.g. variants that are defined in the same module as the component is much improved. With the earlier JSX version, you'd often need to write code like this in order for the compiler to understand which variant you're passing: `<Button variant=Button.Primary text="Click" />`. With JSX v4, you won't need to tell the compiler where the variant you're passing is located: `<Button variant=Primary text="Click" />`.

Expand Down Expand Up @@ -281,7 +281,7 @@ export {

### How to migrate to JSX v4?

We provide a full [migration guide](/docs/react/migrate-react) with all the details of an migration.
We provide a full migration guide with all the details of an migration.

Make sure to also check out the [rescript-react changelog](https://github.com/rescript-lang/rescript-react/blob/master/CHANGELOG) as well.

Expand Down
Loading
Loading