File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -108,18 +108,6 @@ const createV800ManualToc = () => {
108
108
fs . writeFileSync ( TARGET_FILE , JSON . stringify ( toc ) , "utf8" ) ;
109
109
} ;
110
110
111
- const createReasonCompilerToc = ( ) => {
112
- const MD_DIR = path . join ( __dirname , "../pages/docs/reason-compiler/latest" ) ;
113
- const TARGET_FILE = path . join ( __dirname , "../index_data/reason_compiler_toc.json" ) ;
114
-
115
- const files = glob . sync ( `${ MD_DIR } /*.md?(x)` ) ;
116
- const result = files . map ( processFile ) ;
117
- const toc = createTOC ( result ) ;
118
-
119
- fs . writeFileSync ( TARGET_FILE , JSON . stringify ( toc ) , "utf8" ) ;
120
-
121
- } ;
122
-
123
111
const createReasonReactToc = ( ) => {
124
112
const MD_DIR = path . join ( __dirname , "../pages/docs/reason-react/latest" ) ;
125
113
const TARGET_FILE = path . join ( __dirname , "../index_data/reason_react_toc.json" ) ;
@@ -171,7 +159,6 @@ debugToc();
171
159
// main
172
160
createLatestManualToc ( ) ;
173
161
createV800ManualToc ( ) ;
174
- createReasonCompilerToc ( ) ;
175
162
createReasonReactToc ( ) ;
176
163
createGenTypeToc ( ) ;
177
164
createCommunityToc ( ) ;
You can’t perform that action at this time.
0 commit comments