Skip to content

Commit

Permalink
fix typo (#3045)
Browse files Browse the repository at this point in the history
Signed-off-by: Nok <[email protected]>
Co-authored-by: Jo Stichbury <[email protected]>
  • Loading branch information
noklam and stichbury authored Sep 19, 2023
1 parent 71e12b1 commit 7092758
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/extend_kedro/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ From version 0.18.14, Kedro replaced `setup.py` with `pyproject.toml`. The plugi
To add the entry point to `pyproject.toml`, the plugin needs to provide the following `entry_points` configuration:
```toml
[project.entry-points."kedro.project_commands"]
kedrojson = kedrojson.plugin.commands
kedrojson = "kedrojson.plugin:commands"
```

Once the plugin is installed, you can run it as follows:
Expand Down Expand Up @@ -76,7 +76,7 @@ In your `pyproject.toml`, you need to register the specifications to `kedro.star

```toml
[project.entry-points."kedro.starters"]
starter = plugin.starters
starter = "plugin:starters"
```

After that you can use this starter with `kedro new --starter=test_plugin_starter`.
Expand Down Expand Up @@ -132,7 +132,7 @@ To enable this for your custom plugin, simply add the following entry in `pyproj
To use `pyproject.toml`, specify
```toml
[project.entry-points."kedro.hooks"]
plugin_name = plugin_name.plugin.hooks
plugin_name = "plugin_name.plugin:hooks"
```

where `plugin.py` is the module where you declare hook implementations:
Expand Down Expand Up @@ -163,7 +163,7 @@ You can also develop Hook implementations to extend Kedro's CLI behaviour in you

```toml
[project.entry-points."kedro.cli_hooks"]
plugin_name = plugin_name.plugin.cli_hooks
plugin_name = "plugin_name.plugin:cli_hooks"
```

(where `plugin.py` is the module where you declare Hook implementations):
Expand Down

0 comments on commit 7092758

Please sign in to comment.