diff options
author | Lars Thorsen <[email protected]> | 2011-11-18 12:39:57 +0100 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2011-11-18 14:28:44 +0100 |
commit | 013e3840532b16308f4bfcf22bde0e6de8d064b2 (patch) | |
tree | 1b7320a4c2d882f334c71ee387ffb370a7de32bc /lib/erl_docgen/src | |
parent | 8284827cab66ee16f4b0ad3f9f2fda9f124e77ee (diff) | |
download | otp-013e3840532b16308f4bfcf22bde0e6de8d064b2.tar.gz otp-013e3840532b16308f4bfcf22bde0e6de8d064b2.tar.bz2 otp-013e3840532b16308f4bfcf22bde0e6de8d064b2.zip |
[erl_docgen] Add an application ref page
Diffstat (limited to 'lib/erl_docgen/src')
-rw-r--r-- | lib/erl_docgen/src/Makefile | 2 | ||||
-rw-r--r-- | lib/erl_docgen/src/docgen_xml_check.erl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/erl_docgen/src/Makefile b/lib/erl_docgen/src/Makefile index 8c56784342..4a805697e6 100644 --- a/lib/erl_docgen/src/Makefile +++ b/lib/erl_docgen/src/Makefile @@ -37,7 +37,7 @@ RELSYSDIR = $(RELEASE_PATH)/lib/erl_docgen-$(VSN) MODULES = \ docgen_otp_specs \ docgen_edoc_xml_cb \ - docgen_xmerl_xml_cb + docgen_xmerl_xml_cb HRL_FILES = diff --git a/lib/erl_docgen/src/docgen_xml_check.erl b/lib/erl_docgen/src/docgen_xml_check.erl index 5912e22e7b..892a880269 100644 --- a/lib/erl_docgen/src/docgen_xml_check.erl +++ b/lib/erl_docgen/src/docgen_xml_check.erl @@ -15,7 +15,7 @@ %% %% $Id$ %% --module(docb_xml_check). +-module(docgen_xml_check). -export([validate/1]). -deprecated([{validate,1,next_major_release}]). @@ -31,7 +31,7 @@ validate(File0) -> end, case filelib:is_regular(File) of true -> - DtdDir = docb_util:dtd_dir(), + DtdDir = filename:join(code:priv_dir(erl_docgen), "dtd"), case catch xmerl_scan:file(File, [{validation,true}, {fetch_path,[DtdDir]}]) of {'EXIT', Error} -> |