Skip to content

Commit 75f1766

Browse files
authored
some documentation updates. (#150)
* some documentation updates. * update plugin installation instructions * Auto generate docs * github doesn't support intermediate checkbox so.. --------- Co-authored-by: Davidyz <Davidyz@users.noreply.github.com>
1 parent 36e1d18 commit 75f1766

File tree

4 files changed

+42
-13
lines changed

4 files changed

+42
-13
lines changed

README.md

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ repository you're working on. This repository also contains the corresponding
1010
neovim plugin because that's what I used to write this tool.
1111

1212
> [!NOTE]
13-
> This project is in beta quality and only implements very basic retrieval and
14-
> embedding functionalities. There are plenty of rooms for improvements and any
15-
> help is welcomed.
13+
> This project is in beta quality and is undergoing rapid iterations.
14+
> I know there are plenty of rooms for improvements, and any help is welcomed.
1615
1716
> [!NOTE]
1817
> [Chromadb](https://www.trychroma.com/), the vector database backend behind
@@ -24,8 +23,10 @@ neovim plugin because that's what I used to write this tool.
2423

2524
* [Why VectorCode?](#why-vectorcode)
2625
* [Documentation](#documentation)
26+
* [About Versioning](#about-versioning)
2727
* [TODOs](#todos)
2828
* [Credit](#credit)
29+
* [Star History](#star-history)
2930

3031
<!-- mtoc-end -->
3132

@@ -59,6 +60,23 @@ If you're trying to contribute to this project, take a look at [the contribution
5960
guide](./docs/CONTRIBUTING.md), which contains information about some basic
6061
guidelines that you should follow and tips that you may find helpful.
6162

63+
### About Versioning
64+
65+
This project follows an adapted semantic versioning:
66+
67+
- Until 1.0.0 is released, the _major version number_ stays 0 which indicates that
68+
this project is still in early stage, and features/interfaces may change from
69+
time to time;
70+
- The _minor version number_ indicates __breaking changes__. When I decide to remove a
71+
feature/config option, the actual removal will happen when I bump the minor
72+
version number. Therefore, if you want to avoid breaking a working setup, you
73+
may choose to use a version constraint like `"vectorcode<0.7.0"`;
74+
- The _patch version number_ indicates __non-breaking changes__. This can include new
75+
features and bug fixes. When I decide to deprecate things, I will make a new
76+
release with bumped patch version. Until the minor version number is bumped,
77+
the deprecated feature will still work but you'll see a warning. It's
78+
recommended to update your setup to adapt the new features.
79+
6280
## TODOs
6381
- [x] query by ~file path~ excluded paths;
6482
- [x] chunking support;
@@ -72,14 +90,17 @@ guidelines that you should follow and tips that you may find helpful.
7290
been indexed~ Returns empty array instead;
7391
- [x] job pool for async caching;
7492
- [x] [persistent-client](https://docs.trychroma.com/docs/run-chroma/persistent-client);
75-
- [-] proper [remote Chromadb](https://docs.trychroma.com/production/administration/auth) support (with authentication, etc.);
93+
- [ ] proper [remote Chromadb](https://docs.trychroma.com/production/administration/auth) support (with authentication, etc.);
7694
- [x] respect `.gitignore`;
7795
- [x] implement some sort of project-root anchors (such as `.git` or a custom
7896
`.vectorcode.json`) that enhances automatic project-root detection.
7997
**Implemented project-level `.vectorcode/` and `.git` as root anchor**
8098
- [ ] ability to view and delete files in a collection (atm you can only `drop`
8199
and `vectorise` again);
82-
- [x] joint search (kinda, using codecompanion.nvim/MCP).
100+
- [x] joint search (kinda, using codecompanion.nvim/MCP);
101+
- [ ] Nix support (#144);
102+
- [ ] Query rewriting (#124).
103+
83104

84105
## Credit
85106

@@ -89,3 +110,7 @@ guidelines that you should follow and tips that you may find helpful.
89110
when this project made initial attempts at tool-calling;
90111
- Thank [@ravitemer](https://github.com/ravitemer) for the help to interface
91112
VectorCode with [MCP](https://modelcontextprotocol.io/introduction).
113+
114+
## Star History
115+
116+
[![Star History Chart](https://api.star-history.com/svg?repos=Davidyz/VectorCode&type=Date)](https://www.star-history.com/#Davidyz/VectorCode&Date)

doc/VectorCode.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ Table of Contents *VectorCode-table-of-contents*
4747

4848
INSTALLATION *VectorCode-neovim-plugin-installation*
4949

50-
Use your favourite plugin manager.
50+
Use your favorite plugin manager.
5151

5252
>lua
5353
{
5454
"Davidyz/VectorCode",
55-
version = "*", -- optional, depending on whether you're on nightly or release
55+
version = "<0.7.0", -- optional, depending on whether you're on nightly or release
5656
dependencies = { "nvim-lua/plenary.nvim" },
5757
cmd = "VectorCode", -- if you're lazy-loading VectorCode
5858
}
@@ -79,8 +79,8 @@ you can use the following plugin spec:
7979
>lua
8080
{
8181
"Davidyz/VectorCode",
82-
version = "*", -- optional, depending on whether you're on nightly or release
83-
build = "pipx upgrade vectorcode", -- optional but recommended if you set `version = "*"`
82+
version = "*",
83+
build = "pipx upgrade vectorcode", -- recommended if you set `version = "*"` or follow the main branch
8484
dependencies = { "nvim-lua/plenary.nvim" },
8585
}
8686
<

docs/cli.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,10 @@ The JSON configuration file may hold the following values:
358358
to automatically detect the encoding, but this is not very accurate,
359359
especially on small files.
360360

361+
See
362+
[the wiki](https://github.com/Davidyz/VectorCode/wiki/Default-Configuration#default-cli-configuration)
363+
for an example of the default configuration.
364+
361365
### Vectorising Your Code
362366

363367
Run `vectorcode vectorise <path_to_your_file>` or `vectorcode vectorise

docs/neovim.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737
<!-- mtoc-end -->
3838

3939
## Installation
40-
Use your favourite plugin manager.
40+
Use your favorite plugin manager.
4141

4242
```lua
4343
{
4444
"Davidyz/VectorCode",
45-
version = "*", -- optional, depending on whether you're on nightly or release
45+
version = "<0.7.0", -- optional, depending on whether you're on nightly or release
4646
dependencies = { "nvim-lua/plenary.nvim" },
4747
cmd = "VectorCode", -- if you're lazy-loading VectorCode
4848
}
@@ -69,8 +69,8 @@ you can use the following plugin spec:
6969
```lua
7070
{
7171
"Davidyz/VectorCode",
72-
version = "*", -- optional, depending on whether you're on nightly or release
73-
build = "pipx upgrade vectorcode", -- optional but recommended if you set `version = "*"`
72+
version = "*",
73+
build = "pipx upgrade vectorcode", -- recommended if you set `version = "*"` or follow the main branch
7474
dependencies = { "nvim-lua/plenary.nvim" },
7575
}
7676
```

0 commit comments

Comments
 (0)