A list of commands you should run to accomplish X -> that's a script. Or it should be. If accomplishing a task takes more than a single step, it means there's insufficient automation or programmability, and that's the problem you should fix, not teaching devs how to be better writers of prose.
Code can be tested quickly and relatively easily. Docs can't.
Docs should be as minimal as possible: "# Server ## Rebooting - ./scripts/server/reboot.sh".
Any docs written by a dev should be run by an editor, who should strip them down to the bare minimum. Your typical readme is inundated with waffle, and the actual meat in it is wrong well over half the time.
Automate everything.