<div dir="ltr">Hey, now that type specs are fetched from doc/specs/ as I infer from [1], how come that folder is always empty?<div>How does one generate those xml specs?<br><div><br></div><div>[1] <a href="https://github.com/erlang/otp/commit/229d0d8ca88bc344bed89e46541b325c1d267996">https://github.com/erlang/otp/commit/229d0d8ca88bc344bed89e46541b325c1d267996</a> (thanks Loic)</div>
</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><div><br></div><div>Cheers,</div><div>-- </div><div>Pierre Fenoll</div></div><div><br></div></div></div>
<br><br><div class="gmail_quote">On 2 October 2013 16:13, Ola Bäckström <span dir="ltr"><<a href="mailto:Ola.Backstrom@loxysoft.se" target="_blank">Ola.Backstrom@loxysoft.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Seeing Anthony R’s post I just noticed that there’s nowadays also a search field in
<a href="http://www.erlang.org/erldoc" target="_blank">http://www.erlang.org/erldoc</a>. <br>
Never saw that before, anyway it contains types.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/Ola<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="SV" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="SV" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Pierre Fenoll [mailto:<a href="mailto:pierrefenoll@gmail.com" target="_blank">pierrefenoll@gmail.com</a>]
<br>
<b>Sent:</b> den 2 oktober 2013 16:52<br>
<b>To:</b> Ola Bäckström<br>
<b>Cc:</b> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<b>Subject:</b> Re: [erlang-questions] Fwd: <a href="http://erldocs.com" target="_blank">erldocs.com</a> updated!<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><span lang="SV"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal">Hey Ola,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">`diff -y otp_src_R1{4,6}B02/lib/stdlib/doc/src/gb_trees.xml | less` shows that type information (and argument names) were removed moving from R14B02 to R16B02.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Maybe someone can hint to where this information was moved? as I hope^Wbelieve it didn't just got trashed.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">erldocs only provides a different compiled documentation. The source files are still just those found under doc/src/*.xml and maintained by Ericsson/the community.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Sorry but you (well, we both) will have to s/R16/R14/ the URL for now…<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Cheers,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">-- <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Pierre Fenoll<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 2 October 2013 15:33, Ola Bäckström <<a href="mailto:Ola.Backstrom@loxysoft.se" target="_blank">Ola.Backstrom@loxysoft.se</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Excellent news,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks Pierre for your work to keep erldocs updated, it is one of my top-10 links!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">A question, is there a reason for the documentation of newer Erlang/OTP versions not to provide type
information? </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">For instance R14B02 do provide that, in yellow boxes. Compare</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <a href="http://erldocs.com/R14B02/stdlib/gb_trees.html?i=0&search=gb_trees:balance#balance/1" target="_blank">http://erldocs.com/R14B02/stdlib/gb_trees.html?i=0&search=gb_trees:balance#balance/1</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">with</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
<a href="http://erldocs.com/R16B02/stdlib/gb_trees.html?i=0&search=gb_trees:balance#balance/1" target="_blank">
http://erldocs.com/R16B02/stdlib/gb_trees.html?i=0&search=gb_trees:balance#balance/1</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The first link shows that the function argument should be of type gb_tree() but the latter not.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/Ola</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:erlang-questions-bounces@erlang.org" target="_blank">erlang-questions-bounces@erlang.org</a> [mailto:<a href="mailto:erlang-questions-bounces@erlang.org" target="_blank">erlang-questions-bounces@erlang.org</a>]
<b>On Behalf Of </b>Pierre Fenoll<br>
<b>Sent:</b> den 2 oktober 2013 16:03<br>
<b>To:</b> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a> Questions<br>
<b>Subject:</b> [erlang-questions] Fwd: <a href="http://erldocs.com" target="_blank">
erldocs.com</a> updated!</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://erldocs.com" target="_blank">http://erldocs.com</a> is a fast and accessible alternative to the official Erlang/OTP documentation.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Originally developed by Dale Harvey, it was no longer supported since the release of R15B.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I recently took over
<a href="http://erldocs.com" target="_blank">erldocs.com</a> and the erldocs GitHub project, fixed some issues and compiled documentation for all Erlang/OTP versions. The website is now hosted on GitHub gh-pages as it is only static files (thank you GitHub,
that's amazing!) and back on tracks!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Go check another Erlang doc at
<a href="http://erldocs.com/" target="_blank">http://erldocs.com/</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Go check the code at <a href="https://github.com/fenollp/erldocs" target="_blank">https://github.com/fenollp/erldocs</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Cheers,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">-- </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">Pierre Fenoll</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>