You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Create proof of concept mkdocs for docs/ dir (#864)
* Use mkdocstrings for library API reference
* Update a selection of docstrings to improve formatting in the
generated docs.
* Clean up some of the docstrings, type hints, etc.
* Use mkdocs-click for CLI reference
* Did a pass through all the command docstrings and the result in the
CLI reference to clean things up. Added minimal markdown
* By default, mkdocs-click generates a big page with all the
sub-commands included. For commands like `deadline job get` and
`deadline queue get`, the anchor links get named like `#get` and
`#get_1`, so won't be stable. It's also a lot to scroll through. I
worked out a way to put each subcommand on its own page.
* Clean up the click main() function exposure.
* Rename the primary handler from main() to deadline() internally,
so that click uses the name 'deadline' without having to
override prog_name.
* Remove the file _deadline_cli.py as it is not necessary to avoid
circular imports.
* Update the MCP tests to run based on the Python version, not whether
the mcp library successfully imported.
* While reviewing the commands, updated 'deadline job wait' to print
more information while polling. Example:
Current status: SUCCEEDED (52/52 tasks succeeded, 0 workers running). [65.2s elapsed]
Signed-off-by: Mark <[email protected]>
0 commit comments