Skip to content

Commit 1416b1f

Browse files
committed
docs(readme): document openkb recompile
1 parent d10055d commit 1416b1f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ OpenKB commands fall into two layers: the **wiki foundation** (compile + manage
155155
| `openkb init` | Initialize a new knowledge base (interactive) |
156156
| <code>openkb&nbsp;add&nbsp;&lt;file_or_dir_or_URL&gt;</code> | Add documents and compile to wiki. URL ingest auto-detects PDF (saved as `.pdf` → PageIndex / markitdown) vs HTML (trafilatura main-content extract → `.md`) |
157157
| <code>openkb&nbsp;remove&nbsp;&lt;doc&gt;</code> | Remove a document and clean up its wiki pages, images, registry, and PageIndex state (use `--dry-run` to preview, `--keep-raw` / `--keep-empty-concepts` to retain artifacts) |
158+
| <code>openkb&nbsp;recompile&nbsp;[&lt;doc&gt;]&nbsp;[--all]</code> | Re-run the current compile pipeline on already-indexed docs (e.g. to backfill the `entities/` layer) without re-indexing. Regenerates summaries and rewrites concept pages — manual edits are overwritten. Use `--dry-run` to preview, `--refresh-schema` to also update `wiki/AGENTS.md` |
158159
| `openkb watch` | Watch `raw/` and auto-compile new files |
159160
| `openkb lint` | Run structural + knowledge health checks |
160161
| `openkb list` | List indexed documents and concepts |

0 commit comments

Comments
 (0)