Laurens Valk
94dfbbf7c1
ubuiltins: Document pow.
2022-11-28 14:54:11 +01:00
Laurens Valk
88b2502eb3
ubuiltins: Fix pow.
...
MICROPY_PY_BUILTINS_POW3 is not enabled.
And floats are accepted.
2022-11-28 14:50:59 +01:00
Laurens Valk
cd2e53f70b
ubuiltins: Document max, min.
2022-11-28 14:41:29 +01:00
Laurens Valk
e009ff2cbc
ubuiltins: Document divmod.
2022-11-28 14:36:02 +01:00
Laurens Valk
4816b58914
ubuiltins: Document zip.
2022-11-28 14:23:55 +01:00
Laurens Valk
875a433182
ubuiltins: Document sorted.
2022-11-28 14:16:51 +01:00
Laurens Valk
dc8d029e96
ubuiltins: Document reversed.
2022-11-28 14:05:48 +01:00
Laurens Valk
af80c4770e
ubuiltins: Document range.
2022-11-28 14:01:40 +01:00
Laurens Valk
ddcdc6f745
ubuiltins: Document next.
2022-11-28 13:50:36 +01:00
Laurens Valk
81ac996deb
ubuiltins: Fix next.
...
MICROPY_PY_BUILTINS_NEXT2 is not enabled.
2022-11-28 13:45:48 +01:00
Laurens Valk
84d1d7bf3b
ubuiltins: Document iter, enumerate, map.
2022-11-28 12:36:32 +01:00
Laurens Valk
9578fc1035
ubuiltins: Document str.
2022-11-28 11:37:24 +01:00
Laurens Valk
25f427d8bf
ubuiltins: Slice instances are not supported.
2022-11-28 11:24:51 +01:00
Laurens Valk
725b6d672c
ubuiltins: Document list, tuple.
2022-11-28 11:17:18 +01:00
Laurens Valk
4bc53b17f4
ubuiltins: Document len().
2022-11-28 11:11:15 +01:00
Laurens Valk
666f2a6b52
.vscode/settings: Set interpreter path.
...
This way vscode will pick up all the right tools and not complain about
linters not being installed.
2022-11-28 11:07:50 +01:00
Laurens Valk
cbf6eb9578
ubuiltins: Document bytes, bytearray, type.
2022-11-28 10:53:53 +01:00
Laurens Valk
7dd3edaee4
jedi/tests: Make PrimeHub the same as InventorHub.
2022-11-22 14:26:25 +01:00
Laurens Valk
ef57dbf4a1
pybricks.common.LightMatrix: Rename image() to icon().
...
Fixes https://github.com/pybricks/support/issues/409
2022-11-22 14:26:15 +01:00
David Lechner
3a60d40bac
@pybricks/ide-docs v2.4.0
@pybricks/ide-docs/v2.4.0
2022-11-11 11:39:47 -06:00
David Lechner
cb0dee3e99
npm/jedi: v1.3.0
...
Update `pybricks_jedi` Python package to v1.3.0.
@pybricks/jedi/v1.3.0
2022-11-11 11:36:31 -06:00
David Lechner
19673da32e
jedi/pyproject: v1.3.0
pybricks_jedi/v1.3.0
2022-11-11 11:31:02 -06:00
David Lechner
b8b5652cb6
jedi: update pybricks package to v3.2.0b5
2022-11-11 11:30:01 -06:00
David Lechner
7b4953bc5f
pyproject: v3.2.0b5
...
Update version for `pybricks` Python package release.
v3.2.0b5
2022-11-11 11:24:57 -06:00
David Lechner
62f6fc85a5
jedi: fix code completion for Color and Icon
...
The pybricks.parameters.Color and Icon types were not working with Jedi
for code completion since the constants were never assigned a value.
2022-11-10 12:23:24 -06:00
Laurens Valk
d2b1b2183b
pybricks.parameters.Icon: Document it.
...
Fixes https://github.com/pybricks/pybricks-api/issues/107
2022-11-10 16:38:44 +01:00
David Lechner
a236609ebf
npm/icons: v1.2.1
@pybricks/images/v1.2.1
2022-11-08 15:06:55 -06:00
Laurens Valk
6c893c136e
doc/main/diagrams: Fix City Hub position.
...
It was accidentally moved to a non-integer position. This causes the PNG to re-render. This increases the file size and makes it looks less crisp.
2022-11-08 19:55:48 +01:00
Laurens Valk
f4212f232e
doc/main/diagrams: Adjust Move Hub icon scale.
...
Fixes https://github.com/pybricks/support/issues/773
2022-11-08 19:52:51 +01:00
David Lechner
3a805b0ca9
npm/images: v1.2.0
@pybricks/images/v1.2.0
2022-11-03 13:03:19 -05:00
Laurens Valk
c52627cc8f
doc/main/diagrams: Add hub icon variants.
...
This re-exports all hub images in a square format for use as icons while getting correct relative scaling.
2022-11-03 17:07:41 +01:00
David Lechner
b84fed1de9
npm/images: add hub-inventor.png file to package
@pybricks/images/v1.1.0
2022-10-28 12:38:07 -05:00
David Lechner
d49bc548c7
npm/images: new @pybricks/images package v1.0.0
@pybricks/images/v1.0.0
2022-10-28 12:21:27 -05:00
Barry-Williams
492d6cd2d4
pybricks.robotics.DriveBase: Add basic example.
2022-10-28 08:23:14 +02:00
Laurens Valk
be3558167e
doc/common/extensions: Fix compatibility labels.
...
Fixes https://github.com/pybricks/support/issues/754
2022-10-27 15:41:42 +02:00
David Lechner
4573fd2760
LICENSE: update copyright year
2022-10-21 13:14:13 -05:00
David Lechner
2a23c2e81d
npm/jedi: v1.1.0
...
- Update pybricks_jedi Python package dependency.
- Bump JavaScript package version for release.
@pybricks/jedi/v1.1.0
2022-10-21 13:08:14 -05:00
David Lechner
fe126de264
npm/pybricks-docs: v2.3.0
...
New JavaScript package release for v3.2.0b4 docs.
@pybricks/ide-docs/v2.3.0
2022-10-21 12:59:25 -05:00
David Lechner
b290f7dc6b
github: update jedi action dependencies
...
Update to current Ubuntu LTS and actions.
This fixes deprecation warnings about node v12 and fixes wrong python
version used by poetry.
pybricks_jedi/v1.2.0
2022-10-21 12:55:28 -05:00
David Lechner
9127afdcbc
jedi: pybricks_jedi v1.2.0
...
Bump pybricks_jedi package version for release.
2022-10-21 12:51:43 -05:00
David Lechner
7ee1f66556
jedi: update pybricks package
...
This updates the pybricks package dependency to v3.2.0b4.
2022-10-21 12:51:00 -05:00
David Lechner
f5422e9c90
v3.2.0b4
v3.2.0b4
2022-10-21 12:39:27 -05:00
David Lechner
40fc2588f9
pybricks._common.System: add storage method
...
This adds stubs, docs and code completion tests for the System.storage()
method.
This was added to Pybricks MicroPython in:
https://github.com/pybricks/pybricks-micropython/commit/246ebea25d25d5a3e4a4e62ebd031491a409c923
2022-10-21 12:35:34 -05:00
David Lechner
96be47f21b
doc/main/pupdevices/motor: Fix center example.
...
This fixes the include for the centering example to link it to the correct source file.
Fixes: https://github.com/pybricks/support/issues/734#issuecomment-1272329217
2022-10-10 09:20:00 +02:00
Laurens Valk
e1be50181a
doc/main: Revisit and automate all renders and diagrams.
...
Previously, all renders were created and added manually when a newly
supported device was added to the documentation.
This commit revisits all diagrams by creating them using a single
LDRAW multi-file part model and LPUB3D building instructions file.
This makes perspective and resolution consistent across all images, and
we could update them all at once if needed.
It also removes the background from all images so they can be used
with different documentation themes.
2022-10-10 09:19:49 +02:00
Laurens Valk
52117157d8
.gitignore: Ignore LDRAW tool data.
2022-10-02 19:31:06 +02:00
Laurens Valk
7778ce96a5
setup: Ignore jedi for doc8.
2022-10-02 19:29:57 +02:00
Laurens Valk
637677dae2
jedi/poetry: Install in project.
...
Nested virtual environments are complicated enough, so this way we can at least get back to a clean state if we need to.
2022-09-30 16:04:33 +02:00
Laurens Valk
abc00df943
pybricks.pupdevices: Avoid class-specific LightArray.
...
Let's minimize complicated hacks if we can help it.
2022-09-30 16:04:33 +02:00
David Lechner
bfa0b69e93
npm/jedi: fix exports and copy extra files
...
The export keys were wrong and the README and CHANGELOG files were
missing the the final package.
@pybricks/jedi/v1.0.1
2022-09-07 20:19:23 -05:00