[erlang-questions] Fwd: erldocs.com updated!

Björn-Egil Dahlberg wallentin.dahlberg@REDACTED
Wed Oct 2 22:36:40 CEST 2013


I believe this is used:

lib/erl_docgen/priv/bin/specs_gen.escript

see script for details.

// Björn-Egil



2013/10/2 Pierre Fenoll <pierrefenoll@REDACTED>

> Hey, now that type specs are fetched from doc/specs/ as I infer from [1],
> how come that folder is always empty?
> How does one generate those xml specs?
>
> [1]
> https://github.com/erlang/otp/commit/229d0d8ca88bc344bed89e46541b325c1d267996(thanks Loic)
>
>
> Cheers,
> --
> Pierre Fenoll
>
>
>
> On 2 October 2013 16:13, Ola Bäckström <Ola.Backstrom@REDACTED> wrote:
>
>>  Seeing Anthony R’s post I just noticed that there’s nowadays also a
>> search field in http://www.erlang.org/erldoc.
>> Never saw that before, anyway it contains types.****
>>
>> /Ola****
>>
>> ** **
>>
>> *From:* Pierre Fenoll [mailto:pierrefenoll@REDACTED]
>> *Sent:* den 2 oktober 2013 16:52
>> *To:* Ola Bäckström
>> *Cc:* erlang-questions@REDACTED
>> *Subject:* Re: [erlang-questions] Fwd: erldocs.com updated!****
>>
>> ** **
>>
>> Hey Ola,****
>>
>> ** **
>>
>> `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.****
>>
>> ** **
>>
>> Maybe someone can hint to where this information was moved? as I
>> hope^Wbelieve it didn't just got trashed.****
>>
>> ** **
>>
>> 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.****
>>
>> Sorry but you (well, we both) will have to s/R16/R14/ the URL for now…***
>> *
>>
>>
>> ****
>>
>> ** **
>>
>> Cheers,****
>>
>> -- ****
>>
>> Pierre Fenoll****
>>
>> ** **
>>
>> ** **
>>
>> On 2 October 2013 15:33, Ola Bäckström <Ola.Backstrom@REDACTED> wrote:
>> ****
>>
>> Excellent news,****
>>
>>  ****
>>
>> Thanks Pierre for your work to keep erldocs updated, it is one of my
>> top-10 links!****
>>
>>  ****
>>
>> A question, is there a reason for the documentation of newer Erlang/OTP
>> versions not to provide type information? ****
>>
>> For instance R14B02 do provide that, in yellow boxes. Compare****
>>
>>
>> http://erldocs.com/R14B02/stdlib/gb_trees.html?i=0&search=gb_trees:balance#balance/1
>> ****
>>
>> with****
>>
>>
>> http://erldocs.com/R16B02/stdlib/gb_trees.html?i=0&search=gb_trees:balance#balance/1
>> ****
>>
>>  ****
>>
>> The first link shows that the function argument should be of type
>> gb_tree() but the latter not.****
>>
>>  ****
>>
>> /Ola****
>>
>>  ****
>>
>> *From:* erlang-questions-bounces@REDACTED [mailto:
>> erlang-questions-bounces@REDACTED] *On Behalf Of *Pierre Fenoll
>> *Sent:* den 2 oktober 2013 16:03
>> *To:* erlang-questions@REDACTED Questions
>> *Subject:* [erlang-questions] Fwd: erldocs.com updated!****
>>
>>  ****
>>
>> Hi,****
>>
>>  ****
>>
>> http://erldocs.com is a fast and accessible alternative to the official
>> Erlang/OTP documentation.****
>>
>> Originally developed by Dale Harvey, it was no longer supported since the
>> release of R15B.****
>>
>>  ****
>>
>> I recently took over erldocs.com 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!****
>>
>>  ****
>>
>> Go check another Erlang doc at http://erldocs.com/****
>>
>> Go check the code                at https://github.com/fenollp/erldocs***
>> *
>>
>>  ****
>>
>>  ****
>>
>> Cheers,****
>>
>> -- ****
>>
>> Pierre Fenoll****
>>
>>  ****
>>
>>  ****
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions****
>>
>> ** **
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131002/c07b3ff8/attachment.htm>


More information about the erlang-questions mailing list