Skip to content

Commit 59dabe8

Browse files
authored
Merge pull request #1860 from sirosen/dependency-groups-add-docs-example
Add 'docs' to dependency groups example
2 parents 0454c8e + c56c952 commit 59dabe8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/specifications/dependency-groups.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ Specification
2222
Examples
2323
--------
2424

25-
This is a simple table which shows a ``test`` group::
25+
This is a simple table which shows ``docs`` and ``test`` groups::
2626

2727
[dependency-groups]
28+
docs = ["sphinx"]
2829
test = ["pytest>7", "coverage"]
2930

30-
and a similar table which defines ``test`` and ``coverage`` groups::
31+
and a similar table which defines ``docs``, ``test``, and ``coverage`` groups::
3132

3233
[dependency-groups]
34+
docs = ["sphinx"]
3335
coverage = ["coverage[toml]"]
3436
test = ["pytest>7", {include-group = "coverage"}]
3537

0 commit comments

Comments
 (0)