diff options
author | Vlad Dumitrescu <[email protected]> | 2015-01-16 09:39:31 +0100 |
---|---|---|
committer | Vlad Dumitrescu <[email protected]> | 2015-01-16 09:39:31 +0100 |
commit | 6f492b98505ee6d68b9f438915dfbd3616a1b729 (patch) | |
tree | 5c7a716d0aded23df9ec555fe591db69adb6b2e0 /lib/edoc/src/otpsgml_layout.erl | |
parent | 341bd39f8c3b09b9fdaddbdadce42e80a2b3060d (diff) | |
download | otp-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/edoc/src/otpsgml_layout.erl')
-rw-r--r-- | lib/edoc/src/otpsgml_layout.erl | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/lib/edoc/src/otpsgml_layout.erl b/lib/edoc/src/otpsgml_layout.erl index 2c4cd919bb..052c75b9d4 100644 --- a/lib/edoc/src/otpsgml_layout.erl +++ b/lib/edoc/src/otpsgml_layout.erl @@ -28,7 +28,7 @@ -module(otpsgml_layout). --export([module/2, package/2, overview/2,type/1]). +-export([module/2, overview/2,type/1]). -import(edoc_report, [report/2]). @@ -811,27 +811,6 @@ xml(Title, CSS, Body) -> xmerl:export_simple_content(t_utype_elem(E) ++ local_defs(Ds), ?SGML_EXPORT). - -package(E=#xmlElement{name = package, content = Es}, Options) -> - Opts = init_opts(E, Options), - Name = get_text(packageName, Es), - Title = io_lib:fwrite("Package ~s", [Name]), - Desc = get_content(description, Es), -% ShortDesc = get_content(briefDescription, Desc), - FullDesc = get_content(fullDescription, Desc), - Body = ([?NL, {h1, [Title]}, ?NL] -% ++ ShortDesc - ++ copyright(Es) - ++ deprecated(Es, "package") - ++ version(Es) - ++ since(Es) - ++ authors(Es) - ++ references(Es) - ++ sees(Es) - ++ FullDesc), - XML = xml(Title, stylesheet(Opts), Body), - xmerl:export_simple([XML], ?SGML_EXPORT, []). - overview(E=#xmlElement{name = overview, content = Es}, Options) -> Opts = init_opts(E, Options), Title = get_text(title, Es), @@ -843,6 +822,7 @@ overview(E=#xmlElement{name = overview, content = Es}, Options) -> ++ copyright(Es) ++ version(Es) ++ since(Es) + ++ deprecated(Es, "application") ++ authors(Es) ++ references(Es) ++ sees(Es) |