API Documentation vs Library Reference

Mike Parker aldacron at gmail.com
Mon Feb 21 11:58:08 UTC 2022


On Monday, 21 February 2022 at 11:33:55 UTC, partypooper wrote:
> Personally currently in a stage of learning D I have found that 
> [API Documentation](https://dlang.org/library/) is much more 
> approachable and better structured than [Library 
> Reference](https://dlang.org/phobos/index.html) maybe except 
> for the modules by Mister Alexandresku, they are well 
> structured even in the reference.
>
> But the problem is that there is no any link to api 
> documentation on the main page. And I actually found it by 
> accident (maybe I'm just blind).
> What do you think about structure of both of them and why there 
> is one over the other?

They're the same documentation. IIRC, dlang.org/library/ was put 
together as a test of a different layout that was intended to 
replace the documentation at dlang.org/phobos. I don't remember 
who did it, or why the switch never happened.


More information about the Digitalmars-d mailing list