It might just be matter of enabling docs generation for the python modules in sugar-build module.json. If I remember correctly docker.js is able to deal with python code...<br><br>On Tuesday, 3 December 2013, Gonzalo Odiard  wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ohh, is so nice...<div><br></div><div>What should we do to have something similar on python api?</div><div>
<br></div><div>Gonzalo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 4:31 PM, Manuel Quiñones <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'manuq@laptop.org');" target="_blank">manuq@laptop.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Right, is as Daniel said.<br>
<br>
You can look at the docs side-by-side with the code in <a href="http://developer.sugarlabs.org" target="_blank">developer.sugarlabs.org</a><br>
<br>
For example:<br>
<br>
<a href="http://developer.sugarlabs.org/sugar-web/graphics/radiobuttonsgroup.js.html" target="_blank">http://developer.sugarlabs.org/sugar-web/graphics/radiobuttonsgroup.js.html</a><br>
<br>
2013/11/27 Rogelio Mita <<a href="javascript:_e({}, 'cvml', 'rogeliomita@activitycentral.com');" target="_blank">rogeliomita@activitycentral.com</a>>:<br>
<div><div>> I will take note of this<br>
><br>
><br>
> 2013/11/26 Daniel Narvaez <<a href="javascript:_e({}, 'cvml', 'dwnarvaez@gmail.com');" target="_blank">dwnarvaez@gmail.com</a>><br>
>><br>
>> We didn't really write much API docs yet (bad us) but the idea is to use<br>
>> docker js.<br>
>><br>
>> <a href="http://jbt.github.io/docker/src/docker.js.html" target="_blank">http://jbt.github.io/docker/src/docker.js.html</a><br>
>><br>
>> In theory this should allow free form docs while keeping them inside the<br>
>> code, which is usually good to avoid them becoming stale.<br>
>><br>
>> On Tuesday, 26 November 2013, Rogelio Mita wrote:<br>
>>><br>
>>> Hi!<br>
>>><br>
>>> I was doing use of dictstore API on my POC web activity and I found in<br>
>>> the position to want do: "save data when closing activity", trying things<br>
>>> and reading source code I found this paragraph that helped me to do this<br>
>>> task:<br>
>>><br>
>>><br>
>>> <a href="https://github.com/sugarlabs/sugar-web/blob/master/activity/activity.js#L30" target="_blank">https://github.com/sugarlabs/sugar-web/blob/master/activity/activity.js#L30</a><br>
>>>><br>
>>>> // An activity that handles 'activityStop' can also call<br>
>>>> // event.preventDefault() to prevent the close, and explicitly<br>
>>>> // call activity.close() after storing.<br>
>>><br>
>>><br>
>>> This information is very useful, my propose is start this thread to<br>
>>> discuss the way to documenting Storage API.<br>
>>> The first proposal/task:<br>
>>><br>
>>> Make a section on <a href="http://developer.sugarlabs.org/" target="_blank">http://developer.sugarlabs.org/</a> called "Storing<br>
>>> information" or something like, and:<br>
>>><br>
>>> Migrate this comment to this doc page<br>
>>> Make a test or example that describe this situation: "Save when closing<br>
>>> we activity"<br>
>>><br>
>>> Fetch comments similar to that on source code and do same flow<br>
>>> Make a introduction of "dictstore API" and document it<br>
>>><br>
>>> Regards!<br>
>>><br>
>>><br>
>>> --<br>
>>> Roger<br>
>>><br>
>>> Activity Central<br>
>><br>
>><br>
>><br>
>> --<br>
>> Daniel Narvaez<br>
>><br>
><br>
><br>
><br>
> --<br>
> Roger<br>
><br>
> Activity Central<br>
<br>
<br>
<br>
</div></div><span><font color="#888888">--<br>
.. manuq ..<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="javascript:_e({}, 'cvml', 'Sugar-devel@lists.sugarlabs.org');" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></span></blockquote></div><br></div>
</blockquote><br><br>-- <br>Daniel Narvaez<br><br>