[Microbit-Python] Python Temperature and Light Sensor Commands for micro:bit

Tim Golden mail at timgolden.me.uk
Wed Feb 8 06:54:13 EST 2017


*Something* has to go from ReST to HTML. If it's on readthedocs, then 
it's built via Sphinx which uses the settings I mentioned.

TJG

On 08/02/2017 11:32, Carlos Pereira Atencio wrote:
> I though all the documentation was made out of restructured text with no
> other autogeneration? I could be wrong, but if that's the case, would
> that setting work?
>
> Regards,
> Carlos
>
>
> On Wed, 8 Feb 2017, 11:25 Tim Golden, <mail at timgolden.me.uk
> <mailto:mail at timgolden.me.uk>> wrote:
>
>     On 08/02/2017 11:06, Nevil Hunt wrote:
>     > I notice all commands in ReadTheDocs have the format
>     > microbit.temperature
>     >
>     > rather than
>     >
>     > temperature()
>
>     Fairly sure that's a Sphinx artefact because the add_module_names
>     setting is at its default True value in conf.py:
>
>     https://github.com/bbcmicrobit/micropython/blob/master/docs/conf.py#L93
>
>     Whether that's intended or not, I don't know; but it should be easy to
>     change
>
>     TJG
>     _______________________________________________
>     Microbit mailing list
>     Microbit at python.org <mailto:Microbit at python.org>
>     https://mail.python.org/mailman/listinfo/microbit
>
>
>
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
>



More information about the Microbit mailing list