fix schema references

This commit is contained in:
bkellam 2024-10-17 16:40:59 -04:00
parent dcc160245a
commit 2f763c1519

View file

@ -75,7 +75,7 @@ Sourcebot supports indexing and searching through public and private repositorie
```sh ```sh
touch my_config.json touch my_config.json
echo '{ echo '{
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/refs/tags/latest/schemas/v2/index.json", "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
"repos": [ "repos": [
{ {
"type": "github", "type": "github",
@ -131,7 +131,7 @@ In order to index private repositories, you'll need to generate a GitHub Persona
Next, update your configuration with the `token` field: Next, update your configuration with the `token` field:
```json ```json
{ {
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/refs/tags/latest/schemas/v2/index.json", "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
"repos": [ "repos": [
{ {
"type": "github", "type": "github",
@ -145,7 +145,7 @@ Next, update your configuration with the `token` field:
You can also pass tokens as environment variables: You can also pass tokens as environment variables:
```json ```json
{ {
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/refs/tags/latest/schemas/v2/index.json", "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
"repos": [ "repos": [
{ {
"type": "github", "type": "github",
@ -177,7 +177,7 @@ Generate a GitLab Personal Access Token (PAT) [here](https://gitlab.com/-/user_s
Next, update your configuration with the `token` field: Next, update your configuration with the `token` field:
```json ```json
{ {
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/refs/tags/latest/schemas/v2/index.json", "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
"repos": [ "repos": [
{ {
"type": "gitlab", "type": "gitlab",
@ -191,7 +191,7 @@ Next, update your configuration with the `token` field:
You can also pass tokens as environment variables: You can also pass tokens as environment variables:
```json ```json
{ {
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/refs/tags/latest/schemas/v2/index.json", "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v2/index.json",
"repos": [ "repos": [
{ {
"type": "gitlab", "type": "gitlab",