January 08, 2016 Re: Browsing D compiler source code | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On 2016-01-08 15:25, Walter Bright wrote: > In Windows anyway, merely typing: > > foo.html > > at the command prompt brings up foo.html in the browser. This is very > convenient. Exactly. On OS X, prepend with "open". -- /Jacob Carlborg | |||
January 08, 2016 Re: Browsing D compiler source code | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Thursday, 7 January 2016 at 14:32:32 UTC, Walter Bright wrote:
> ...the D compiler source should be, too...
Someone could explain what's the difference between having a source code browsable here vs github?
Bubba.
| |||
January 09, 2016 Re: Browsing D compiler source code | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Bubbasaur | On 2016-01-08 20:49, Bubbasaur wrote: > Someone could explain what's the difference between having a source code > browsable here vs github? If you read the whole post you can see that it's about generating documentation from the DMD source code. -- /Jacob Carlborg | |||
January 09, 2016 Re: Browsing D compiler source code | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | 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).
| |||
January 09, 2016 Re: Browsing D compiler source code | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Saturday, 9 January 2016 at 10:23:02 UTC, Jacob Carlborg wrote:
> On 2016-01-08 20:49, Bubbasaur wrote:
>
>> Someone could explain what's the difference between having a source code
>> browsable here vs github?
>
> If you read the whole post you can see that it's about generating documentation from the DMD source code.
In fact I read, but I had misunderstood:
"Like the Phobos Ddoc output is browsable on dlang.org, the D compiler source should be, too."
I thought he was just using the Phobos Ddoc as example, and wanting to do the same with the D Compiler.
Bubba.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply