Skip to content

Commit 174c902

Browse files
committed
Remove re_pages, relocate all ReScript code into src/
1 parent e90dd50 commit 174c902

File tree

154 files changed

+654
-676
lines changed

Some content is hidden

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

154 files changed

+654
-676
lines changed

_blogposts/2020-08-28-new-rescript-logo.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
Today, our resident designer Bettina is unveiling to us the fresh new ReScript branding we've been long waiting for. We hope you're as excited about the result as us!
99
---
1010

11-
import Image from "components/Image";
11+
import Image from "src/components/Image";
1212

1313
## Why the Rebranding?
1414

_blogposts/2020-11-17-editor-support-custom-operators-and-more.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: |
1010
canonical: https://rescript-lang.org/blog/rescript-the-road-ahead
1111
---
1212

13-
import Video from "components/Video"
13+
import Video from "src/components/Video"
1414

1515
## Upcoming Improvements
1616

_blogposts/archive/state-of-reasonml-org-2020-q2-pt1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: |
1010
to expect in the future. The first part is an introduction to our project.
1111
---
1212

13-
import Image from "components/Image";
13+
import Image from "src/components/Image";
1414

1515
## Hello World!
1616

_blogposts/archive/state-of-reasonml-org-2020-q2-pt3.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |
99
talk about upcoming tools and features.
1010
---
1111

12-
import Image from "components/Image";
12+
import Image from "src/components/Image";
1313

1414
## Future Tools for the Community
1515

_blogposts/archive/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
This is the final part of the series about our vision of a more accessible Reason platform.
1111
---
1212

13-
import Image from "components/Image";
13+
import Image from "src/components/Image";
1414

1515
## It's all Opinions
1616

bsconfig.json

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,14 @@
1515
"ppx-flags": [],
1616
"sources": [
1717
{
18-
"dir": "common"
19-
},
20-
{
21-
"dir": "bindings"
22-
},
23-
{
24-
"dir": "pages",
25-
"subdirs": true
26-
},
27-
{
28-
"dir": "re_pages",
18+
"dir": "src",
2919
"subdirs": true
3020
},
3121
{
3222
"dir": "scripts",
3323
"subdirs": true,
3424
"type": "dev"
35-
},
36-
{
37-
"dir": "components",
38-
"subdirs": true
39-
},
40-
"layouts"
25+
}
4126
],
4227
"package-specs": {
4328
"module": "es6",

pages/_app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//return <Component {...pageProps} />
77
//}
88

9-
import {make as App} from "common/App.js";
9+
import "styles/main.css";
10+
import {make as App} from "src/common/App.js";
1011

1112
export default App;

pages/blog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import BlogRes from "re_pages/Blog";
1+
import BlogRes from "src/Blog";
22

3-
export { getStaticProps } from "re_pages/Blog";
3+
export { getStaticProps } from "src/Blog";
44

55
export default function Blog(props) {
66
return <BlogRes {...props} />

pages/blog/[slug].js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ export {
22
default,
33
getStaticPaths,
44
getStaticProps
5-
} from "re_pages/Blog_Article.js";
5+
} from "src/Blog_Article.js";

pages/docs/latest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import make from "re_pages/DocsOverview.js";
1+
import make from "src/DocsOverview.js";
22

33
export default make;

0 commit comments

Comments
 (0)