Skip to content

Commit 29e7e98

Browse files
committed
Website: only generate wip docs for apis & components
1 parent 515c725 commit 29e7e98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎website/scripts/PrepareMdToJson.re‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ $code
122122
let sourcePath = Path.join([|root, "..", "bs-react-native-next", "src"|]);
123123
let outputPath = Path.join([|root, "..", "bs-react-native-next", "src"|]);
124124
// create from rei first
125-
Path.join([|sourcePath, "**/*.rei"|])
125+
Path.join([|sourcePath, "(apis|components)/*.rei"|])
126126
->FsUtils.transform(createMissingMd(sourcePath, outputPath));
127127
// fallback to re
128-
Path.join([|sourcePath, "**/*.re"|])
128+
Path.join([|sourcePath, "(apis|components)/*.re"|])
129129
->FsUtils.transform(createMissingMd(sourcePath, outputPath));
130130

131131
Js.log("Modules...");

0 commit comments

Comments
 (0)