Joerg Jaspert :debian: · @Ganneff
245 followers · 805 posts · Server fulda.social

Let's try this: Dear / , what is the current go-to if I have to/want to write application for ?
It is a application, that does contain a lot of already, but that is very specific to the code, like api/developers doc. It is not end user stuff.

So, what to do? Own branch and something in it, that then gets rendered on a Github-or-similar page? A .md file used with ? Using and their based setup (also their examples are pretty python related).

I would like to stay as near to the code as I can. *Ideally* it would be rustdoc comments, but that can't be, as that is used for the developers doc already. "Just" a file besides, maybe in doc/ sounds better than whole new branch?

Any ?

#lazyweb #lazyfedi #documentation #endusers #rust #rustdoc #mkdocs #readthedocs #sphinx #suggestions

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
255 followers · 1144 posts · Server fosstodon.org

@shapr That is nice! Couldn't we implement this to search within a crate in ? @imperio

We would need to ignore lifetimes for simplification.

#rustdoc

Last updated 1 year ago

dnaka91 :arch: :rust: · @dnaka91
32 followers · 21 posts · Server fosstodon.org

Oh I have been so blind. Really love 's documentation generation, and even often can tell how things are supposed to work based on the type defs in there.

But this one.. oh so blind. Was working on replacing some internal, rather complex, buffer in a project with the `bytes::BytesMut` type, and spent hours trying to figure out how to peek the first byte without consuming it.

And finally realized it derefs to a slice so you can just treat it as regular slice as well 🤦‍♂️

#rust #rustdoc

Last updated 1 year ago

codesections · @codesections
2553 followers · 8514 posts · Server fosstodon.org

@JoshStrobl

Have you looked at some of the language-specific documentation tools for inspiration? I've heard good things about the documentation tooling in and , for example. (I know that supports and inline testing of code within docs, which seems like it'd be very helpful for API documentation.)

#rust #golang #rustdoc #markdown

Last updated 6 years ago

codesections · @codesections
2532 followers · 8465 posts · Server fosstodon.org

@QuietMisdreavus

>rustdoc is an awkward static site generator

Correct. As evidence, see this awkward static site generated with : newrustacean.com/show_notes/

(But the podcast attached to the awkward site is great)

#rustdoc

Last updated 6 years ago

Chris Emerson · @jugglerchris
33 followers · 27 posts · Server mastodon.xyz

Some of the most interesting changes in at the moment are in . How did I not hear of compile_fail in doctests until it was released in stable?

#rustlang #rustdoc

Last updated 7 years ago