sourcegraph / doctree

First-class library documentation for every language (based on tree-sitter), with symbol search & more. Lightweight single binary, run locally or self-host. Surfaces usage examples via Sourcegraph.
https://doctree.org
Apache License 2.0
872 stars 25 forks source link

auto-indexing functionality #21

Closed slimsag closed 2 years ago

slimsag commented 2 years ago

Right now if you use doctree locally and code changes, you must rerun doctree index . and it will do a full reindex.

We could make it so that you doctree add . a project and then doctree would watch for any file changes and keep the index up to date.