-
Notifications
You must be signed in to change notification settings - Fork 141
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
make docs a submodule and add documentation stage in CI #843
Conversation
Great that it works, so the next step is to add SSH key pair generated by After that, we could merge this PR and then manually make a temp tag (not via Registrator) to check if it successfully versions the documentation. Or we could use Github Actions for documentation build. An example can be found in DemoCards |
I am not sure I fully understand the aim here; what's the goal of building the docs with Images.jl? |
Here's the motivation: Any updates(especially new Of course, we could manually tag a release in juliaimages.github.io side, but IMO that's not a programmatic way. |
Can we do this through CompatHelper now? Whenever a new release gets made in any dependency that requires a bump in bounds, wouldn't there be a notification? Oh, wait, all the "0" and "1" in the |
👍 to the idea of versioned docs. But what should that be? AFAICT everyone wants Images.jl to just become a meta-package, and once that's done it is unlikely to release new versions on a regular basis. |
That works. But actually I'm thinking one step further on how to manage all the documentations organically. For example, if we introduce The map in my mind is:
And the role of Image's docs IMO is to
As long as we limit [compat] of Images.jl to patch level, CompatHelper helps to do so. For example, each patch release of sub-packages triggers a patch release of Images.jl, this also triggers a doc rebuild if we take this PR's strategy. Some discussion about this is on #825 "everyone" is actually "every developer", but from a user's view, he/she doesn't want to |
Actually I want things to go as it should without any notification... |
I'm torn on this, but in general I don't think it's useful for users to go to ImageCore for documentation on functionality defined in ImageCore, to Colors for its docs, etc. Some packages have their own docs but that's a bit legacy right now. Even ImageFeatures & ImageSegmentation, which are not loaded into Images, have pages on JuliaImages. When a package has documentation that's also hosted locally, it would be ideal if both sets of docs are in sync. Perhaps we should set up a system where the repo's docs get symlinked prior to building the docs at JuliaImages?
That's reasonable. But once we hit 1.0 on packages, then wouldn't we declare bounds as |
We could also use GitHub Actions to write custom logic for rebuilding the docs. Perhaps dating the docs, rather than giving them a version number, makes most sense? |
Hmmm, not quite so IMO. I'll draft issue later this week on this more carefully. Now I need to catch up with my own work. |
I'm not very sure whether it works as expected, but here's what I expect:
Images.jl
side,If this strategy works, we might also need to adjust the structure of https://github.com/JuliaImages/juliaimages.github.io so that the general folder structure looks normal, it's
docs/docs/
at present.