Skip to content

Commit c19c4c3

Browse files
authored
docs: Documentation refactor (#248)
* docs: Restructure documentation and update references * Auto generate docs * docs: Restructure documentation and update references * docs(nvim): Update CLI documentation reference path * Auto generate docs * skip api references for CLI for now. * docs(nvim): Document job runner API * docs: Clarify API documentation for synchronous vs. async retrieval * Auto generate docs * fix links * build nvim api references * Auto generate docs --------- Co-authored-by: Davidyz <Davidyz@users.noreply.github.com>
1 parent 7593cc5 commit c19c4c3

File tree

9 files changed

+1505
-572
lines changed

9 files changed

+1505
-572
lines changed

.github/workflows/panvimdoc.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,29 @@ jobs:
1111
name: pandoc to vimdoc
1212
steps:
1313
- uses: actions/checkout@v4
14+
1415
- name: panvimdoc
1516
uses: kdheepak/panvimdoc@main
1617
with:
1718
vimdoc: "VectorCode" # Output vimdoc project name (required)
18-
pandoc: "./docs/neovim.md" # Input pandoc file
19+
pandoc: "./docs/neovim/README.md" # Input pandoc file
20+
toc: true # Table of contents
21+
description: "A code repository indexing tool to supercharge your LLM experience." # Project description used in title (if empty, uses neovim version and current date)
22+
titledatepattern: "%Y %B %d" # Pattern for the date that used in the title
23+
demojify: true # Strip emojis from the vimdoc
24+
dedupsubheadings: true # Add heading to subheading anchor links to ensure that subheadings are unique
25+
treesitter: true # Use treesitter for highlighting codeblocks
26+
ignorerawblocks: true # Ignore raw html blocks in markdown when converting to vimdoc
27+
docmapping: false # Use h4 headers as mapping docs
28+
docmappingprojectname: true # Use project name in tag when writing mapping docs
29+
shiftheadinglevelby: 0 # Shift heading levels by specified number
30+
incrementheadinglevelby: 0 # Increment heading levels by specified number
31+
32+
- name: panvimdoc
33+
uses: kdheepak/panvimdoc@main
34+
with:
35+
vimdoc: "VectorCode-API" # Output vimdoc project name (required)
36+
pandoc: "./docs/neovim/api_references.md" # Input pandoc file
1937
toc: true # Table of contents
2038
description: "A code repository indexing tool to supercharge your LLM experience." # Project description used in title (if empty, uses neovim version and current date)
2139
titledatepattern: "%Y %B %d" # Pattern for the date that used in the title

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ model output and reduce hallucination.
4444
4545
- For the setup and usage of the command-line tool, see [the CLI documentation](./docs/cli.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/README.md) (and optionally the [lua API reference](./docs/neovim/api_references.md))
48+
for further instructions.
4849
- Additional resources:
4950
- the [wiki](https://github.com/Davidyz/VectorCode/wiki) for extra tricks and
50-
tips that will help you get the most out of VectorCode, as well as
51-
instructions to setup VectorCode to work with some other neovim plugins;
51+
tips that will help you get the most out of VectorCode;
5252
- the [discussions](https://github.com/Davidyz/VectorCode/discussions) where
5353
you can ask general questions and share your cool usages about VectorCode.
5454
- If you're feeling adanvturous, feel free to check out

0 commit comments

Comments
 (0)