-D option = Embedded documentation
timon.gehr at gmx.ch
Fri Dec 16 09:40:52 PST 2011
On 12/16/2011 06:12 PM, dune wrote:
> Sorry but I don't understand...
> What I posted was an example, in reality there is tons of code inside the d file.
That is not what you said. Obviously you should always give an example
that actually fails, especially when you claim it does.
$ cat worksforme.d
* documentation here
/// program entry point
$ dmd -D worksforme
$ cat worksforme.html
<META http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Generated by Ddoc from worksforme.d -->
<dd>program entry point<br><br>
<hr><small>Page generated by <a
More information about the Digitalmars-d-learn