Improve documentation of SetupHooks, unexposing some internal constructors#11771
Conversation
|
I've added a new "how to use SetupHooks" guide entry now. |
Merge Queue Status
This pull request spent 1 hour 39 minutes 16 seconds in the queue, including 1 hour 28 minutes 46 seconds running CI. Waiting for any of
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. |
|
@sheaf: sadly, it seems there are conflicts with master now. |
Adds a how-to guide in the Cabal's user guide.
Changes to the SetupHooks module and Haddocks:
- Add an usage overview that explains what the various hooks may
be useful for.
- Add a worked example for 'dynamicRule' as it is the most complex
aspect of the API.
- Unexpose the gnarly 'RuleCommands' constructors, advising usage of
'staticRule' and 'dynamicRule' instead.
- Various small tweaks, including additional haddock comments for
'dynamicRule'.
Fixes #11461
That's strange, I rebased just now and there were no conflicts. |
|
@sheaf This looks like an internet error due to GitHub instability. I think you should restart CI or rebase. |
Merge Queue Status
This pull request spent 2 hours 32 minutes 40 seconds in the queue, including 1 hour 29 minutes 34 seconds running CI. Required conditions to merge
|
Changes:
dynamicRuleas it is the most complex aspect of the API.RuleCommandsconstructors, advising usage ofstaticRuleanddynamicRuleinstead.dynamicRule.Template Α: This PR modifies behaviour or interface