Whole std doc in a single html file

Hi. Is there a single html page version of the std documentation of zig?
I want to translate it to markdown to feed an llm.
My guess is that I will need to scrape it, but maybe there is somebody that did it already.
Thanks.

Not as far as I know - it’s all dynamically generated from source in WASM.

1 Like
3 Likes

The std docs are verbatim copied from the std source code, including explanatory text. So you could just pull the zig source then cat the contents of lib/std.

1 Like

Somebody has created an MCP server for this exact purpose: GitHub - zig-wasm/zig-mcp: Model Context Protocol (MCP) server that provides up-to-date documentation for the Zig programming language standard library and builtin functions

1 Like