[Microbit-Python] Python Temperature and Light Sensor Commands for micro:bit
Tim Golden
mail at timgolden.me.uk
Wed Feb 8 08:16:02 EST 2017
On 08/02/2017 12:13, Carlos Pereira Atencio wrote:
> Yes, I understand that, but surely it doesn't try to apply that rule to
> all the documentation-only files willy nilly without some type of
> context indication within the files themselves, no?
Assuming I understand what you're asking: there's a py:module Sphinx
directive at the top of the microbit_micropython_api.rst file:
.. py:module:: microbit
cf, eg, the music.rst which has a py:module:: music directive (plus an
indication that you need to import music).
TJG
More information about the Microbit
mailing list