Skip to content

Commit

Permalink
docs: add example to having two repositories in config.toml (#599)
Browse files Browse the repository at this point in the history
* docs: add example to having two repositories in config.toml

#596

* Update configuration.md
  • Loading branch information
wsxiaoys authored Oct 19, 2023
1 parent 257dba6 commit 7877d30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ Tabby server will look for a configuration file at `~/.tabby/config.toml` for ad
To enable repository level context for code completion, you can add the following to your configuration file:

```toml title="~/.tabby/config.toml"
# Index `tabby` source code as additional context for code completion.
# Index two repositories' source code as additional context for code completion.

[[repositories]]
git_url = "https://github.com/TabbyML/tabby.git"

[[repositories]]
git_url = "https://github.com/OpenNMT/CTranslate2.git"
```

Once this is set, you can run `tabby scheduler` to index the source code repository.
Expand Down

0 comments on commit 7877d30

Please sign in to comment.