digitalmars.D - Anybody still using the chm docs
- Martin Nowak (9/9) Jun 15 2016 It's a huge maintenance effort for us to produce the chm files.
- rikki cattermole (3/12) Jun 15 2016 As long as pdf is still being generated I see no reason to not drop it.
- captaindet (6/8) Jun 15 2016 not sure what pdf you are referring to.
- rikki cattermole (4/12) Jun 15 2016 No no, spec only.
- captaindet (8/10) Jun 15 2016 real programmers do ...
- rikki cattermole (5/15) Jun 15 2016 The spec is quite a problem in reading it isn't as enjoyable as say
- captaindet (7/11) Jun 15 2016 i am very glad the chm file exists whenever i am not online, e.g. on a
- FrankLike (2/15) Jun 16 2016 +1
- jmh530 (5/6) Jun 15 2016 I didn't know this was a thing. It's cool, but if it is a big
- finalpatch (6/15) Jun 15 2016 Would be cool if you guys take over this and produce an official
- zabruk70 (2/4) Jun 15 2016 i use chm doc - it easy integrates with ide
- Jack Stouffer (9/11) Jun 15 2016 For offline browsing, Windows and Linux users can use Zeal [1]
- Martin Nowak (2/13) Jun 16 2016 Interesting, is this generated from the html pages?
- Jack Stouffer (2/14) Jun 16 2016 Yeah
- Dejan Lekic (4/15) Jun 16 2016 Thanks for the Zeal, I did not know about it.
- notna (3/14) Feb 24 2018 thanks... great community... everyday something new to learn...
- Seb (4/21) Feb 24 2018 FYI: devdocs.io (works in every browser + offers optional offline
- Dejan Lekic (7/16) Jun 16 2016 I still use CHM document as it is absolutely the best solution
- Dejan Lekic (7/10) Jun 16 2016 I forgot to mention - I use CHM on Linux. It is not my fault that
- rikki cattermole (7/16) Jun 16 2016 It's doable to have epub generation[0].
- Manu (6/16) Feb 17 2018 I approve of this message!
- Adam D. Ruppe (3/5) Jun 16 2016 What's the main difference between it and just pointing your
- Dejan Lekic (9/11) Jun 16 2016 Well, seach and index are not the only operations you need.
- Martin Nowak (7/13) Feb 17 2018 Let's pull the plug, I think everybody agrees that we have more
- Manu (6/20) Feb 17 2018 son
- Seb (4/14) Feb 17 2018 It's marked as "[temporarily]".
- Cym13 (3/7) Feb 18 2018 Note the 2-year gap. I guess this decision is based off low
- Manu (3/11) Feb 18 2018 Heh, I didn't notice anything but the timestamp of the most recent post.
- Danni Coy (8/30) Feb 17 2018 Is the reason for favouring chm as a format that it fits in with the vis...
- Walter Bright (3/9) Feb 17 2018 I find dman very useful, as I'm a command line sorta guy. In fact, I wro...
- Martin Nowak (17/29) Feb 18 2018 I know, but I think you are one of the very users though.
- Vladimir Panteleev (14/18) Feb 18 2018 Minor correction - the JSON macros are not needed for dman. They
- Manu (2/6) Feb 17 2018 CHM has a competent search and index feature.
- Danni Coy (2/9) Feb 17 2018 Isn't that more up to application than the documentation format?
- Manu (2/14) Feb 17 2018 The index is part of the CHM format.
- Manu (8/11) Feb 18 2018 That's an even better idea! I expect there is scripting in place to buil...
- Manu (8/18) Feb 17 2018 on
- Martin Nowak (10/15) Feb 18 2018 Yes might be an option, but I have little experience with Wine, and
- Vladimir Panteleev (7/19) Feb 18 2018 As far as I've seen, so far all failures have been in chmgen or
-
Jordi Sayol
(2/5)
Feb 18 2018
I build a CHM doc file for every dmd release, available on d-apt
- notna (3/12) Feb 24 2018 Downloaded... shows the index (in the left window) but doesn't
It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [¹] to create an index (from a json generated via ddoc) and copy the html files. So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release? https://github.com/dlang/dlang.org/pull/1374 [¹]: https://github.com/dlang/dlang.org/blob/7cc6e938154f90aa49fa6451a85b13e35ab2de99/chmgen.d
Jun 15 2016
On 15/06/2016 10:58 PM, Martin Nowak wrote:It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [¹] to create an index (from a json generated via ddoc) and copy the html files. So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release? https://github.com/dlang/dlang.org/pull/1374 [¹]: https://github.com/dlang/dlang.org/blob/7cc6e938154f90aa49fa6451a85b13e35ab2de99/chmgen.dAs long as pdf is still being generated I see no reason to not drop it. Cost vs benefit.
Jun 15 2016
As long as pdf is still being generated I see no reason to not drop it. Cost vs benefit.not sure what pdf you are referring to. https://dlang.org/dlangspec.pdf ? - this is only the language spec. the chm contains the whole website incl phobos documentation, compiler options, articles and style guide. or is there another pdf hiding somewhere? /det
Jun 15 2016
On 16/06/2016 12:04 AM, captaindet wrote:No no, spec only. Honestly? I read the source for Phobos even with a internet connection quite often. So having it not included isn't an issue there, but spec is.As long as pdf is still being generated I see no reason to not drop it. Cost vs benefit.not sure what pdf you are referring to. https://dlang.org/dlangspec.pdf ? - this is only the language spec. the chm contains the whole website incl phobos documentation, compiler options, articles and style guide. or is there another pdf hiding somewhere? /det
Jun 15 2016
On 2016-06-16 00:29, rikki cattermole wrote:Honestly? I read the source for Phobos even with a internet connection quite often. So having it not included isn't an issue there, but spec is.real programmers do ... well, i do sometimes too. but i rather regard myself as an average user, while i see you as an advanced developer. ppl like me like easy digestible documentation. i don't want to start a fight here. if it has to go it has to go. just making a point that it is useful for some. maybe a 2nd pdf could be made instead containing the phobos docs?
Jun 15 2016
On 16/06/2016 12:57 AM, captaindet wrote:On 2016-06-16 00:29, rikki cattermole wrote:I like my information easily digestible too.Honestly? I read the source for Phobos even with a internet connection quite often. So having it not included isn't an issue there, but spec is.real programmers do ... well, i do sometimes too. but i rather regard myself as an average user, while i see you as an advanced developer. ppl like me like easy digestible documentation.i don't want to start a fight here. if it has to go it has to go. just making a point that it is useful for some. maybe a 2nd pdf could be made instead containing the phobos docs?The spec is quite a problem in reading it isn't as enjoyable as say Phobos sources. That is why I mention it explicitly. But I have nothing against pdf form of Phobos docs.
Jun 15 2016
It's a huge maintenance effort for us to produce the chm files. ... So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?i am very glad the chm file exists whenever i am not online, e.g. on a plane or train (free wifi is not a given everywhere). finding something in the local html is quite awkward w/o google... if it really takes up too much time i will understand if it has to go too, especially if i a am the minority. just saying: i do use it occasionally, and whenever i do it is a big help. /det
Jun 15 2016
On Wednesday, 15 June 2016 at 11:54:31 UTC, captaindet wrote:+1It's a huge maintenance effort for us to produce the chm files. ... So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?i am very glad the chm file exists whenever i am not online, e.g. on a plane or train (free wifi is not a given everywhere). finding something in the local html is quite awkward w/o google... if it really takes up too much time i will understand if it has to go too, especially if i a am the minority. just saying: i do use it occasionally, and whenever i do it is a big help. /det
Jun 16 2016
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:It's a huge maintenance effort for us to produce the chm files.I didn't know this was a thing. It's cool, but if it is a big inconvenience, then I don't think it needs to be included. I suggest just providing a way for people to make it themselves or download it (and clearly document how to do it).
Jun 15 2016
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [¹] to create an index (from a json generated via ddoc) and copy the html files. So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release? https://github.com/dlang/dlang.org/pull/1374 [¹]: https://github.com/dlang/dlang.org/blob/7cc6e938154f90aa49fa6451a85b13e35ab2de99/chmgen.dWould be cool if you guys take over this and produce an official version: https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/D Dash (and its free clone Zeal) is massively better than CHM for offline use.
Jun 15 2016
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?i use chm doc - it easy integrates with ide
Jun 15 2016
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?For offline browsing, Windows and Linux users can use Zeal [1] which is FOSS, and macOS users can use Dash[2], which is free as in beer. Both of which can use this D docset [3]. So no, there's no reason to maintain the chm docs. [1] https://zealdocs.org/ [2] https://kapeli.com/dash [3] https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/D#readme
Jun 15 2016
On Thursday, 16 June 2016 at 02:32:05 UTC, Jack Stouffer wrote:On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:Interesting, is this generated from the html pages?So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?For offline browsing, Windows and Linux users can use Zeal [1] which is FOSS, and macOS users can use Dash[2], which is free as in beer. Both of which can use this D docset [3]. So no, there's no reason to maintain the chm docs. [1] https://zealdocs.org/ [2] https://kapeli.com/dash [3] https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/D#readme
Jun 16 2016
On Thursday, 16 June 2016 at 11:04:48 UTC, Martin Nowak wrote:On Thursday, 16 June 2016 at 02:32:05 UTC, Jack Stouffer wrote:YeahFor offline browsing, Windows and Linux users can use Zeal [1] which is FOSS, and macOS users can use Dash[2], which is free as in beer. Both of which can use this D docset [3]. So no, there's no reason to maintain the chm docs. [1] https://zealdocs.org/ [2] https://kapeli.com/dash [3] https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/D#readmeInteresting, is this generated from the html pages?
Jun 16 2016
On Thursday, 16 June 2016 at 02:32:05 UTC, Jack Stouffer wrote:On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:Thanks for the Zeal, I did not know about it. Both Gnome and KDE have their "help" tools that more/less do the same.So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?For offline browsing, Windows and Linux users can use Zeal [1] which is FOSS, and macOS users can use Dash[2], which is free as in beer. Both of which can use this D docset [3]. So no, there's no reason to maintain the chm docs. [1] https://zealdocs.org/ [2] https://kapeli.com/dash [3] https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/D#readme
Jun 16 2016
On Thursday, 16 June 2016 at 02:32:05 UTC, Jack Stouffer wrote:On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:thanks... great community... everyday something new to learn... even in 2+ years old posts ;)So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?For offline browsing, Windows and Linux users can use Zeal [1] which is FOSS, and macOS users can use Dash[2], which is free as in beer. Both of which can use this D docset [3]. So no, there's no reason to maintain the chm docs. [1] https://zealdocs.org/ [2] https://kapeli.com/dash [3] https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/D#readme
Feb 24 2018
On Saturday, 24 February 2018 at 11:23:17 UTC, notna wrote:On Thursday, 16 June 2016 at 02:32:05 UTC, Jack Stouffer wrote:FYI: devdocs.io (works in every browser + offers optional offline access via HTML5 localStorage) supports D too: http://devdocs.io/d/On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:thanks... great community... everyday something new to learn... even in 2+ years old posts ;)So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?For offline browsing, Windows and Linux users can use Zeal [1] which is FOSS, and macOS users can use Dash[2], which is free as in beer. Both of which can use this D docset [3]. So no, there's no reason to maintain the chm docs. [1] https://zealdocs.org/ [2] https://kapeli.com/dash [3] https://github.com/Kapeli/Dash-User-Contributions/tree/master/docsets/D#readme
Feb 24 2018
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [¹] to create an index (from a json generated via ddoc) and copy the html files. So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release? https://github.com/dlang/dlang.org/pull/1374 [¹]: https://github.com/dlang/dlang.org/blob/7cc6e938154f90aa49fa6451a85b13e35ab2de99/chmgen.dI still use CHM document as it is absolutely the best solution compared to anything else. I think it is a mistake to compare CHM with PDF... They are made for different things... If people want to get rid of PDF, then I propose we start providing ePub instead of CHM. That could be the only sane alternative to the CHM we have.
Jun 16 2016
I still use CHM document as it is absolutely the best solution compared to anything else. I think it is a mistake to compare CHM with PDF... They are made for different things...I forgot to mention - I use CHM on Linux. It is not my fault that opensource community could not come up with a better or/and standardised solution... The only standard solution for this that Linux has are man pages - clearly not suitable this purpose! Other, better solutions are there, but are not adopted by all - Gnome has one format, KDE another, etc... CHAOS. Therefore, I decided to use CHM.
Jun 16 2016
On 17/06/2016 1:22 AM, Dejan Lekic wrote:It's doable to have epub generation[0]. PDF can do a heck a lot more then what most people even know[1]. [0] http://master.dl.sourceforge.net/project/d-apt/files/doc/2.071.0/dlangspec-2.071.0.epub [1] http://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJSPreface%2FJS_API_AcroJSPreface.htmI still use CHM document as it is absolutely the best solution compared to anything else. I think it is a mistake to compare CHM with PDF... They are made for different things...I forgot to mention - I use CHM on Linux. It is not my fault that opensource community could not come up with a better or/and standardised solution... The only standard solution for this that Linux has are man pages - clearly not suitable this purpose! Other, better solutions are there, but are not adopted by all - Gnome has one format, KDE another, etc... CHAOS. Therefore, I decided to use CHM.
Jun 16 2016
On 16 June 2016 at 06:22, Dejan Lekic via Digitalmars-d < digitalmars-d puremagic.com> wrote:I still use CHM document as it is absolutely the best solution compared toI approve of this message! At my old work, we released CHM docs specifically for linux users too. They preferred the CHM index and searchability compared to PDF or something like that.anything else. I think it is a mistake to compare CHM with PDF... They are made for different things...I forgot to mention - I use CHM on Linux. It is not my fault that opensource community could not come up with a better or/and standardised solution... The only standard solution for this that Linux has are man pages - clearly not suitable this purpose! Other, better solutions are there, but are not adopted by all - Gnome has one format, KDE another, etc... CHAOS. Therefore, I decided to use CHM.
Feb 17 2018
On Thursday, 16 June 2016 at 13:18:23 UTC, Dejan Lekic wrote:I still use CHM document as it is absolutely the best solution compared to anything else.What's the main difference between it and just pointing your browser at the downloaded html files? Search and index?
Jun 16 2016
What's the main difference between it and just pointing your browser at the downloaded html files? Search and index?Well, seach and index are not the only operations you need. One of the common operation with every CHM viewer is to bookmark something for an example. I've just checked the Zeal application and realised it does not have this simple feature (or I could not find it). Also, I want it to open at the same place I was last time I used the viewer... Simply run KChmViewer and open the CHM document from DMD package with it, and compare it with any other similar solution...
Jun 16 2016
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [¹] to create an index (from a json generated via ddoc) and copy the html files. So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?Let's pull the plug, I think everybody agrees that we have more important issues than maintaining d.chm and dman (which hasn't been shipped since 2.076 anyhow). Consider both tools as offered for adoption (as an external service or download). https://github.com/dlang/installer/pull/298
Feb 17 2018
On 17 February 2018 at 07:04, Martin Nowak via Digitalmars-d < digitalmars-d puremagic.com> wrote:On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:sonIt's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [=C2=B9] to create an index (from a j=Wait, what? You asked if people used them, found that they did, then pulled the plug anyway? O_o Try running WINE on the build machine... it's trivial to setup.generated via ddoc) and copy the html files. So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?Let's pull the plug, I think everybody agrees that we have more important issues than maintaining d.chm and dman (which hasn't been shipped since 2.076 anyhow). Consider both tools as offered for adoption (as an external service or download). https://github.com/dlang/installer/pull/298
Feb 17 2018
On Saturday, 17 February 2018 at 21:23:25 UTC, Manu wrote:On 17 February 2018 at 07:04, Martin Nowak via Digitalmars-d < digitalmars-d puremagic.com> wrote:It's marked as "[temporarily]". Also from GH where Vladimir tried to add chmgen to dlang.org's CI.[...]Wait, what? You asked if people used them, found that they did, then pulled the plug anyway? O_o Try running WINE on the build machine... it's trivial to setup.https://github.com/dlang/dlang.org/pull/2213[...]No hurries, I'll disable the d.chm build for now so I can build the beta and we can decide on readding or removing later.
Feb 17 2018
On Saturday, 17 February 2018 at 21:23:25 UTC, Manu wrote:Wait, what? You asked if people used them, found that they did, then pulled the plug anyway? O_o Try running WINE on the build machine... it's trivial to setup.Note the 2-year gap. I guess this decision is based off low interest shown during this gap to actually maintain the tools.
Feb 18 2018
On 18 February 2018 at 05:26, Cym13 via Digitalmars-d < digitalmars-d puremagic.com> wrote:On Saturday, 17 February 2018 at 21:23:25 UTC, Manu wrote:Heh, I didn't notice anything but the timestamp of the most recent post.Wait, what? You asked if people used them, found that they did, then pulled the plug anyway? O_o Try running WINE on the build machine... it's trivial to setup.Note the 2-year gap. I guess this decision is based off low interest shown during this gap to actually maintain the tools.
Feb 18 2018
Is the reason for favouring chm as a format that it fits in with the visual studio ecosystem better? Having used both pdf and chm help on Linux I don't see a huge amount of difference between competent reading applications. On Sun, Feb 18, 2018 at 7:23 AM, Manu via Digitalmars-d < digitalmars-d puremagic.com> wrote:On 17 February 2018 at 07:04, Martin Nowak via Digitalmars-d < digitalmars-d puremagic.com> wrote:jsonOn Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote:It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [=C2=B9] to create an index (from a =tgenerated via ddoc) and copy the html files. So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release?Let's pull the plug, I think everybody agrees that we have more importan=issues than maintaining d.chm and dman (which hasn't been shipped since 2.076 anyhow). Consider both tools as offered for adoption (as an external service or download). https://github.com/dlang/installer/pull/298Wait, what? You asked if people used them, found that they did, then pulled the plug anyway? O_o Try running WINE on the build machine... it's trivial to setup.
Feb 17 2018
On 2/17/2018 7:04 AM, Martin Nowak wrote:Let's pull the plug, I think everybody agrees that we have more important issues than maintaining d.chm and dman (which hasn't been shipped since 2.076 anyhow). Consider both tools as offered for adoption (as an external service or download). https://github.com/dlang/installer/pull/298I find dman very useful, as I'm a command line sorta guy. In fact, I wrote it because it's a major convenience for me.
Feb 17 2018
On 02/18/2018 02:05 AM, Walter Bright wrote:On 2/17/2018 7:04 AM, Martin Nowak wrote:I know, but I think you are one of the very users though. On my shell it's simple to add an alias that would invoke https://duckduckgo.com/?q=popFrontN+site%3Adlang.org%2Flibrary. Personally I do have a browser shortcut 'd' for my Brower's omnibox, so I can just type 'd popFrontN' in FireFox to find docs. The essence here is that while dman might be useful, it's foundation is very complex and fragile, using ddoc JSON macros :o (https://github.com/dlang/dlang.org/blob/cb44110267d0b5d2e139909c47fa00924ac1cb24/chm-nav.dd) and a self-written html/link processor to gather tags. Sure Vladimir is great at maintaining tools and very responsive, but still any issue with this tool blocks our releases and wastes my time. Same as for d.chm, I'd favor if that tool would be build and distributed separately from our dmd releases, and if the actual users would maintain it. This could be setup on Travis-CI using ldc to cross-compile for all target platforms or so. -MartinLet's pull the plug, I think everybody agrees that we have more important issues than maintaining d.chm and dman (which hasn't been shipped since 2.076 anyhow). Consider both tools as offered for adoption (as an external service or download). https://github.com/dlang/installer/pull/298I find dman very useful, as I'm a command line sorta guy. In fact, I wrote it because it's a major convenience for me.
Feb 18 2018
On Sunday, 18 February 2018 at 21:31:48 UTC, Martin Nowak wrote:The essence here is that while dman might be useful, it's foundation is very complex and fragile, using ddoc JSON macros :o (https://github.com/dlang/dlang.org/blob/cb44110267d0b5d2e139909c47fa00924ac1cb24/chm-nav.dd)Minor correction - the JSON macros are not needed for dman. They are needed for CHM navigation. The core problem is that the dlang.org navigation (top menu) does not exist in any semantic machine-readable format other than DDoc macros. Previous chmgen implementations parsed HTML to understand the site structure, but that became no longer possible after the last dlang.org website overhaul. There is no particular reason to use JSON here. I chose JSON because I noticed that it seemed possible to generate (almost-correct) JSON from the navigation DDoc files, so I took the opportunity. I think we could reuse this system to build a sitemap that is more than a flat list of links.
Feb 18 2018
On 17 February 2018 at 16:52, Danni Coy <danni.coy gmail.com> wrote:Is the reason for favouring chm as a format that it fits in with the visual studio ecosystem better? Having used both pdf and chm help on Linux I don't see a huge amount of difference between competent reading applications.CHM has a competent search and index feature.
Feb 17 2018
On Sun, Feb 18, 2018 at 11:10 AM, Manu <turkeyman gmail.com> wrote:On 17 February 2018 at 16:52, Danni Coy <danni.coy gmail.com> wrote:Isn't that more up to application than the documentation format?Is the reason for favouring chm as a format that it fits in with the visual studio ecosystem better? Having used both pdf and chm help on Linux I don't see a huge amount of difference between competent reading applications.CHM has a competent search and index feature.
Feb 17 2018
On 17 February 2018 at 18:32, Danni Coy <danni.coy gmail.com> wrote:On Sun, Feb 18, 2018 at 11:10 AM, Manu <turkeyman gmail.com> wrote:The index is part of the CHM format.On 17 February 2018 at 16:52, Danni Coy <danni.coy gmail.com> wrote:Isn't that more up to application than the documentation format?Is the reason for favouring chm as a format that it fits in with the visual studio ecosystem better? Having used both pdf and chm help on Linux I don't see a huge amount of difference between competent reading applications.CHM has a competent search and index feature.
Feb 17 2018
On 18 February 2018 at 12:28, Martin Nowak <code dawg.eu> wrote:It should be equally trivial to setup an appveyor.yml task for dlang.org that builds a chm file for any git tag.That's an even better idea! I expect there is scripting in place to build the doc, since some machinery must have been working for the past decade or 2? Is it just a matter of executing that script on a windows machine? Synchronisation sounds annoying though, how do you aggregate an appveyor output into the main release bundle? Maybe combining different build machines is harder?
Feb 18 2018
On 15 June 2016 at 03:58, Martin Nowak via Digitalmars-d < digitalmars-d puremagic.com> wrote:It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [=C2=B9] to create an index (from a js=ongenerated via ddoc) and copy the html files. So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release? https://github.com/dlang/dlang.org/pull/1374 [=C2=B9]: https://github.com/dlang/dlang.org/blob/7cc6e938154f90aa49fa 6451a85b13e35ab2de99/chmgen.dI like the CHM docs. I have encountered the same maintenance problem before, where build infra is linux based, and the CHM docs need a windows machine to build... I solved this problem by building the CHM via WINE ;) Maybe this is a possible solution?
Feb 17 2018
On 02/17/2018 10:19 PM, Manu wrote:I like the CHM docs. I have encountered the same maintenance problem before, where build infra is linux based, and the CHM docs need a windows machine to build... I solved this problem by building the CHM via WINE ;) Maybe this is a possible solution?Yes might be an option, but I have little experience with Wine, and adding more complexity to an already complex tool seems problematic. We obviously do build releases on Windows (VirtualBox) and also have Windows CIs, but Vladimir's doc tester is linux-only atm. I mainly don't want to spent more resources to work on this, hence it's offered for adoption. You might want to collaborate with Vladimir to integrate this with dlang.org's appveyor. It can easily test every build and upload artifacts for git tags. -Martin
Feb 18 2018
On Sunday, 18 February 2018 at 21:37:01 UTC, Martin Nowak wrote:Yes might be an option, but I have little experience with Wine, and adding more complexity to an already complex tool seems problematic. We obviously do build releases on Windows (VirtualBox) and also have Windows CIs, but Vladimir's doc tester is linux-only atm. I mainly don't want to spent more resources to work on this, hence it's offered for adoption. You might want to collaborate with Vladimir to integrate this with dlang.org's appveyor. It can easily test every build and upload artifacts for git tags.As far as I've seen, so far all failures have been in chmgen or some of its inputs or dependencies. I think that once chmgen itself is tested by CI, there should no longer be any blocking problems caused by building the CHM file itself. https://github.com/dlang/dlang.org/pull/2213 is green and ready to merge, by the way.
Feb 18 2018
El 17/02/18 a les 22:19, Manu via Digitalmars-d ha escrit:I like the CHM docs. I have encountered the same maintenance problem before, where build infra is linux based, and the CHM docs need a windows machine to build... I solved this problem by building the CHM via WINE ;) Maybe this is a possible solution?I build a CHM doc file for every dmd release, available on d-apt <http://d-apt.sourceforge.net/>, and built on Linux :-)
Feb 18 2018
On Sunday, 18 February 2018 at 21:44:54 UTC, Jordi Sayol wrote:El 17/02/18 a les 22:19, Manu via Digitalmars-d ha escrit:Downloaded... shows the index (in the left window) but doesn't show any content (in the right window)I like the CHM docs. I have encountered the same maintenance problem before, where build infra is linux based, and the CHM docs need a windows machine to build... I solved this problem by building the CHM via WINE ;) Maybe this is a possible solution?I build a CHM doc file for every dmd release, available on d-apt <http://d-apt.sourceforge.net/>, and built on Linux :-)
Feb 24 2018