@@ -40,45 +40,6 @@ async function fetchRemoteFilePaths({ user, repo, branch, docsPath, outputPath,
4040 console . log ( `✅ Remote files from "${ url } " saved!` )
4141}
4242
43- await fetchRemoteFilePaths ( {
44- user : 'streamingfast' ,
45- repo : 'substreams' ,
46- branch : 'develop' ,
47- docsPath : 'docs/' ,
48- outputPath : path . join ( process . cwd ( ) , 'remote-files' , 'substreams.json' ) ,
49- filterDocs : ( filePath ) =>
50- ! [
51- 'SUMMARY.md' , // toc
52- 'developers-guide/modules/README.md' , // generated cards by gitbook
53- ] . includes ( filePath ) ,
54- } )
55-
56- await fetchRemoteFilePaths ( {
57- user : 'streamingfast' ,
58- repo : 'firehose-docs' ,
59- branch : 'master' ,
60- docsPath : '' ,
61- outputPath : path . join ( process . cwd ( ) , 'remote-files' , 'firehose.json' ) ,
62- filterDocs : ( filePath ) =>
63- ! [
64- 'SUMMARY.md' , // toc
65- // ---- empty placeholders ----
66- 'intro/README.md' ,
67- 'firehose-setup/overview.md' ,
68- 'firehose-setup/near/README.md' ,
69- 'integrate-new-chains/README.md' ,
70- 'references/README.md' ,
71- 'concepts/README.md' ,
72- // ----------------------------
73- // ---- not shown in the existing site ----
74- 'setup/cosmos/README.md' ,
75- 'setup/ethereum/README.md' ,
76- 'setup/ethereum/reprocessing-history.md' ,
77- 'setup/ethereum/synchronization.md' ,
78- // ----------------------------------------
79- ] . includes ( filePath ) ,
80- } )
81-
8243await fetchRemoteFilePaths ( {
8344 user : 'graphprotocol' ,
8445 repo : 'graph-client' ,
0 commit comments