[dlang library documentation] Why there are dlang.org/library and dlang.org/phobos?

John Gabriele jgabriele at fastmail.fm
Mon Jan 22 19:38:45 UTC 2018


On Monday, 22 January 2018 at 15:32:29 UTC, Adam D. Ruppe wrote:
> On Monday, 22 January 2018 at 15:18:38 UTC, Johann wrote:
>> Maybe it's due to historical reasons.
>
> It's actually "future" reasons... the /phobos is the original 
> one, and /library was supposed to replace it, but now many 
> years later, /library is still kinda neglected and they both 
> just exist.

What's needed to remove the "/phobos" one? Is it a decision from 
on-high, or is there a lot of editing of hardcoded links required?

> This is a reason why I forked the d docs to my site 
> dpldocs.info. Check out its search:
>
> http://dpldocs.info/writef
>
> But yeah, the link in the original source is hardcoded for the 
> /phobos path... but is also a relative link. So when generated 
> on /library, it is just a 404. On my fork, I just fixed it, but 
> /library tries to build from the master branch so they can't 
> really just fix things without making sure it still works in 
> both generators. what a mess.

I'm not sure I understand. What would it take to make the 
"/library" pages good enough that you wouldn't need 
<http://dpldocs.info/writef>?



More information about the Digitalmars-d-learn mailing list