AtlatestRepositorysigil-docs
sigil-docs / treeREADME.md
1
# sigil-docs3
> **Archived:** This standalone package has been replaced by the4
> `sigil-help` workspace package in `codeberg:sigil/sigil`. The historical5
> repository and all tags are retained for provenance; do not publish new6
> releases from this repository.8
Documentation lookup and search tooling for Sigil projects.10
## Overview12
`(sigil docs)` provides JSON-based documentation lookup for REPL inline help13
and tooling integration (LSP hover, MCP tools, format hints). Doc JSON files14
are generated by the Sigil compiler during compilation.16
Sub-modules:18
- `(sigil docs)` — top-level surface re-exporting the lookup API19
- `(sigil docs lookup)` — JSON-based doc lookup20
- `(sigil docs types)` — doc record type definitions21
- `(sigil docs search)` — documentation search across modules22
- `(sigil docs index)` — doc-index assembly23
- `(sigil docs packages)` — package-level doc lookup25
## Usage27
```scheme28
(import (sigil docs))30
;; Look up an export's docs31
(get-export-details '(sigil string) 'string-split)33
;; Get a module's top-level description34
(get-module-description '(sigil docs))35
```37
## Building and testing39
```sh40
sigil deps install41
sigil build42
sigil test --report43
```45
For local development against an unreleased sigil-lang / sigil-args /46
sigil-ansi / sigil-json checkout, use `dev-redirects.sgl`:48
```sh49
sigil deps install --redirects ./dev-redirects.sgl50
```52
## License54
BSD-3-Clause. See [LICENSE](LICENSE).