Skip to content

Commit e1786cf

Browse files
committed
puttinh back starknet js
1 parent 21246e7 commit e1786cf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

ingesters/__tests__/IngesterFactory.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ describe('IngesterFactory', () => {
7474
DocumentSource.OPENZEPPELIN_DOCS,
7575
DocumentSource.CORELIB_DOCS,
7676
DocumentSource.SCARB_DOCS,
77-
// DocumentSource.STARKNET_JS is commented out in the enum
77+
DocumentSource.STARKNET_JS,
7878
DocumentSource.STARKNET_BLOG,
7979
DocumentSource.DOJO_DOCS,
8080
]);

ingesters/src/IngesterFactory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export class IngesterFactory {
4949
case 'scarb_docs':
5050
return new ScarbDocsIngester();
5151

52-
// case 'starknet_js':
53-
// return new StarknetJSIngester();
52+
case 'starknet_js':
53+
return new StarknetJSIngester();
5454

5555
case 'starknet_blog':
5656
return new StarknetBlogIngester();

ingesters/src/ingesters/StarknetJSIngester.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class StarknetJSIngester extends MarkdownIngester {
2626
useUrlMapping: true,
2727
};
2828

29-
super(config, DocumentSource.CAIRO_BOOK);
29+
super(config, DocumentSource.STARKNET_JS);
3030
}
3131

3232
protected getExtractDir(): string {

ingesters/src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export enum DocumentSource {
1515
OPENZEPPELIN_DOCS = 'openzeppelin_docs',
1616
CORELIB_DOCS = 'corelib_docs',
1717
SCARB_DOCS = 'scarb_docs',
18-
// STARKNET_JS = 'starknet_js',
18+
STARKNET_JS = 'starknet_js',
1919
STARKNET_BLOG = 'starknet_blog',
2020
DOJO_DOCS = 'dojo_docs',
2121
}

0 commit comments

Comments
 (0)