digitalmars.D - How do I use DDoc?
- Caligo <iteronvexor gmail.com> Nov 11 2011
--20cf307c9b52a3a53804b184f3fa Content-Type: text/plain; charset=ISO-8859-1 I'm about to go to bed and I can't keep my eyes open, so sorry if the answer to this is obvious. I cloned ' https://github.com/D-Programming-Language/d-programming-language.org' and I want to work on documentation. I've read http://www.digitalmars.com/d/2.0/ddoc.html, but maybe I've missed it. 1. How do I get dmd to generate the HTML files from all those *.dd files? I run 'dmd -Dddocdir *.dd' and it creates 'docdir' folder with bunch of HTML files, but they are only a few KBs with no content. What am I doing wrong? 2. What are the *.ddco for? Do they contain the predefined macros? If so, why are some of them missing than what's listed on that page? --20cf307c9b52a3a53804b184f3fa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm about to go to bed and I can't keep my eyes open, so sorry if t= he answer to this is obvious.<br><br>I cloned '<a href=3D"https://githu= b.com/D-Programming-Language/d-programming-language.org">https://github.com= /D-Programming-Language/d-programming-language.org</a>' and I want to w= ork on documentation.=A0 I've read <a href=3D"http://www.digitalmars.co= m/d/2.0/ddoc.html">http://www.digitalmars.com/d/2.0/ddoc.html</a>, but mayb= e I've missed it.<br> <br>1. How do I get dmd to generate the HTML files from all those *.dd file= s?=A0 I run 'dmd -Dddocdir *.dd' and it creates 'docdir' fo= lder with bunch of HTML files, but they are only a few KBs with no content.= =A0 What am I doing wrong?<br> <br>2. What are the *.ddco for?=A0 Do they contain the predefined macros?= =A0 If so, why are some of them missing than what's listed on that page= ?<br> --20cf307c9b52a3a53804b184f3fa--
Nov 11 2011








Caligo <iteronvexor gmail.com>