File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Path.join([|sourcePath, "**/*.md"|])
2424 let mdJson = mdToJson(file. content);
2525 let content =
2626 {
27- "filename" : file. name |> Js . String . replace(root, "website " ),
27+ "filename" : file. name |> Js . String . replace(root, "" ),
2828 "id" : mdJson## id,
2929 "title" : mdJson## title,
3030 "body" : mdJson## body,
@@ -150,7 +150,7 @@ Path.join([|sourcePath, "**/*.md"|])
150150 let mdJson = mdToJson(file. content);
151151 let content =
152152 {
153- "filename" : file. name |> Js . String . replace(root, "website " ),
153+ "filename" : file. name |> Js . String . replace(root, "" ),
154154 "id" : mdJson## id,
155155 "title" : mdJson## title,
156156 "author" : mdJson## author,
@@ -190,4 +190,4 @@ Path.join([|sourcePath, "**/*.md"|])
190190 (index^ |> Js . Json . stringifyAny)-> Option . getWithDefault("[]" ),
191191 },
192192 |] );
193- });
193+ });
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ let make = (~pageData) => {
9090 None ;
9191 };
9292 let editHref =
93- "https://github.com/reason-react-native/reason-react-native/blob/master /"
93+ "https://github.com/reason-react-native/reason-react-native.github.io /blob/src /"
9494 ++ pageData. filename;
9595 <SpacedView style= styles##container vertical= SpacedView . L >
9696 <main >
@@ -160,4 +160,4 @@ If you want you can help us to improve the situation by |}
160160 <JsonBodyRenderer body= {pageData. body} />
161161 </main >
162162 </SpacedView >;
163- };
163+ };
You can’t perform that action at this time.
0 commit comments