How To Write a How To
DavidZemon
Posts: 2,973
The title is a hair misleading but I thought it was fun
I'm looking for examples of software documentation websites (which include API docs as one part) that are really good. I'm currently in the process of revamping PropWare's documentation and I need some examples to start with.
About my only limitation is that it (my own website, not your example) has to be done with Doxygen. Doxygen is reasonably flexible, so I don't think that will limit me too significantly. I only mention it because I don't want someone jumping in and saying "I really like the format that ___ provides! You should just use that instead!" I can certainly work to mimic that framework, but I won't be jumping ship off Doxygen unless there's another tool out there that is compatible with Doxygen's source code markup.
And the other thing is, I don't care about CSS just yet. Colors, font size, etc can all come later.
I'm looking for examples of software documentation websites (which include API docs as one part) that are really good. I'm currently in the process of revamping PropWare's documentation and I need some examples to start with.
About my only limitation is that it (my own website, not your example) has to be done with Doxygen. Doxygen is reasonably flexible, so I don't think that will limit me too significantly. I only mention it because I don't want someone jumping in and saying "I really like the format that ___ provides! You should just use that instead!" I can certainly work to mimic that framework, but I won't be jumping ship off Doxygen unless there's another tool out there that is compatible with Doxygen's source code markup.
And the other thing is, I don't care about CSS just yet. Colors, font size, etc can all come later.
Comments
I'm stealing their Getting Started outline now
https://www.arduino.cc/en/Guide/HomePage
For every class and method they have clearly documented constructors, signatures, options etc. All the parameters and returns nicely described. A clear description of what it is for and what it does. And, importantly, examples of usage.
For example have a look at the page for the stormpath client object. A thing of beauty.
Notice the index on the left hand side of the page. Makes everything you want easily findable.
http://docs.stormpath.com/java/apidocs/com/stormpath/sdk/client/Client.html
As good if not better than the Oracle Java docs that I've poked through. It's a lot more detail at the class level than I'm providing for any of my own classes (though I think my method-level documentation is on par). I think reaching that level of detail for all classes is a good goal - thanks for the pointer.
The rest of their website (starting with stormpath.com) is reasonable. There is so much going on though, I had a lot of trouble finding that specific page.
I also edited my original post. I realized my previous words made it sound like I was only looking for API examples, when I'm really looking for whole-site examples. My API docs are pretty good (I think...), but my site-level organization is "lacking" to say the least.
I actually think the stormpath site is brilliant in that respect.
I start here: https://stormpath.com/ That tells me succinctly what they are about.
I hit "docs" in the nav bar and get to here: https://docs.stormpath.com/home/
They have docs for a ton of languages and frameworks laid out nicely. I'm using node.js so I hit the "node" button and end up here: http://docs.stormpath.com/nodejs/
I don't want to use any framework or library, I want to write my own code. So I look at the generic node panel.
There I see a link to a quickstart guide http://docs.stormpath.com/nodejs/quickstart/ so I go there. It walks you by the hand through building storm path authentication from scratch. Very clear, easy to follow, and works. Yes I did that initially.
Having got the big picture and the confidence of something working I go back and select the API Reference link:
Boom! I'm here http://docs.stormpath.com/nodejs/api/home where the whole API is a breeze to explore and/or refer to when needed.
A thing of beauty.
I just found someone has already bootstrap-ified doxygen, so that should make the CSS a lot better.
https://github.com/Velron/doxygen-bootstrapped