Skip to content

Commit

Permalink
[autofix] Format Markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 3, 2024
1 parent ee4c3c1 commit 39fbf0c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
18 changes: 9 additions & 9 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ You can inspect the implementation details by looking at:
Now if you want to benefit from all the [wonderful features of Click Extra](index.md#features), you have to use the `extra`-prefixed variants:

| [Original](https://click.palletsprojects.com/en/stable/api/) | Extra variant |
| ----------------------------------------------------------- | ----------------------------------- |
| `@click.command` | `@click_extra.extra_command` |
| `@click.group` | `@click_extra.extra_group` |
| `click.Command` | `click_extra.ExtraCommand` |
| `click.Group` | `click_extra.ExtraGroup` |
| `click.Context` | `click_extra.ExtraContext` |
| `click.Option` | `click_extra.ExtraOption` |
| `@click.version_option` | `@click_extra.extra_version_option` |
| `click.testing.CliRunner` | `click_extra.ExtraCliRunner` |
| ------------------------------------------------------------ | ----------------------------------- |
| `@click.command` | `@click_extra.extra_command` |
| `@click.group` | `@click_extra.extra_group` |
| `click.Command` | `click_extra.ExtraCommand` |
| `click.Group` | `click_extra.ExtraGroup` |
| `click.Context` | `click_extra.ExtraContext` |
| `click.Option` | `click_extra.ExtraOption` |
| `@click.version_option` | `@click_extra.extra_version_option` |
| `click.testing.CliRunner` | `click_extra.ExtraCliRunner` |

You can see how to use some of these `extra` variants in the [tutorial](tutorial.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ top_level_param = "is_ignored"

[my-cli]
extra_value = "is ignored too"
dummy_flag = true # New boolean default.
dummy_flag = true # New boolean default.
my_list = ["item 1", "item #2", "Very Last Item!"]

[garbage]
Expand Down
2 changes: 1 addition & 1 deletion docs/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Now if we feed the following `~/configuration.toml` configuration file:
[my-cli]
verbosity = "DEBUG"
dummy_flag = true
my_list = [ "item 1", "item #2", "Very Last Item!",]
my_list = ["item 1", "item #2", "Very Last Item!"]

[my-cli.subcommand]
int_param = 3
Expand Down
2 changes: 0 additions & 2 deletions docs/pygments.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ The code above prints the following HTML:
</pre>
</div>

```

And here is how to obtain the corresponding CSS style:
Expand Down Expand Up @@ -364,7 +363,6 @@ Licensed under the BSD license, see LICENSE for details.
</div>
</body>
</html>

```

## `click_extra.pygments` API
Expand Down

0 comments on commit 39fbf0c

Please sign in to comment.