Commit 5631852
refactor: switch to React Router (#1115)
* refactor: switch to React Router
* refactor: add order and section to language manual frontmatter
* add react
* improve css loading speed
* fix fouc
* fix css not loading
* make sure progress is synced
* language manual
* working on tables
* back out table changes for now
* updating blog pages
* builds are working
* copy to out folder
* add static server
* cleanup some deps
* cleanup some todo comments
* configure loadmdx
* tables looking good
* more mdx work
* move react docs
* react docs and anchor scrolling
* fixed scrolling on full page nav
* api is rendering
* api prerender is working
* working on api table of contents
* Initial plan
* Migrate CodeMirror from v5 to v6 - initial implementation
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
* Fix warnings and remove CodeMirror v5 dependency
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
* Address code review feedback - fix import paths, error handling, and add documentation
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
* Fix error validation logic - properly validate both line and column bounds
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
* Clarify error position indexing in comments - rows are 1-based, columns are 0-based
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
* Fix ReferenceError: createEditor is not defined - call function directly instead of wrapping in %raw
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
* Format JavaScript files with Prettier
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
* Convert createEditor from raw JavaScript to native ReScript with comprehensive bindings
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
* apidocs
* use more idiomatic rescript bindings
* api nav is working
* trying to fix the inline codeblock
* just remove it for now
* fix &
* move syntax pages
* working on blog listing page
* working on syntax page
* blog listing page is mostly working
* update to rc.2
* blog post is rendering
* fix archived blog posts
* static builds are working
* rendering community pages
* getting close
* package search
* syntax lookup
* remove package-lock
* rebuild package lock
* fix webapi
* fixes
* control panel
* fix divider
* more cleanup
* more style fixes
* config cleanup
* delete pages folder
* rebuild package lock and remove .nvmrc
* try fixing missing types
* add search
* use npm build
* fix typo
* fix package lock webapi version
* run formatter
* rollback codemirror
* back to codemirror 5
* Revert "use more idiomatic rescript bindings"
This reverts commit 1213a43.
* back to codemirror 5
* Revert "rollback codemirror"
This reverts commit ba425b2.
* playground is working
* fix background color on dropdown
* warning table
* docson
* fixed markdown
* import css
* remove trailing ;
* add back tests
* fix doc tests
* remove href test
* test out redirects
* formatting
* add 404 page
* typo in redirects
* fix filename
* fix prettier ignore
* preconnect to css
* fix flicker
* fix community link
* Fix community links
* fix search box and docson
* getting meta tags to work
* meta tags
* fix image imports after merge
* formatting
* align naming for Lazy components
* add scroll lock and fix mobile nav bar
* fix edit link
* close mobile navbar and disable scroll lock on navigation
* fix non doc page mobile nav
* fix syntax lookup url
* pr feedback
* clean up todos
* fix community navbar
* add belt and dom apis to docs
* remove index data
* fix sidebar top padding
* add --host to dev command
* move markdown files into shared folder
* fix api path
* cleanup console logs
* fix unregistered languages
* format
* improve search results box
* remove console log
* format
* fix breadcrumb links
* fix bindings to lzstring
* fix doc links to playground
* add env variables for branch and deployment url
* fix benchmark image
* update links to remove /latest/ and add full v11 domain for older links
* remove .mdx extensions from mdx file links
* fix anchor tags
* remove link to Js lib
* fix llm
* fix scripts
* add more to build command
* remove generate resources command
* fix branch
* fix anchor tags for same page
* remove branch
* links to api/core changed to api/stdlib
* remove VERSION
* llm link fixes
* format
* remove link to unboxed record
* add resi files
* add docs page
* fix api trailing slash and installation table
* remove console log
* prettier ignore installation page
* run rescript first in build
* format package.json
* rename blogposts to blog
* fix routes and work on route testing
* remove data from blog post
* remove archived dates
* fix mdx links
* fix more md links
* fix hrefs in markdown and add testing and CI failures
* fix more links and add errors on invalid links
* more fixes
* fix more links
* format again
* fix template
* rescript first in build
* ignore blog warning
* remove tests form build since they happen in CI
* simplify build
* try and log different information
* try pushing through error
* run patch-package before build because of cloudflare
* fix reanalyze links
* normalize h3-h5
* restore warnings
* fix warnings
* remove mention of core behavior
* fix link to promise docs
* sort blog posts by date
* tidying up
* pr feedback
* format
* fix getting wrong ToC
* fix anchor links
* fix logo link to use react router link
* add preloading and prefetching
* more prefetch on intent
* fix llm.txt links
* format
* format
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tsnobip <2479216+tsnobip@users.noreply.github.com>
Co-authored-by: tsnobip <dontshootthink@gmail.com>1 parent 6c59476 commit 5631852
File tree
1,138 files changed
+22505
-200345
lines changed- .github/workflows
- app
- routes
- compilers/dummy
- data
- api
- v11.0.0
- v12.0.0
- index_data
- markdown-pages
- blog
- archived
- community
- docs
- api
- guidelines
- manual
- react
- syntax-lookup
- misc_docs/syntax
- pages
- blog
- docs
- manual
- v10.0.0
- api
- belt
- dom
- js
- v11.0.0
- api
- v12.0.0
- api
- v8.0.0
- api
- belt
- dom
- js
- v9.0.0
- api
- belt
- dom
- js
- react
- latest
- v0.10.0
- v0.11.0
- patches
- plugins
- public
- blog
- archive
- rescript-launch
- brand
- docson
- favicon
- fonts
- img
- llms
- manual
- react
- lp
- og
- partners
- scripts
- src
- bindings
- common
- components
- layouts
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,138 files changed
+22505
-200345
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
38 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments