Laurens Valk
bc6fce6406
api: add light initializers
2019-06-07 16:29:38 +02:00
Laurens Valk
bf16da463a
api: update common light classes
2019-06-07 13:50:32 +02:00
Laurens Valk
8bc96822b2
api: add lights instance
2019-06-06 11:03:11 +02:00
Laurens Valk
6fb78141c5
doc: make ports specific to technology type
2019-06-06 10:51:48 +02:00
Laurens Valk
8d4f6294d7
api: add LightArray
2019-06-05 16:03:05 +02:00
Laurens Valk
0013a74d72
drop class method identifier from docs
...
Same result as in 92e3735d63 , but now achieved by patching the Sphinx configuration instead of patching the API.
Now it doesn't break the API for the purpose of checking and autocomplete, etc.
2019-06-05 13:57:04 +02:00
Laurens Valk
28a5329bb6
api/doc: pybricks is a package
2019-06-05 12:47:24 +02:00
Laurens Valk
727507d66d
API: add light instance to ColorDistanceSensor
...
This is an experimental method for adding lights to some sensors.
And add workaround to make it show up correctly in the docs.
Also some doc8 formatting
2019-06-05 11:49:46 +02:00
Laurens Valk
8d37450fac
api: flake8
2019-06-04 15:45:36 +02:00
Laurens Valk
c54241f076
rename hub4 to cityhub
2019-06-03 15:26:50 +02:00
Laurens Valk
92e3735d63
drop class method identifier from docs
...
For example, this changes
classmethod sound.beeps(number)
Description
into
sound.beeps(number)
Description
2019-06-03 15:22:57 +02:00
Laurens Valk
f3c29971de
api: lights on hubs are instances of generic class
2019-06-03 15:18:26 +02:00
Laurens Valk
c43d296511
doc: move snippets to doc
...
Example snippets are platform specific.
2019-06-03 12:02:16 +02:00
Laurens Valk
3091489843
move API
2019-05-09 17:15:52 +02:00