Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for 14428. Add epub and chm download buttons for the language spec. #966

Merged
merged 1 commit into from Apr 11, 2015

Conversation

davideagen
Copy link
Contributor

@CyberShadow
Copy link
Member

How are these updated? Wouldn't it be better to integrate them with the build process?

A CHM is already included with D, which also includes a Phobos reference, keyword index, and other things only possible because it is generated by a dedicated program (chmgen). It is also integrated with D's build process. I don't think we need two...

IMHO, it would be better to integrate something like http://manual.calibre-ebook.com/cli/ebook-convert.html into our build process for the .mobi and upload and link the CHM we already have.

Historically, links to 3rd-party resources have bitrotten rather quickly. For example, see how many links on http://www.digitalmars.com/d/dlinks.html still work.

@davideagen
Copy link
Contributor Author

Yes, it makes sense to host it on dlang.org and have it part of the build process. I see in posix.mak the d.tag target builds the chm file. I'll look into getting the epub built with ebook-convert and adding it and the chm to the rsync target.

@CyberShadow
Copy link
Member

Currently posix.mak can't build the CHM file, because the CHM program is Windows-only. It only creates d.tag, which is used by dman.

@andralex
Copy link
Member

Thanks!

andralex added a commit that referenced this pull request Apr 11, 2015
Fix for 14428. Add epub and chm download buttons for the language spec.
@andralex andralex merged commit 282d45b into dlang:master Apr 11, 2015
@MartinNowak
Copy link
Member

Has there been any followup? The download links are already dead and I agree with Vladimir we shouldn't have 2 chms with similar content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants