digitalmars.D.learn - How to build dlang.org dd files
- Mike (14/14) Aug 30 2014 I've been trying to update some documentation on dlang.org. The
- Mike (6/21) Aug 31 2014 This seems to do it:
- Philippe Sigaud via Digitalmars-d-learn (4/6) Aug 31 2014 I don't know of another syntax, but could you please put this
I've been trying to update some documentation on dlang.org. The instructions at https://github.com/D-Programming-Language/dlang.org/blob/master/CONTRIBUTING.md say I should be able to do make -f posix.make file.html This doesn't seem to work, as I get "no rule t omake target 'file.html'. I tried 'make -f posix.mak' and that requires dmd, druntime, and maybe a mess of other things, and takes forever. And ultimately it fails with 'No rule to make target 'release'. Stop.' Isn't there any easy one-liner I can use to render a single .dd file to html to test my changes? Thanks, Mike
Aug 30 2014
On Sunday, 31 August 2014 at 05:41:58 UTC, Mike wrote:I've been trying to update some documentation on dlang.org. The instructions at https://github.com/D-Programming-Language/dlang.org/blob/ma ter/CONTRIBUTING.md say I should be able to do make -f posix.make file.html This doesn't seem to work, as I get "no rule t omake target 'file.html'. I tried 'make -f posix.mak' and that requires dmd, druntime, and maybe a mess of other things, and takes forever. And ultimately it fails with 'No rule to make target 'release'. Stop.' Isn't there any easy one-liner I can use to render a single .dd file to html to test my changes? Thanks, MikeThis seems to do it: dmd -c -o- macros.ddoc doc.ddoc -Df{ddoc_filename}.html {ddoc_filename}.dd If someone knows of a more "official" syntax, please let me know. Mike
Aug 31 2014
dmd -c -o- macros.ddoc doc.ddoc -Df{ddoc_filename}.html {ddoc_filename}.dd If someone knows of a more "official" syntax, please let me know.I don't know of another syntax, but could you please put this somewhere on the wiki? Maybe in the cookbook section: http://wiki.dlang.org/Cookbook
Aug 31 2014