AtlatestRepositorysigil-docs
sigil-docs / treeREADME.md
1
# sigil-docs3
Documentation lookup and search tooling for Sigil projects.5
## Overview7
`(sigil docs)` provides JSON-based documentation lookup for REPL inline help8
and tooling integration (LSP hover, MCP tools, format hints). Doc JSON files9
are generated by the Sigil compiler during compilation.11
Sub-modules:13
- `(sigil docs)` — top-level surface re-exporting the lookup API14
- `(sigil docs lookup)` — JSON-based doc lookup15
- `(sigil docs types)` — doc record type definitions16
- `(sigil docs search)` — documentation search across modules17
- `(sigil docs index)` — doc-index assembly18
- `(sigil docs packages)` — package-level doc lookup20
## Usage22
```scheme23
(import (sigil docs))25
;; Look up an export's docs26
(get-export-details '(sigil string) 'string-split)28
;; Get a module's top-level description29
(get-module-description '(sigil docs))30
```32
## Building and testing34
```sh35
sigil deps install36
sigil build37
sigil test --report38
```40
For local development against an unreleased sigil-lang / sigil-args /41
sigil-ansi / sigil-json checkout, use `dev-redirects.sgl`:43
```sh44
sigil deps install --redirects ./dev-redirects.sgl45
```47
## License49
BSD-3-Clause. See [LICENSE](LICENSE).