aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv
diff options
context:
space:
mode:
authorVlad Dumitrescu <[email protected]>2015-01-16 09:39:31 +0100
committerVlad Dumitrescu <[email protected]>2015-01-16 09:39:31 +0100
commit6f492b98505ee6d68b9f438915dfbd3616a1b729 (patch)
tree5c7a716d0aded23df9ec555fe591db69adb6b2e0 /lib/erl_docgen/priv
parent341bd39f8c3b09b9fdaddbdadce42e80a2b3060d (diff)
downloadotp-6f492b98505ee6d68b9f438915dfbd3616a1b729.tar.gz
otp-6f492b98505ee6d68b9f438915dfbd3616a1b729.tar.bz2
otp-6f492b98505ee6d68b9f438915dfbd3616a1b729.zip
[edoc] remove functionality related to packages
The 'subpackages' option is left, since some projects use recursive source directories.
Diffstat (limited to 'lib/erl_docgen/priv')
-rw-r--r--lib/erl_docgen/priv/bin/specs_gen.escript2
-rwxr-xr-xlib/erl_docgen/priv/bin/xml_from_edoc.escript2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/erl_docgen/priv/bin/specs_gen.escript b/lib/erl_docgen/priv/bin/specs_gen.escript
index 156311565c..e8a8f14e3a 100644
--- a/lib/erl_docgen/priv/bin/specs_gen.escript
+++ b/lib/erl_docgen/priv/bin/specs_gen.escript
@@ -97,7 +97,7 @@ read_file(File, Opts) ->
edoc:read_source(File, Opts).
extract(File, Forms, Opts) ->
- Env = edoc_lib:get_doc_env([], [], [], _Opts=[]),
+ Env = edoc_lib:get_doc_env([], [], _Opts=[]),
{_Module, Doc} = edoc_extract:source(Forms, File, Env, Opts),
Doc.
diff --git a/lib/erl_docgen/priv/bin/xml_from_edoc.escript b/lib/erl_docgen/priv/bin/xml_from_edoc.escript
index 65a580dca2..007546e7ba 100755
--- a/lib/erl_docgen/priv/bin/xml_from_edoc.escript
+++ b/lib/erl_docgen/priv/bin/xml_from_edoc.escript
@@ -117,7 +117,7 @@ users_guide(File, Args) ->
Text = edoc_lib:run_layout(F, Opts),
OutFile = "chapter" ++ Args#args.suffix,
- edoc_lib:write_file(Text, ".", OutFile, '', Encoding);
+ edoc_lib:write_file(Text, ".", OutFile, Encoding);
false ->
io:format("~s: not a regular file\n", [File]),
usage()