@stefanlindbohm@mastodon.social
Post #3532627
2026-07-02 10:42 UTC
@partim@social.tchncs.de You mean for documenting the various elements/attributes/fields in a nested but humanly readable way?
Haven’t seen rustdoc HTML exports, do you have an example?
I was thinking of imitating some good API docs out there, think something like Stripe’s API docs or even Swagger. Needs to be adapted (and not as messy as Swagger), but as a point of inspiration.
Replies (1)
-
@partim@social.tchncs.de 2026-07-02 10:54
@stefanlindbohm@mastodon.social This is the documentation for the standard libraries file type: https://doc.rust-lang.org/std/fs/struct.File.html I like the structure of it but also how it looks. And everything is hyperlinked and the whole thing is offline searchable.) (Cargo can build a site like this for your own project including the docs for all your dependencies, which is super helpful, particularly if you work offline.)