I was thinking it would be nice to offer the zig std
workflow via a build step. So you could introduce zig build view-docs
or something like that and have it basically do the same thing that zig std
does but for your application’s documentation. Point being that you could observe doc comment changes via refreshing the page in the browser.
Of course, it would also let you make patches to the Zig autodocs wasm code and observe them immediately so that contributors could offer improvements to autodocs logic as well, testing those improvements for their own packages via the same mechanism.