![]() |
BlogsWho writes the SDK samples?Tue, 02/02/2010 - 18:01 — mosheThere is wide agreement that in an API (SDK), perhaps the most vital element (and the one the uninitiated programmer always looks for) is the samples. So what is the writer's role in all this? A technical writer must always come to grips with the problem and the proposed solution, from the customer point of view. Representing the users, the technical writers, then, should be intimately involved with every word in the documentation set. And if the documentation set must include samples, the tech writer should create those too. Methods not AppearingSun, 08/09/2009 - 18:30 — moshe“I have documented methods in my C++ class but they are not appearing in the HTML output.” Surprised? Doxygen ignores the documentation of global entities (like functions) if the file that contains these is, itself, not documented. “To document a member of a C++ class, you must also document the class itself. The same holds for namespaces. To document a global C function, typedef, enum or preprocessor definition you must first document the file that contains it (usually this will be a header file, because that file contains the information that is exported to other source files). Chutzpah and the Velvet RevolutionWed, 01/28/2009 - 14:14 — mosheI had experienced TechWriter Concussion in the past – you know, when expectations of management collide with the actual material and your head is somewhere in-between. My first day on site at ABC Telecom Solutions (an imaginary name), Czech Republic, employer of more than 900, was classical in that sense, only on a much grander scale. This was the scenario: Doxygen: linking examples into your SDKTue, 01/27/2009 - 13:52 — mosheThe hallmark of a well-conceived SDK is the quality and range of the examples you supply with it. The examples are the starting point for the vast majority of programmers. That's where they stick their big toe in and test the water. Example abstracts--not just "nice to have"Tue, 01/27/2009 - 13:51 — mosheWhether you are fashioning your C-language SDK in MS Word, or crafting a collection of .NET assemblies in an automated documentation tool, such as Document! X, provide your users the convenience of an abstract before each code sample. As the blurb on a book jacket, the outline or abstract provides an overview of the work the example code performs and informs the user of its relevance to the task at hand--in short, gives her safe ground and invites her in. Doxygen: attaching abstracts to examplesTue, 01/27/2009 - 13:39 — mosheToday's piece follows yesterday's and describes how to tack on abstracts to examples using Doxygen. 1. Prepare a text file that contains only abstracts and associates each abstract to the example code it describes. Let's call it examples_doc. The example shows two abstracts for two examples: /*! \example register.cc There are two possible scenarios when registering command line arguments.
|