From be9f99d41b66e368d0285c8c7ffbd9d6d2c93465 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Fri, 21 Apr 2023 13:59:16 +0200 Subject: [PATCH] pybricks.tools: Add category headings. --- doc/main/tools/index.rst | 8 +++++++- src/pybricks/tools.py | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/main/tools/index.rst b/doc/main/tools/index.rst index e667de6..4da5197 100644 --- a/doc/main/tools/index.rst +++ b/doc/main/tools/index.rst @@ -1,11 +1,14 @@ .. pybricks-requirements:: -:mod:`tools ` -- Timing tools +:mod:`tools ` -- General purpose tools ======================================================== .. automodule:: pybricks.tools :no-members: +Timing tools +--------------- + .. autofunction:: wait .. autoclass:: pybricks.tools.StopWatch @@ -19,6 +22,9 @@ .. automethod:: pybricks.tools.StopWatch.reset +Linear algebra tools +-------------------- + .. pybricks-requirements:: stm32-float .. autoclass:: pybricks.tools.Matrix diff --git a/src/pybricks/tools.py b/src/pybricks/tools.py index c8dfcd3..64f8bc7 100644 --- a/src/pybricks/tools.py +++ b/src/pybricks/tools.py @@ -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