Building the docs with own changes

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 8 09:25:32 PDT 2015


On 6/8/15 6:33 AM, anonymous wrote:
> Slightly different topic, related to changing documentation without
> losing your sanity: When building dlang.org, changes in druntime/phobos
> are not properly picked up.
>
> You can try deleting a strategic file like
> dlang.org/web/phobos-prerelease/index.html which should trigger a
> rebuild. See posix.mak for what files are dependencies to the different
> targets.
>
> Or just do a fresh build every time: `make -f posix.mak clean; make -f
> posix.mak phobos-prerelease`.
>
> I have an open pull request that's supposed to fix this:
> https://github.com/D-Programming-Language/dlang.org/pull/993

Yah, that's annoying. Thanks for contributing a fix. For now my typical 
approach is:

rm -f web/phobos-prerelease/index.html && make -j6 LATEST=2.067.1 
phobos-prerelease


Andrei


More information about the Digitalmars-d mailing list