Project & repos · beta · Neovim 0.11+ · 759 commits

docmap.nvim

Point it at a repository and it produces a module map: an interactive HTML page, a Markdown overview, a deterministic JSON artifact, and a set of drift checks that fail CI when the documentation and the code stop agreeing.

Repository README :help

recorded with VHS from demos/docmap.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. :DocMap mermaid tree - the module tree of the repo you are in
  2. :DocMap mermaid deps - the require graph, ready for a README

Connections

docmap.nvim: what it uses and what uses it

Tap the picture to open it at full size.

Install

{
  "WKDSteve/docmap.nvim",
  opts = {},
}

Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.

Documentation

Also as

  • Native app docmap-desktop — A desktop workspace for the module maps docmap.nvim generates: add several projects, look at any of them, switch between them quickly.

Recent commits

  1. fix scan: remember one parsed tree per grammar, not every tree
  2. perf scan: parse each source once per scan, find comments and calls by query
  3. refactor mcp: serve through lib.nvim.mcp.server
  4. test config: drop the stale telemetry entry from guard_allow.fs
  5. test telemetry: clear the store where runtime-analysis keeps it now
  6. fix standalone: the shim's vim.fn.system runs git formats with % on Windows the git_run way
  7. fix ci: the standalone gate skips the history routes where git cannot read HEAD
  8. fix standalone: git_run moves --pretty=<placeholders> too, and its temp file name differs per process