-
Notifications
You must be signed in to change notification settings - Fork 462
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
The AutoMerge guideline documentation is now automatically generated #36875
Conversation
I’m not totally sure about this. I think RegistryCI is more general than General and the RegistryCI docs might evolve to reflect that (eg we’ve talked about making all the checks configurable so other registries can pick and choose). So if we change those docs to reflect that (eg already I think we should mention there that the license check can be turned off) then it might not make as much sense for General. I also think the list is less visible now and already few people read the readme. Maybe making it shorter by removing these will help with that though. But I can see why it’s annoying to have it in two places and to need to manually keep it in sync. |
Yeah, I find it inconvenient to have to maintain two separate sources of documentation. Also, the old system meant that it was easy to have incorrect documentation. For example, once I restored the "URL ends with |
Yeah, it certainly seems that not everyone reads the README before registering a package. That's why, if AutoMerge fails, the comment includes a link to the README. And in JuliaRegistries/RegistryCI.jl#406, I also added a link to the RegistryCI docs. So it looks like this: In theory, this makes it easy for people to get to both the General README and also the RegistryCI docs. |
One option would be to auto-generate the docs for General as well. E.g. use Documenter instead of having a long README. And in the Documenter docs, we'd auto-generate the list of automerge guidelines. So we'd autogenerate the docs for General, and we'd autogenerate the docs for RegistryCI. Those would be separate. So in the General docs, we'd just show all the checks. And in the RegistryCI docs, we could include additional information on which checks can be disabled in private registries. |
If we did want to go this route, we could maybe do something so that you don't need to repeat/sync-up settings between I think the other benefit of Preferences is that we wouldn't need to have a zillion keyword arguments to |
The AutoMerge guideline documentation is now automatically generated. Therefore, we don't need to repeat that information here.