CLI tool that detects when your markdown docs become stale relative to source files.
Track which source files your documentation references. When a source changes, idocs flags the doc as stale β re-hash after review to acknowledge it's up to date.
Download from Releases:
| Platform | Binary |
|---|---|
| Linux (x86_64) | idocs-x86_64-linux |
| macOS (x86_64) | idocs-x86_64-macos |
| Windows (x86_64) | idocs-x86_64-windows.exe |
| Arch Linux (x86_64) | idocs-x86_64-linux-arch |
# requires Rust toolchain
cargo install --git https://github.com/gmars1/idocsidocs init
idocs add auth src/auth.rs src/login.rs # register doc
idocs # check all
idocs -i # TUI mode
idocs β check all docs, show valid/stale
idocs <file> β filter docs tracking a specific source file
idocs init β initialize .idocs directory
idocs add <name> <sources...> β register a doc tracking source files
idocs rm <name> β remove a doc
idocs info <name> β doc details with source status
idocs up <name> β re-hash sources after review
idocs stale β list only stale docs
idocs read <name> β print doc content
idocs edit <name> --set "..." β replace entire doc content
idocs edit <name> --lines N-M --text "..." β replace a range of lines
idocs edit <name> --replace "x" --with "y" β find-and-replace
idocs edit <name> --rehash β update source hashes after editing
idocs edit <name> (stdin pipe) β read new content from stdin
idocs -i β interactive TUI (two-panel viewer)
idocs --json β machine-readable output