From 7877d300ab42316a4aa71ec78a516e4c1b8f7dea Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Thu, 19 Oct 2023 15:14:02 -0700 Subject: [PATCH] docs: add example to having two repositories in config.toml (#599) * docs: add example to having two repositories in config.toml #596 * Update configuration.md --- website/docs/configuration.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/docs/configuration.md b/website/docs/configuration.md index 4be1bd370c99..2e0b21084c95 100644 --- a/website/docs/configuration.md +++ b/website/docs/configuration.md @@ -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.