-
Notifications
You must be signed in to change notification settings - Fork 22
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
building the documentation for JuliaInterface #624
Comments
I thought that "compiling" the documentation of a package is needed only when a release is made, and then it is only necessary to add the result to the package archive --is this perhaps meant with the "Another solution" statement (and then this applies also to the JLL solution)? |
Here's the thing: for GAP packages, normally we do indeed build the documentation when a release is made, and package it all together into a tarball. But for Julia packages, a "release" basically is a tag on a repository, and the Julia package manager deploys a snapshot of that (indeed, if one uses So when users install GAP.jl, they just get what's in the repo, nothing more. Hence this issue. |
Just stumbled over this independently again. My first idea to deal with this (for now) was to edit
... and then insert a step to build the documentation. But that requires GAP! But we don't know of any GAP installation to use on the system, except the one we have in GAP.jl... but that is not (yet) runnable at the time On the other hand, a JuliaInterface JLL (see #619) could solve this, as it could of course contain a compiled version of the manual, too. |
@fingolfin wrote in the discussion of pull request #617:
I just realized that we never really build the documentation for
JuliaInterface
, do we? We probably should (HTML+TXT only, no PDF, so that user's don't need LaTeX). But how?? We have to be careful to do it only after GAP actually runs, so we can't do it during precompilation as part ofregenerate_gaproot()
(I think).Next best I can think of is to delete any generated documentation files in
regenerate_gaproot()
, and then regenerate them in__init__
if we notice they are missing (this way, we always regenerate them if needed).Another solution would be to be slightly nasty and commit the relevant files (*.html, *.txt, *.js, *.css, ...) into the repository...
Or if JuliaInterface was built into a JLL (see issue #619), then that JLL could contain the generated documentation, too.
The text was updated successfully, but these errors were encountered: