<div dir="ltr"><div>I added docker to sugar-build and buildbot. The html is generated in the out/docs directory and whenever I can get the builds to fully work again it will be uploaded to the usual place. <br><br>We probably should replace the sidebar with a friendly index at some point, for now I think that's good enough.<br>
<br>A flag needs to be added in sugar-build/config/modules to each module that has docs, right now we only build them for sugar-docs.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 May 2013 18:25, Manuel Quiñones <span dir="ltr"><<a href="mailto: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">2013/5/15 Manuel Quiñones <<a href="mailto:manuq@laptop.org">manuq@laptop.org</a>>:<br>
<div><div class="h5">> 2013/5/15 Daniel Narvaez <<a href="mailto:dwnarvaez@gmail.com">dwnarvaez@gmail.com</a>>:<br>
>> By the way, tempted to use this for sugar-docs too. It's not code but even<br>
>> their site is using it for md files.<br>
>><br>
>> We could add a docs command to sugar-build and has_docs/docs_dir properties<br>
>> to the modules configuration. The run docker on each has_docs module and<br>
>> output in docs/docs_dir. Finally have buildbot upload docs/ as<br>
>> <a href="http://developer.sugarlabs.org" target="_blank">developer.sugarlabs.org</a>.<br>
><br>
> Excellent, let's go with docker then.  I agree using it for sugar-docs too.<br>
><br>
> --<br>
> .. manuq ..<br>
<br>
</div></div>Docker also supports jsdoc syntax, so we should be safe:<br>
<br>
<a href="https://github.com/jbt/docker/blob/master/src/docker.js#L153" target="_blank">https://github.com/jbt/docker/blob/master/src/docker.js#L153</a><br>
<br>
translates to:<br>
<br>
<a href="http://jbt.github.io/docker/src/docker.js.html#docker.prototype.checkforpygments" target="_blank">http://jbt.github.io/docker/src/docker.js.html#docker.prototype.checkforpygments</a><br>
<br>
--<br>
.. manuq ..<br>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel Narvaez<br>
</div>