This folder contains the scripts needed to automatically update the list of embedded repos on Sourcegraph.com. It calls the RepoEmbeddingJobs GraphQL endpoint to generate the list of embeddings and converts it into markdown.
To work on this file:
- get access from here
- set access token
set SOURCEGRAPH_DOCS_ACCESS_TOKEN=<access_token>or hard codeconst access_token = <access_token> - run
ts-node src/index.ts
Alternatively you can also:
- run
pnpm run start