mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
* reapply "switch from jest to vitest for faster, simpler tests (https://github.com/sourcegraph/sourcegraph/pull/57886)" This was reverted in https://github.com/sourcegraph/sourcegraph/pull/58116 due to an issue with the browser tests. * include fetch-mock * fix flakiness * rm mock that did not work in experimentalVmThreads * fix * timeout * fixup --------- Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Overview
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.
Development
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