Skip to content

Commit dffbf48

Browse files
author
Zhe Yu
committed
docs: Restructure documentation and update references
1 parent f73a661 commit dffbf48

6 files changed

Lines changed: 609 additions & 250 deletions

File tree

.github/workflows/panvimdoc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: kdheepak/panvimdoc@main
1616
with:
1717
vimdoc: "VectorCode" # Output vimdoc project name (required)
18-
pandoc: "./docs/neovim.md" # Input pandoc file
18+
pandoc: "./docs/neovim/README.md" # Input pandoc file
1919
toc: true # Table of contents
2020
description: "A code repository indexing tool to supercharge your LLM experience." # Project description used in title (if empty, uses neovim version and current date)
2121
titledatepattern: "%Y %B %d" # Pattern for the date that used in the title
@@ -32,7 +32,7 @@ jobs:
3232
uses: kdheepak/panvimdoc@main
3333
with:
3434
vimdoc: "VectorCode-cli" # Output vimdoc project name (required)
35-
pandoc: "./docs/cli.md" # Input pandoc file
35+
pandoc: "./docs/cli/README.md" # Input pandoc file
3636
toc: true # Table of contents
3737
description: "A code repository indexing tool to supercharge your LLM experience." # Project description used in title (if empty, uses neovim version and current date)
3838
titledatepattern: "%Y %B %d" # Pattern for the date that used in the title

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ model output and reduce hallucination.
4242
> To check for the documentation for the version you're using, you can [check out
4343
> the corresponding tags](https://github.com/Davidyz/VectorCode/tags).
4444
45-
- For the setup and usage of the command-line tool, see [the CLI documentation](./docs/cli.md);
45+
- For the setup and usage of the command-line tool, see [the CLI documentation](./docs/cli/README.md);
4646
- For neovim users, after you've gone through the CLI documentation, please refer to
47-
[the neovim plugin documentation](./docs/neovim.md) for further instructions.
47+
[the neovim plugin documentation](./docs/neovim/READMD.md) for further instructions.
4848
- Additional resources:
4949
- the [wiki](https://github.com/Davidyz/VectorCode/wiki) for extra tricks and
5050
tips that will help you get the most out of VectorCode, as well as

docs/cli.md renamed to docs/cli/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ A community-maintained Nix package is available
125125
If you're using nix to install a standalone Chromadb server, make sure to stick
126126
to [0.6.3](https://github.com/NixOS/nixpkgs/pull/412528).
127127

128+
If you install via Nix and run into an issue, please try to reproduce with the
129+
PyPi package (install via `uv` or `pipx`). If it's not reproducible on the
130+
non-nix package, I may close the issue immediately.
131+
128132
## Getting Started
129133

130134
`cd` into your project root repo, and run:
@@ -305,7 +309,12 @@ The JSON configuration file may hold the following values:
305309
`CrossEncoderReranker` (default, using
306310
[sentence-transformers cross-encoder](https://sbert.net/docs/package_reference/cross_encoder/cross_encoder.html)
307311
) and `NaiveReranker` (sort chunks by the "distance" between the embedding
308-
vectors);
312+
vectors).
313+
Note: If you're using a good embedding model (eg. a hosted service from OpenAI, or
314+
a LLM-based embedding model like
315+
[Qwen3-Embedding-0.6B](https://huggingface.co/Qwen/Qwen3-Embedding-0.6B)), you
316+
may get better results if you use `NaiveReranker` here because a good embedding
317+
model may understand texts better than a mediocre reranking model.
309318
- `reranker_params`: dictionary, similar to `embedding_params`. The options
310319
passed to the reranker class constructor. For `CrossEncoderReranker`, these
311320
are the options passed to the

docs/cli/api_references.md

Whitespace-only changes.

0 commit comments

Comments
 (0)