this post was submitted on 03 Oct 2025
8 points (62.5% liked)

Programming

22979 readers
230 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

cross-posted from: https://programming.dev/post/38477847

Awful Rustdocs is a CLI tool that generates or improves Rustdoc comments by harvesting symbols via rust_ast.nu, enriching each item with ast-grep context (callers, intra-body calls, qualified paths), and prompting your LLM to produce concise, high-quality docs.

You don't need hundreds of prompts and agents if you're smart about your context.

I'm running it on all my Rust projects right now using the Systems Programming Qwen 3 4B finetune I created, and it saves me an incredible amount of time by creating docs that are almost always good enough to publish straight off but act more as a draft for me. It cuts down on a lot of repetitive typing and lets me get back to doing what I love (writing code).

It requires Nushell, but you should probably already be using that, and if this is how you find out about Nushell, then even better, make the jump; it's worth it.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] exgf@programming.dev -3 points 3 days ago* (last edited 3 days ago) (3 children)

Well aren't you a bright little ray of light. At this moment your question is akin to saying "You can't write all the scaffolding instead of running cargo new --bin oh_wow_im_so_leet_i_disparage_my_brothers_and_sisters_sharing_open_source_software_for_free"

Go skim through my Github if you want to call me a "developer", pick a project and contribute.

Who in their right mind would sit around writing insane regex for weeks, of course this particular project was augmented with a conversation with an LLM.

Nice undocumented fork of project though. Proud of u.

[โ€“] Hundun@beehaw.org 1 points 1 hour ago* (last edited 1 hour ago)

My sibling in craft, docs are not "boilerplate", they are the main freaking sauce. That is why they should be written by a human who understands stuff. I genuinely believe you are missing the point of the practice.

[โ€“] UnRelatedBurner@sh.itjust.works 4 points 3 days ago (1 children)

hey, exgf, have you heard of a "ragebait"?

[โ€“] exgf@programming.dev 0 points 3 days ago

It's only effective if the person has actual done something.

[โ€“] asudox@lemmy.asudox.dev 2 points 3 days ago

Is that so? Have a nice day, bud.