Inline documentation for developers + the repo review team. External documentation for developers who want to integrate or extend your plugin. And finally, documentation for the users, technical and non-technical alike.

TL;DR = DOCUMENT ALL THE THINGS!