From 8fbe8c85d042e896a0071b7250129c8688aca448 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 7 Dec 2023 08:52:22 +0800 Subject: [PATCH] docs: update configuration.md to mention support of local directory (#963) --- website/docs/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/docs/configuration.md b/website/docs/configuration.md index 5e748f57d9bd..54a95a163b34 100644 --- a/website/docs/configuration.md +++ b/website/docs/configuration.md @@ -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.