Commit Graph
100 Commits
Author SHA1 Message Date
Laurens Valk 9acbdb8367 conf: Build a json symbol index on build.
Ship it with the docs so we can parse it in Pybricks for namespace based lookup.
2026-06-01 16:38:34 +02:00
Laurens Valk 7409057b9c pybricks: Indexing fixes.
The noindex made them not show up. Also fix misc related indexing issues.
2026-06-01 16:26:24 +02:00
Laurens Valk 89e5bde8e7 pybricks.pupdevices.Motor: Namespace model and control.
Otherwise the duplicate the Motor class in the object index.
2026-06-01 15:32:57 +02:00
Laurens Valk 5ecad4a845 pybricks.parameters. Document with full namespace.
This types them in full for the object index.
2026-06-01 15:18:09 +02:00
Laurens Valk a402ae02e9 poetry: Update locks.
0.0.0 can't be pinned.
2026-05-30 11:47:05 +02:00
Laurens Valk cd58dde773 v4.0.0b10 2026-05-30 11:40:00 +02:00
Laurens Valk 2926b4af71 npm/jedi: Build pybricks-api from source.
Now that we use a single release pipeline, the API itself might not yet be on
PyPI by the time we build jedi, so we build it locally.

We'll still keep the API docs on PyPI so users can have local autocomplete,
but that path is no longer a dependency for building jedi.

Also explain CHANGELOG synchronization with firmware repo.
2026-05-30 11:39:00 +02:00
Laurens Valk 614453aa32 .github/workflows: Fix permissions and npm version tags. 2026-05-30 11:32:04 +02:00
Laurens Valk 0f6b8dee67 npm: Simplify release pipeline.
Releasing API updates is quite a long and error prone process, so the point
that it was limiting our ability to push frequent updates in practice. There
were 5 tag, commit, wait, and proceed steps and you'd have to start over or
force push if a mistake was made.

This keeps all the npm packages as they were, but versions everything from a
single source of truth, which is this project's main version. Everything
builds on a tag on the main repo, much like we did for a regular IDE docs RTD
release.

It also skips the PyPI for jedi as an intermediate step, which isn't really
needed and required us to have this strict order of publication steps.
2026-05-30 11:31:38 +02:00
Laurens Valk a9be86238d pybricks.messaging.BLERadio: Fix example paths. 2026-05-29 20:28:36 +02:00
Laurens Valk 16d5ba64d2 pybricks.ev3devices: Update return types. 2026-05-29 20:09:06 +02:00
Laurens Valk d8802ace7d pybricks.common: Update system info. 2026-05-29 20:08:53 +02:00
Laurens Valk acb5206349 pybricks.robotics: Update DriveBase. 2026-05-29 20:06:56 +02:00
Laurens Valk 6686fce3c3 pybricks.pupdevices: Document MarioHub, TechnicMoveHub and DuploTrain. 2026-05-29 16:59:51 +02:00
Laurens Valk 7d27fbb5d8 pybricks.iodevices: Document DCMotor. 2026-05-29 15:39:24 +02:00
Laurens Valk a0e98ba75f pybricks.iodevices: Document pinout. 2026-05-29 15:34:58 +02:00
Laurens Valk 1b69e42b6b pybricks.iodevices: Update UARTDevice docstrings. 2026-05-29 14:57:53 +02:00
Laurens Valk 47a3d664c2 pybricks.iodevices: Include all classes in index.
Some were omitted once EV3 in Pybricks 2.0 was dropped, but they will be included again to prepare for EV3 in Pybricks 4.0.

Enable for Powered UP where relevant, as with UARTDevice.
2026-05-29 14:22:15 +02:00
Laurens Valk e6cb436c47 pybricks.iodevices: Update I2CDevice docstrings. 2026-05-29 13:41:10 +02:00
Laurens Valk a8d74720b6 pybricks.iodevices: Update AnalogSensor docstrings. 2026-05-29 12:38:49 +02:00
Laurens Valk 54b4e39360 pybricks.iodevices: Update XboxController docstrings. 2026-05-29 12:32:43 +02:00
Laurens Valk 1f8f0f777a pybricks.iodevices: Update PUPDevice and LUMPDevice.
Also remove Ev3devSensor, which is no longer used.
2026-05-29 12:30:58 +02:00
Laurens Valk 45b9b89d11 pybricks.messaging: Add tests. 2026-05-29 11:48:15 +02:00
Laurens Valk e0f48b178b pybricks.messaging: Document AppData. 2026-05-29 11:41:45 +02:00
Laurens Valk 8ed5a489b9 pybricks.messaging.BLERadio: Include raised errors. 2026-05-29 11:24:41 +02:00
Laurens Valk a2ba8e4dcd pybricks.hubs: Move .ble to BLERadio.
Follows upstream firmware change.

Update tests and examples too.
2026-05-29 11:12:50 +02:00
Laurens Valk 0efcfd4a36 pybricks.iodevices.LWP3Device: Document new parameters. 2025-06-16 11:05:13 +02:00
Laurens Valk 356f6ffdba v3.6.1 2025-05-01 11:30:32 +02:00
Laurens Valk 4967b96ddd doc/main: Fix trailing whitespace.
For some reason this was not caught by CI.
2025-05-01 11:27:33 +02:00
Laurens Valk 116368e4c7 pybricks.hubs: List missing system.info method. 2025-05-01 11:25:56 +02:00
Laurens Valk 5b56249d8c doc/common/extensions: Drop unused imports. 2025-05-01 11:19:48 +02:00
Laurens Valk 04fb7e3e19 @pybricks/images/v1.4.0 2025-03-19 10:33:59 +01:00
Laurens Valk 5814a73bb1 v3.6.0 2025-03-11 13:08:17 +01:00
Laurens Valk ed3059b47b pybricks.common.IMU: Clarify notes on calibrated values. 2025-03-11 13:01:10 +01:00
Laurens Valk 2a98264144 @pybricks/jedi/v1.17.0 2025-02-26 12:54:14 +01:00
Laurens Valk 6083b17d9a pybricks_jedi/v1.17.0 2025-02-26 12:49:04 +01:00
Laurens Valk 1c598f35be @pybricks/ide-docs/v2.20.0 2025-02-26 12:33:03 +01:00
Laurens Valk 52c522df2d v3.6.0b5 2025-02-26 12:29:10 +01:00
Laurens Valk 2380be2814 extensions/blockimg: Embed svg.
This cuts the total build from 527 to 156 files,
which is considerably fewer requests when loading
this inside Pybricks Code.

See https://github.com/pybricks/support/issues/1559
2025-02-26 10:58:03 +01:00
Laurens Valk 89a34e9f51 conf: Don't export txt sources.
The sources are hosted on GitHub, so there is not additional information here. Also, the actual docstrings are included in the .py files.

See https://github.com/pybricks/support/issues/1559
2025-02-26 10:17:08 +01:00
Laurens Valk 9597f227f4 pybricks.common.IMU: Add settings blocks. 2025-02-25 13:47:07 +01:00
Laurens Valk 1e09cb2232 builtins: Document missing eval and exec on Move Hub.
Fixes https://github.com/pybricks/support/issues/1931
2025-02-25 11:32:01 +01:00
Laurens Valk 6739b517a5 examples: Fix duty cycle comment.
Fixes https://github.com/pybricks/support/issues/2029
2025-02-25 11:26:16 +01:00
Laurens Valk c5cfcd0ac8 tests: Update for IMU changes. 2025-02-25 11:16:27 +01:00
Laurens Valk 827eda031b pybricks.common.System: Document new system info. 2025-02-25 11:16:27 +01:00
Laurens Valk c77b440270 pybricks.parameters: Allow iterating colors.
https://github.com/pybricks/support/issues/1661
2025-02-25 11:16:27 +01:00
Laurens Valk 789e70a42b pybricks.common.BLE: Broadcast fixes.
Fix missing awaitable. Fix default broadcast channel following firmware update.
2025-02-25 11:16:27 +01:00
Laurens Valk 53d6d14de6 pybricks.common.IMU: Document calibration kwarg option. 2025-02-25 11:16:27 +01:00
Laurens Valk ce9d7420fb pybricks.common.IMU: Document new settings.
Also dcument hub.system.reset_storage.
2025-02-25 11:16:27 +01:00
Laurens Valk 044903b193 pybricks.common.Motor: Clarify drive base reset side effect.
Fixes https://github.com/pybricks/support/issues/1449
2025-02-25 11:16:27 +01:00
Laurens Valk 25bfd0e80e pybricks.robotics.DriveBase: Document curve and reset updates. 2025-02-25 11:16:27 +01:00
Laurens Valk f35bbe44f5 @pybricks/ide-docs/v2.19.0 2024-04-11 14:36:16 +02:00
Laurens Valk 08fa5b1c17 v3.5.0 2024-04-11 14:34:22 +02:00
Laurens Valk 6982cf4fd2 @pybricks/jedi/v1.16.0 2024-04-05 11:47:00 +02:00
Laurens Valk 8ffdde38e6 pybricks_jedi/v1.16.0 2024-04-05 11:45:50 +02:00
Laurens Valk 353310c1ba @pybricks/ide-docs/v2.18.0 2024-04-05 11:43:43 +02:00
Laurens Valk 4ca1ddf909 v3.5.0b2 2024-04-05 11:11:21 +02:00
Laurens Valk b0ff867dcc .github: Merge release and PyPI steps.
"on: release" only triggers for manual releases, not releases created by another workflow.

Fixes https://github.com/pybricks/support/issues/1558
2024-04-05 11:11:08 +02:00
Laurens Valk c05d5c42cd .github: Add release workflow.
This was the only step that wasn't automated, which made it a bit harder to remember what to do.

Fixes https://github.com/pybricks/support/issues/1558
2024-04-05 10:46:39 +02:00
Laurens Valk 190c0a4a75 blocks: Add in and double ternary blocks. 2024-04-04 21:45:26 +02:00
Laurens Valk 52b3b4c007 pybricks.tools.read_input_byte: Add last and chr options. 2024-04-04 21:45:26 +02:00
Laurens Valk 0145fd41ae pybricks.hubs: Add blocks for ready, stationary, up. 2024-04-04 21:45:09 +02:00
Laurens Valk d228b7de99 pybricks.pupdevices.Remote: Add disconnect. 2024-04-04 20:42:17 +02:00
Laurens Valk 615d21cd54 pyproject: Fix version v prefix. 2024-03-21 19:37:51 +01:00
Laurens Valk d028e805e7 @pybricks/jedi/v1.15.0 2024-03-21 19:23:54 +01:00
Laurens Valk d2fee3557d pybricks_jedi/v1.15.0 2024-03-21 19:21:52 +01:00
Laurens Valk c02ab79abe @pybricks/ide-docs/v2.17.0 2024-03-21 19:19:21 +01:00
Laurens Valk 3783fac4e3 v3.5.0b1 2024-03-21 19:16:39 +01:00
Laurens Valk dcf8405f31 doc/main: Add program exit and comment blocks. 2024-03-21 17:07:06 +01:00
Laurens Valk 2d0cf6c28c pybricks.iodevices.XboxController: Add rumble. 2024-03-21 17:06:41 +01:00
Laurens Valk d4e7657d31 pybricks.hubs: Add shutdown and stop button blocks. 2024-03-21 17:06:04 +01:00
Laurens Valk 15664146bd v3.4.1 2024-03-11 16:27:41 +01:00
Laurens Valk 32a63a4c09 .readthedocs: Fix change in handling of venv. 2024-03-11 16:23:47 +01:00
Laurens Valk c7e582ea22 @pybricks/ide-docs/v2.16.0 2024-03-11 15:48:39 +01:00
Laurens Valk fbea972807 v3.4.0 2024-03-11 15:40:47 +01:00
Laurens Valk ea4f594696 builtins: Update list blocks. 2024-03-11 13:43:45 +01:00
Laurens Valk 1194f6c29f npm/jedi: v1.14.0 2024-03-05 17:08:42 +01:00
Laurens Valk 01070eea34 jedi: v1.14.0 2024-03-05 17:06:16 +01:00
Laurens Valk 6dd0d6dea0 @pybricks/ide-docs v2.15.0 2024-03-05 17:00:38 +01:00
Laurens Valk 0bc8675ca7 v3.4.0b5 2024-03-05 16:52:16 +01:00
Laurens Valk 7acdfc035e pybricks.tools: Document run loop active check. 2024-03-05 15:00:03 +01:00
Laurens Valk 2e538b66c3 pybricks.hubs: Change button to buttons.
Fixes https://github.com/pybricks/support/issues/1254
2024-03-05 14:52:54 +01:00
Laurens Valk b2b183ef8f pybricks.common.BLE: Document multitasked broadcast. 2024-03-05 14:42:35 +01:00
Laurens Valk 72f25cb88e pybricks.robotics: Car class updates.
Match minor firmware changes.
2024-03-05 14:29:58 +01:00
Laurens Valk 079b108680 pybricks.parameters: Add Xbox buttons. 2024-03-05 14:10:29 +01:00
Laurens Valk e3b2e6edca v3.4.0b4 2024-02-14 19:35:32 +01:00
Laurens Valk 194949c668 pybricks.iodevices.XboxController: Document pairing. 2024-02-14 19:34:12 +01:00
Laurens Valk d3ca8ee719 pybricks.iodevices: Add XboxController. 2024-02-11 14:26:03 +01:00
Laurens Valk fae24a6ef0 setup.cfg: Allow def oneliners.
The autoformatter puts ... on the same line, so allow it for flake8 too.
2024-02-11 13:35:02 +01:00
Laurens Valk dd192de18b npm/jedi: v1.13.0 2024-01-30 16:51:02 +01:00
Laurens Valk d1b7d0f61b jedi: v1.13.0 2024-01-30 16:48:20 +01:00
Laurens Valk 8fa99928dd @pybricks/ide-docs v2.14.0 2024-01-30 16:37:03 +01:00
Laurens Valk 00318fd815 v3.4.0b3 2024-01-30 16:35:21 +01:00
Laurens Valk b4adb50adf pybricks.robotics: Add Car class. 2024-01-25 20:38:02 +01:00
Laurens Valk 1d2c0c273c pybricks.robotics.DriveBase: Update icons to two wheels.
The steering wheel fits better with the new car blocks.
2024-01-25 19:49:36 +01:00
Laurens Valk 04b7c745e2 v3.4.0b2 2023-11-28 15:19:53 +01:00
Laurens Valk 1d7efe6bdc @pybricks/ide-docs v2.13.0 2023-11-28 15:12:08 +01:00
Laurens Valk 2b1f161005 v3.4.0b1 2023-11-28 15:12:05 +01:00
Laurens Valk 7b2242e420 blocks: Clarify license.
There was a license file in the folder, but this should way it gets included in the distribution.
2023-11-28 15:11:20 +01:00
Laurens Valk 45b6fd5de1 blocks: Document battery.
Also add City Hub BLE setup, which was missing.
2023-11-28 15:06:45 +01:00