Download Autoduck Tags - Literate Programming
Transcript
The @mfunc tag marks the start of a new topic describing a C++ member function. The @comm and @parm tags identify paragraph types within the comment blocks (these mark comment and parameter descriptions, respectively). The angle bracket codes (<f > and <om >) are text tags marking special types of text (functions and object methods). Autoduck is Free! Autoduck is free. There is no licensing fee or restriction. The application is considered sample code and is not supported by Microsoft Corporation. Here's the legalese: THIS TOOL IS NOT SUPPORTED BY MICROSOFT CORPORATION. IT IS PROVIDED "AS IS" BECAUSE WE BELIEVE IT MAY BE USEFUL TO YOU. WE REGRET THAT MICROSOFT IS UNABLE TO SUPPORT OR ASSIST YOU SHOULD YOU HAVE PROBLEMS USING THIS TOOL. You are free to use the application, distribute it to others, and/or modify the source code. If you make changes, have comments, or find bugs, you can mail them to me, Eric Artzt, at my Internet address: erica@microsoft.com I can't guarantee that I will fix your bug, or even answer your question right away, because regrettably, supporting Autoduck is not what I do for a living - rather, I produce children's software products - but I will do what I can as time (and interest) permits. Features of Autoduck The following are some interesting features of Autoduck: Flexible Tag Definition Autoduck tags are defined in a text file called a formatting file. The formatting file defines which tags are recognized as well as the RTF output for a tag. The formatting file makes it easy to define your own tags or modify the formatting applied to topic text. Autoduck comes with a standard formatting file, AUTODUCK.FMT, that defines commonly used tags for C, C++, and the OLE2 Component Object Model (COM). For more information, see “Defining Tags and RTF Output Strings”. Source Parsing Autoduck can extract certain information from the C/C++ source declarations. For example, developers can type a function name in the comment block, or allow Autoduck to extract a function name from the function header. For more information, see “Source Parsing”. Extraction Tags When performing an Autoduck build, you can use extraction tags to specify which Autoduck topics are included. This is useful when your codebase has both internal and external APIs, or when you want to generate RTF files for a subset of topics. For more information, see “Conditional Topic and Paragraph Extraction”.