David Lechner
237addb39c
fake-pybricks/setup.py: update python_requires to PEP 440
...
Use the PEP 440 depenency format. The `>` character was breaking the package manager on jfrog.
Picked 3.4 since that is what micropython is based on.
2019-01-15 21:29:36 -06:00
David Lechner
e0b08cfad9
use versioneer for setting python package version
...
https://github.com/warner/python-versioneer
😋 🍪
2019-01-15 20:58:43 -06:00
David Lechner
53e386e3cf
fake-pybricks: rename python package to fake-pybricks
...
temporary workaround for issue #92
2019-01-15 16:40:56 -06:00
Laurens Valk
9164414b78
doc: wait is last argument
2019-01-06 16:40:18 +01:00
Laurens Valk
15791fbe8d
doc: brick, sound, display, and experiment with samples
2019-01-04 15:05:17 +01:00
Laurens Valk
50525a26bb
doc: rough draft EV3 brick
2019-01-03 19:44:10 +01:00
Laurens Valk
803ec9421e
doc: tools
...
need to test StopWatch after this modification
2019-01-03 19:06:04 +01:00
Laurens Valk
98cf320246
doc: simplify gear ratio
2019-01-03 14:10:24 +01:00
Laurens Valk
c9c8736d15
doc: motor draft
2019-01-03 13:54:47 +01:00
Laurens Valk
bac9dbe86a
doc: some organization and toc
2018-12-31 12:54:04 +01:00
Laurens Valk
d5d7b9a9c7
doc: motor settings and most ev3 sensors
...
Note: the motor code will be updated accordingly once updated API is considered final.
2018-12-31 12:15:09 +01:00
Laurens Valk
0cdf3fdebc
doc: experiment with signal types
2018-12-29 13:02:59 +01:00
Laurens Valk
a07aaadd23
doc: hide enum numbers, document members instead
...
We should not encourage users to use the numerical values (i.e. 2 for Stop.hold or 65 for Port.A)
This also keeps the door open for using qstrings for some enums (Color, Button).
2018-12-28 18:00:02 +01:00
Laurens Valk
89fc64d911
doc: autodoc for init
...
test syntax for autolinking to types
test syntax to avoid evaluating enum arguments to numbers
2018-12-28 16:40:01 +01:00
Laurens Valk
170f5844d4
doc: experiment with tables and ascii art
...
Sphinx and read the docs seem to require RST. This works well for this sample code.
Unfortunately, vscode code preview seems to require markdown (For the tables. Other RST seems to work.)
2018-12-21 21:31:40 +01:00
Laurens Valk
edb507e5c5
fake-api: parameters module (experimental)
...
Fix EV3 colors after recent pbio update
And make sphinx compile (but not much more)
2018-12-21 17:44:43 +01:00
Laurens Valk
1c59f72407
fake-api: init
2018-12-21 12:45:00 +01:00
David Lechner
76fda14db9
doc: experimenting with autodoc generation
...
Observations:
* Type annotations tend to be verbose, for example:
blink(color1: typing.Union[pblight.Color, pblight.RGB, NoneType], color2: typing.Union[pblight.Color, pblight.RGB, NoneType], pattern: pblight.Pattern) → None
* There seems to be a bug with .. autodata::
2018-09-07 20:53:03 -05:00