Skip to content

Commit

Permalink
📝 docs(website): clarify adding plugin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Feb 15, 2024
1 parent 0c9b5c9 commit d3d0663
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions website/docs/developer-guide/plugin-standard.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,13 @@ dōteki uses [Poetry](https://python-poetry.org/) to manage dependencies. The `p

If your plugin adds a dependency, you need to:

1. Add it to the `pyproject.toml` file. You can run `poetry add {dependency_name}` to do this.
2. Mark it as optional. Example:
1. Add it to the `pyproject.toml` file by using `poetry`:

```bash
poetry add <dependency_name>
```

2. Edit `pyproject.toml` to mark it as optional. For example, if you just added `pandas`:

```toml
[tool.poetry.dependencies]
Expand Down

0 comments on commit d3d0663

Please sign in to comment.