From cbc470bc904693618cc33ac16cc577401906b2f0 Mon Sep 17 00:00:00 2001 From: Lars G Thorsen Date: Fri, 29 Jan 2010 13:15:42 +0000 Subject: OTP-8343 The documentation is now possible to build in an open source environment after a number of bugs are fixed and some features are added in the documentation build process. - The arity calculation is updated. - The module prefix used in the function names for bif's are removed in the generated links so the links will look like "http://www.erlang.org/doc/man/erlang.html#append_element-2" instead of "http://www.erlang.org/doc/man/erlang.html#erlang:append_element- 2". - Enhanced the menu positioning in the html documentation when a new page is loaded. - A number of corrections in the generation of man pages (thanks to Sergei Golovan) - The legal notice is taken from the xml book file so OTP's build process can be used for non OTP applications. --- lib/erl_docgen/priv/xsl/db_html.xsl | 2 +- lib/erl_docgen/priv/xsl/db_man.xsl | 122 ++++++++++++++++++------------------ 2 files changed, 63 insertions(+), 61 deletions(-) diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl index c2b58e48ec..5614b02bb7 100644 --- a/lib/erl_docgen/priv/xsl/db_html.xsl +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -702,7 +702,7 @@ - +
diff --git a/lib/erl_docgen/priv/xsl/db_man.xsl b/lib/erl_docgen/priv/xsl/db_man.xsl index 300d1ed362..a9a2781a8a 100644 --- a/lib/erl_docgen/priv/xsl/db_man.xsl +++ b/lib/erl_docgen/priv/xsl/db_man.xsl @@ -59,10 +59,7 @@ .TP 2 * - - - - + .LP @@ -78,37 +75,27 @@ : + + + + - + .RS 2 .LP .LP - + .RE - - - - - - - - - - - - - - .SS Note: @@ -125,11 +112,8 @@ - - - .LP - + @@ -190,42 +174,72 @@ - .TH 3 " " "Ericsson AB" "Erlang Module Definition" - .SH NAME - \- - + + + + + + + .TH 3 " " "" "Erlang Module Definition" + .SH NAME + \- + - .TH 1 " " "Ericsson AB" "User Commands" - .SH NAME - \- - + + + + + + + .TH 1 " " "" "User Commands" + .SH NAME + \- + - .TH 3 " " "Ericsson AB" "C Library Functions" - .SH NAME - \- - + + + + + + + .TH 3 " " "" "C Library Functions" + .SH NAME + \- + - .TH 4 " " "Ericsson AB" "Files" - .SH NAME - \- - + + + + + + + .TH 5 " " "" "Files" + .SH NAME + \- + - .TH 6 " " "Ericsson AB" "Erlang Application Definition" - .SH NAME - \- - + + + + + + + .TH 7 " " "" "Erlang Application Definition" + .SH NAME + \- + @@ -318,20 +332,12 @@ - - + + + - + @@ -371,8 +377,4 @@ - - - - -- cgit v1.2.3