| Description: Here is the source from which the documentation was created |
| The .c2d source file: ; The .c2d files are files containing only inline documentation. ; Refer to the example file MoreComplexExample.html to see more details on what ;; you can insert in inline documentation. ; The help files of Cod2Doc have been created using exclusively .c2d files! The ;; web page was also created with Cod2Doc!! ; But here I would like to demonstrate that .c2d files are perfect to document a library where ;; you want to document functions and variables in an order that is not the one from the .bb ;; program. ; For that, you have still to comment your functions/variables in the .bb code (which helps you ;; to maintain a clean code!). ; So let's start for a very basic example, using the functions/variables defined in the SimpleExample.bb ;; file. ;title A very useful library ; This is some text which will be placed before the description of my first variable (here ;; a type). ;includeDescription SimpleExample#aType ; ; Here some text again with a list: ; - point 1 ; - point 2 ; And now let's include the function aFunction: ;includeDescription SimpleExample#aFunction ; ; That's it for this example, hoping it will give you a lot of good ideas!! |
on 26 Jan 2004.