www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Offline D documentation/tutorial

reply LorenDB <computersemiexpert outlook.com> writes:
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.
Feb 12 2022
next sibling parent reply rikki cattermole <rikki cattermole.co.nz> writes:
There are some files available at https://d-apt.sourceforge.io/
Feb 12 2022
parent reply frame <frame86 live.com> writes:
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?
Feb 13 2022
parent reply Jordi Sayol <g.sayol gmail.com> writes:
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
Feb 13 2022
parent frame <frame86 live.com> writes:
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.
Feb 13 2022
prev sibling next sibling parent reply Mike Parker <aldacron gmail.com> writes:
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.
Feb 12 2022
parent forkit <forkit gmail.com> writes:
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.
Feb 13 2022
prev sibling parent reply =?UTF-8?Q?Christian_K=c3=b6stlin?= <christian.koestlin gmail.com> writes:
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
Feb 16 2022
parent LorenDB <computersemiexpert outlook.com> writes:
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!
Feb 21 2022