Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lun-4/zig-docsearch

[WIP] search over zig stdlib doc comments (with rudimentary html gen)
https://github.com/lun-4/zig-docsearch

documentation-generator zig

Last synced: about 2 months ago
JSON representation

[WIP] search over zig stdlib doc comments (with rudimentary html gen)

Awesome Lists containing this project

README

        

# zig-docsearch

**NOTE: zig master now has in-progress docs! see https://github.com/ziglang/zig/issues/21**

search over zig stdlib doc comments (and generate a simple html file with
what's possible)

WIP: using -fdump-analysis

## using

```bash
zig build install --prefix ~/.local/
```

```bash
# build the state out of the std file in your zig installation
zig-docsearch ./state.bin build /path/to/zig/source/std/std.zig

# search through
zig-docsearch ./state.bin search 'mem'

# make a single html file
zig-docsearch ./state.bin htmlgen index.html
```