Am 08.01.2016 um 08:54 schrieb Jacob Carlborg:
On 2016-01-07 21:18, ZombineDev wrote:

A) Local http server that you can start like so:
cd dmd
make serve-dmd-docs
browser 127.0.0.1:8080/dmd-internal-docs

What would be the point of the web server? Talk about adding complexity
and dependencies. It's enough to generate the HTML, CSS and JavaScript.
Then just open the files in your browser. Not need to have a web server
running.


The main advantage is that generating (all) the files can be quite slow and when you want get quick previews of the documentation you're working on, generating them on the fly is much quicker.

BTW, in the dlang.org repository you can do "make -f xxx.mak apidocs-serve" to get that (of course only for Druntime and Phobos).

Reply via email to