I've been creating software developer docs for decades. Most contain the following content:
About X
Installing and configuring X
Using X
X Reference
Typically developer docs are created from the bottom up.
The devs create the preliminary reference docs using special comments in their code.
Once they are through, I go through their comments and wordsmith them.
After the reference topics are written, I start adding a "guide" section.
I like to call this the "How-to" section, which answers questions like:
* How do I create Y
* How can I ...
and so on.
I try to answer two classes of questions:
* Tasks that everyone does (create a client, ...)
* Tasks that flummox a lot of people (talk to the folks manning the help desk)
Once I'm happy with these task-based topics, I'll create a simple "Hello world" tutorial. This topic helps the user know that they've successfully installed and configured the software.
Finally I'll write the installation and configuration section.
It's possible to work on more than one section at a time. In fact, I typically write a bunch of sample code to try out ideas before I create the guide and tutorial. If possible, I'll tidy up these code snippets and add them to the docs. Developers always ask for more code examples.
And speaking of which, if you do create a code example, please create an accompanying unit test. Don't make your users find out that version 1.1 broke your code example. That's your job.
doug in Seattle