File tree
Expand file treeCollapse file tree2 files changed
+5
-5
lines changed Expand file treeCollapse file tree2 files changed
+5
-5
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -24,7 +24,7 @@ Path.join([|sourcePath, "**/*.md"|])
|
24 | 24 | let mdJson = mdToJson(file.content);
|
25 | 25 | let content =
|
26 | 26 | {
|
27 |
| -"filename": file.name |> Js.String.replace(root, "website"), |
| 27 | +"filename": file.name |> Js.String.replace(root, ""), |
28 | 28 | "id": mdJson##id,
|
29 | 29 | "title": mdJson##title,
|
30 | 30 | "body": mdJson##body,
|
@@ -150,7 +150,7 @@ Path.join([|sourcePath, "**/*.md"|])
|
150 | 150 | let mdJson = mdToJson(file.content);
|
151 | 151 | let content =
|
152 | 152 | {
|
153 |
| -"filename": file.name |> Js.String.replace(root, "website"), |
| 153 | +"filename": file.name |> Js.String.replace(root, ""), |
154 | 154 | "id": mdJson##id,
|
155 | 155 | "title": mdJson##title,
|
156 | 156 | "author": mdJson##author,
|
@@ -190,4 +190,4 @@ Path.join([|sourcePath, "**/*.md"|])
|
190 | 190 | (index^ |> Js.Json.stringifyAny)->Option.getWithDefault("[]"),
|
191 | 191 | },
|
192 | 192 | |]);
|
193 |
| -}); |
| 193 | +}); |
Original file line number | Diff line number | Diff line change |
---|
@@ -90,7 +90,7 @@ let make = (~pageData) => {
|
90 | 90 | None;
|
91 | 91 | };
|
92 | 92 | let editHref =
|
93 |
| -"https://.com/reason-react-native/reason-react-native/blob/master/" |
| 93 | +"https://.com/reason-react-native/reason-react-native..io/blob/src/" |
94 | 94 | ++ pageData.filename;
|
95 | 95 | <SpacedView style=styles##container vertical=SpacedView.L>
|
96 | 96 | <main>
|
@@ -160,4 +160,4 @@ If you want you can help us to improve the situation by |}
|
160 | 160 | <JsonBodyRenderer body={pageData.body} />
|
161 | 161 | </main>
|
162 | 162 | </SpacedView>;
|
163 |
| -}; |
| 163 | +}; |
You can’t perform that action at this time.
0 commit comments