Skip to content

Commit a4bd132

Browse files
committed
Rearrange types in docs, touch up FaceSpec doc-comment and link from to target constructor for more details
1 parent 269b8a2 commit a4bd132

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

archeryutils/targets.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
]
2727

2828
# TypeAlias (annotate explicitly in py3.10+)
29-
#: A mapping of a target ring diameter to the score for hitting that ring.
30-
#: Typically ordered from smallest to largest rings but this is not necessary.
29+
#: A mapping of a target ring diameter to the score for that ring.
3130
FaceSpec = Mapping[float, int]
3231

3332
_rnd6 = partial(round, ndigits=6)

docs/api/archeryutils.types.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Types
55

66
.. autodata:: archeryutils.targets.FaceSpec
77

8-
8+
See :py:meth:`~archeryutils.Target.from_face_spec` for more details what targets can be modeled with this.

docs/api/index.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ API Documentation
44
=================
55

66
.. toctree::
7-
:maxdepth: 2
7+
:maxdepth: 3
88

9-
archeryutils.baseclasses
9+
archeryutils.types
1010

1111
.. toctree::
12-
:maxdepth: 3
12+
:maxdepth: 2
1313

14-
archeryutils.types
14+
archeryutils.baseclasses
1515

1616
.. toctree::
1717
:maxdepth: 3

0 commit comments

Comments
 (0)