Thread overview
Offline D documentation/tutorial
Feb 13, 2022
LorenDB
Feb 13, 2022
rikki cattermole
Feb 13, 2022
frame
Feb 13, 2022
Jordi Sayol
Feb 14, 2022
frame
Feb 13, 2022
Mike Parker
Feb 13, 2022
forkit
Feb 16, 2022
Christian Köstlin
Feb 22, 2022
LorenDB
February 13, 2022

Is there a way to download tour.dlang.org, the D spec, and/or the Phobos spec as an offline HTML site? I like the ability of cppreference.com to be saved as an offline HTML archive and I'd like to have that for D as well.

February 13, 2022
There are some files available at https://d-apt.sourceforge.io/
February 13, 2022

On Sunday, 13 February 2022 at 00:16:02 UTC, LorenDB wrote:

>

Is there a way to download tour.dlang.org, the D spec, and/or the Phobos spec as an offline HTML site? I like the ability of cppreference.com to be saved as an offline HTML archive and I'd like to have that for D as well.

If you’ve installed dmd via one of the supported installers (or the zip), you should already have the html files for the spec. On Windows, they’re in a subdirectory. I assume on other platforms they’re in the standard doc location for that platform.

February 13, 2022
On Sunday, 13 February 2022 at 00:17:26 UTC, rikki cattermole wrote:
> There are some files available at https://d-apt.sourceforge.io/

It would also nice to have a up-to-date CHM version of https://github.com/a11e99z/DlangChm

Are there any compiled sources?
February 13, 2022
On Sunday, 13 February 2022 at 00:43:18 UTC, Mike Parker wrote:
>
> If you’ve installed dmd via one of the supported installers (or the zip), you should already have the html files for the spec. On Windows, they’re in a subdirectory. I assume on other platforms they’re in the standard doc location for that platform.

Would be nice if you could use this html *completely* offline, too.

At the moment, if your're offline, you can't download the Roboto+Slab fonts that it tries to grab off the internet, from fonts.google.com, and so the pages end up with some default font that makes it look pretty awful.


February 13, 2022
El 13/2/22 a les 12:22, frame via Digitalmars-d-learn ha escrit:
> On Sunday, 13 February 2022 at 00:17:26 UTC, rikki cattermole wrote:
>> There are some files available at https://d-apt.sourceforge.io/
> 
> It would also nice to have a up-to-date CHM version of https://github.com/a11e99z/DlangChm
> 
> Are there any compiled sources?
> 

In <https://d-apt.sourceforge.io/> there are CHM, EPUB, MOBI and PDF up to date
February 14, 2022
On Sunday, 13 February 2022 at 20:48:45 UTC, Jordi Sayol wrote:
> El 13/2/22 a les 12:22, frame via Digitalmars-d-learn ha escrit:
>> On Sunday, 13 February 2022 at 00:17:26 UTC, rikki cattermole wrote:
>>> There are some files available at https://d-apt.sourceforge.io/
>> 
>> It would also nice to have a up-to-date CHM version of https://github.com/a11e99z/DlangChm
>> 
>> Are there any compiled sources?
>> 
>
> In <https://d-apt.sourceforge.io/> there are CHM, EPUB, MOBI and PDF up to date

That's not the same because phobos lib isn't included and not that visual compact than DlangChm.

February 16, 2022

On 2022-02-13 01:16, LorenDB wrote:

>

Is there a way to download tour.dlang.org, the D spec, and/or the Phobos spec as an offline HTML site? I like the ability of cppreference.com to be saved as an offline HTML archive and I'd like to have that for D as well.
In addition to the already mentioned solutions there are at least two more:

  1. I was pointed by Seb to https://devdocs.io/d/ which offers an offline mode via html5.

  2. Another nice thing for dlang would be to support dash docsets (https://kapeli.com/dash). There is a free opensource reader for those as well (https://zealdocs.org/). https://github.com/trishume/d-phobos-docset tried to create such docsets with a small script, but thats not up2date.

All in all I think there are almost to many half baked solutions to the offline documentation problem in dlang. Perhaps this could be something for the steering committee.

Kind regards,
Christian

February 22, 2022

On Wednesday, 16 February 2022 at 20:07:09 UTC, Christian Köstlin wrote:

>
  1. I was pointed by Seb to https://devdocs.io/d/ which offers an offline mode via html5.

Thanks, that looks promising!