docs: update configuration.md to mention support of local directory (#963)

support-auth-token
Meng Zhang 2023-12-07 08:52:22 +08:00 committed by GitHub
parent 77eda8431c
commit 8fbe8c85d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -16,8 +16,13 @@ To enable repository level context for code completion, you can add the followin
[[repositories]]
git_url = "https://github.com/TabbyML/tabby.git"
# git through ssh protocol.
[[repositories]]
git_url = "git@github.com:OpenNMT/CTranslate2.git"
# local directory is also supported!
[[repositories]]
git_url = "file:///home/users/repository_a"
```
Once this is set, you can run `tabby scheduler` to index the source code repository.