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/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
This 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