uwiger / edown Goto Github PK
View Code? Open in Web Editor NEWEDoc extension for generating Github-flavored Markdown
EDoc extension for generating Github-flavored Markdown
Running into this error with Erlang/OTP 18.1:
edoc: error in doclet 'edown_doclet': {'EXIT',
{undef,
[{edoc_refs,relative_package_path,
[boy,''],
[]},
{edown_doclet,module_ref,1,
[{file,"src/edown_doclet.erl"},
{line,380}]},
{edown_doclet,
'-modules_frame/1-lc$^0/1-0-',1,
[{file,"src/edown_doclet.erl"},
{line,374}]},
{edown_doclet,modules_frame,1,
[{file,"src/edown_doclet.erl"},
{line,372}]},
{edown_doclet,gen,4,
[{file,"src/edown_doclet.erl"},
{line,123}]},
{edoc_lib,run_plugin,5,
[{file,"edoc_lib.erl"},{line,994}]},
{erl_eval,do_apply,6,
[{file,"erl_eval.erl"},{line,669}]},
{erl_eval,exprs,5,
[{file,[...]},{line,...}]}]}}.
Got reports that edoc changes in 18 rc1 affect edoc:
commit 6f492b98505ee6d68b9f438915dfbd3616a1b729
Author: Vlad Dumitrescu <[email protected]>
Date: Fri Jan 16 09:39:31 2015 +0100
[edoc] remove functionality related to packages
The 'subpackages' option is left, since some projects use recursive
source directories.
I'm trying to compile edown in ubuntu 12.04 using erlang (18.0) distribution from erlang-solutions.com and get this error:
==> edown (compile)
src/edown_doclet.erl:116: field packages undefined in record doclet_gen
src/edown_doclet.erl:118: field filemap undefined in record doclet_gen
The erlang installation is like this
Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
However, I can compile edown on my Mac without a problem. I'm new to erlang, so I'm still figuring out things. It looks like erlang system on my ubuntu machine isn't complete, but it's really a vanilla installation using https://www.erlang-solutions.com/downloads/download-erlang-otp.
Could you help? Thank you very much.
Support for specs with multiple clauses has been added to EDoc. Would be nice to have in edown too. Currently it crashes.
Example:
-spec f(foo) -> bar;
(bar) -> baz.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.