It used to be that downloading ZIG came with a bunch of .html files that and I could just open in a web browser. Am I missing something? Is there an easy way to get that back? Can I do a one time generation of the html docs? I don't want to have to keep a webserver process running while I'm coding just to read the documentation.
#Offline Documentation without running a webserver
1 messages · Page 1 of 1 (latest)
which documentation, the stdlib or the language reference
The stdlib. I believe the language reference is still in a plain .html file.
that is not possible atm no
its available online though https://ziglang.org/documentation/master/std/
running the server yourself isnt necessary
well you could open the html file that the zig std has, but you'll have cross-site errors iirc
Yeah, I realize it's available online. I know this is going to sound anal, but I much prefer to work offline. Or at the very least I don't want to have to ping a server for something that's already on my computer. If ziglang.org is experience outages I have to rely on my local copy.
If you run zig std and it loads up in your web browser, once it loads you can kill the process. The entire docs is stored in a wasm blob, so after initial load there are no more web requests made to the local server.
u can keep the tab open and it wont make any network requests after the initial load