Skip to content

Commit df704c4

Browse files
committed
Wip
1 parent f0b44bc commit df704c4

File tree

1 file changed

+3
-2
lines changed
  • docusaurus/website/scripts/algolia

1 file changed

+3
-2
lines changed

docusaurus/website/scripts/algolia/crawl.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ const localhostUrls = urls
151151
.map((url) => url.replace('https://grafana-dev.com', 'http://localhost:3000'));
152152

153153
// Run the crawler and wait for it to finish.
154-
const url = ['http://localhost:3000/developers/plugin-tools/how-to-guides/extend-configurations/'];
155-
await crawler.run(url);
154+
// Can pass individual urls for testing purposes.
155+
// const url = ['http://localhost:3000/developers/plugin-tools/how-to-guides/extend-configurations/'];
156+
await crawler.run(localhostUrls);
156157

157158
log.info('Crawler finished.');

0 commit comments

Comments
 (0)