Skip to content

Commit

Permalink
Fix formatting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrow committed Aug 17, 2021
1 parent b24f95e commit 462d4aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions draft/cli-refactor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ In addition the API changed. Previously the following code was required:
),
app.user_options['worker'].add(add_worker_arguments)
With this refactor you either need to set the relevant `user_options` key with a list of
`click.Option`s or `click.Argument`s or provide a callback which will return those.
With this refactor you either need to set the relevant ``user_options`` key with a list of
``click.Option``s or ``click.Argument``'s or provide a callback which will return those.

.. code-block:: python
Expand All @@ -163,7 +163,7 @@ Preload Options

Preload options are User Options and are subject to the same breaking change.

In addition the signal's sender is now changed to the `click.Context` of the invoked command.
In addition the signal's sender is now changed to the ``click.Context`` of the invoked command.

Reference Implementation
========================
Expand Down
2 changes: 2 additions & 0 deletions draft/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
execution-platform.rst
configuration.rst
observability.rst
celery-kubernetes-operator.rst
cli-refactor.rst

0 comments on commit 462d4aa

Please sign in to comment.