Closed MetRonnie closed 4 months ago
Note, this PR will conflict with https://github.com/cylc/cylc-doc/pull/671 which also auto-documents xtriggers, but in the plugins section (the xtriggers section is more appropriate).
We could probably do with pulling any relevant text out of cylc-doc and into the xtrigger docstrings to keep it all together?
For maintainability, I think we should probably go along the same lines at the job runner handlers and put the autosummary
or autodoc
directive in the cylc-flow code, then autodocument the init file, WDYT:
https://github.com/cylc/cylc-flow/blob/master/cylc/flow/job_runner_handlers/__init__.py
Superseded by #686
The
debug
arg is not around anymore. By autofunction'ing, these will always be valid. The downside is pulling in the docstring is quite verbose...Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.