From d5a4fc889fa358da380ec967075132b998fa8cbf Mon Sep 17 00:00:00 2001 From: Lars Thorsen Date: Thu, 1 Sep 2011 09:43:38 +0200 Subject: [erl_docgen] Fix eix file generation for new function spec references --- lib/erl_docgen/priv/xsl/db_eix.xsl | 180 +++++++++++++++++++++++++++---------- make/otp_release_targets.mk | 4 +- 2 files changed, 137 insertions(+), 47 deletions(-) diff --git a/lib/erl_docgen/priv/xsl/db_eix.xsl b/lib/erl_docgen/priv/xsl/db_eix.xsl index 4545322bc2..7a648ddfd7 100644 --- a/lib/erl_docgen/priv/xsl/db_eix.xsl +++ b/lib/erl_docgen/priv/xsl/db_eix.xsl @@ -22,10 +22,16 @@ + + + + %% %% Search data file for @@ -50,9 +56,7 @@ {".html", {function, {" ", ""}}, [ - - - + ]}. {".html", {module, " "}, [""]}. @@ -62,9 +66,7 @@ {".html", {function, {" ", ""}}, [ - - - + ]}. {".html", {clib, " "}, [""]}. @@ -91,69 +93,157 @@ - - + + + + + + + + + + + + + + + + + + + + Error in : + : + + /: + + + + + + + + + + - - + + + + ambiguous spec + unknown spec + + + + + + + + + + + + + + + + + + + + + + + + + + + + {" + ", " + ", " + -"} + + + + + + + , + + + + + + + - + + - - - - - - - - - - + + + + + + + + + + - + + - - + + - + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + + {" ", " ( diff --git a/make/otp_release_targets.mk b/make/otp_release_targets.mk index 8058e634d4..229612630d 100644 --- a/make/otp_release_targets.mk +++ b/make/otp_release_targets.mk @@ -74,10 +74,10 @@ ifneq ($(XML_FILES),) # ---------------------------------------------------- # Generation of application index data # ---------------------------------------------------- -$(HTMLDIR)/$(APPLICATION).eix: $(XML_FILES) +$(HTMLDIR)/$(APPLICATION).eix: $(XML_FILES) $(SPECS_FILES) date=`date +"%B %e %Y"`; \ $(XSLTPROC) --stringparam docgen "$(DOCGEN)" \ - --stringparam gendate "$$date" --stringparam appname "$(APPLICATION)" --stringparam appver "$(VSN)" --xinclude \ + --stringparam gendate "$$date" --stringparam appname "$(APPLICATION)" --stringparam appver "$(VSN)" --xinclude $(TOP_SPECS_PARAM) \ -path $(DOCGEN)/priv/docbuilder_dtd -path $(DOCGEN)/priv/dtd_html_entities $(DOCGEN)/priv/xsl/db_eix.xsl book.xml > $@ docs: $(HTMLDIR)/$(APPLICATION).eix -- cgit v1.2.3