Skip to content

Commit

Permalink
pybricks.tools: Add category headings.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Apr 21, 2023
1 parent 870aae8 commit be9f99d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion doc/main/tools/index.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
.. pybricks-requirements::

:mod:`tools <pybricks.tools>` -- Timing tools
:mod:`tools <pybricks.tools>` -- General purpose tools
========================================================

.. automodule:: pybricks.tools
:no-members:

Timing tools
---------------

.. autofunction:: wait

.. autoclass:: pybricks.tools.StopWatch
Expand All @@ -19,6 +22,9 @@

.. automethod:: pybricks.tools.StopWatch.reset

Linear algebra tools
--------------------

.. pybricks-requirements:: stm32-float

.. autoclass:: pybricks.tools.Matrix
Expand Down
4 changes: 2 additions & 2 deletions src/pybricks/tools.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT
# Copyright (c) 2018-2022 The Pybricks Authors
# Copyright (c) 2018-2023 The Pybricks Authors

"""Common tools for timing, data logging, and geometry math tools."""
"""Common tools for timing, data logging, and linear algebra."""

from __future__ import annotations

Expand Down

0 comments on commit be9f99d

Please sign in to comment.