From df88b47cdafcc2e04452456942ea572a7b72e2f2 Mon Sep 17 00:00:00 2001 From: Lars G Thorsen Date: Tue, 26 Jan 2010 10:13:35 +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) - Moved some man pages to more apropriate sections, pages in section 4 moved to 5 and pages in 6 moved to 7. - 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_man.xsl | 180 +++++++++++++++++++++++++------------ 1 file changed, 125 insertions(+), 55 deletions(-) (limited to 'lib/erl_docgen/priv/xsl/db_man.xsl') diff --git a/lib/erl_docgen/priv/xsl/db_man.xsl b/lib/erl_docgen/priv/xsl/db_man.xsl index c759a77496..300d1ed362 100644 --- a/lib/erl_docgen/priv/xsl/db_man.xsl +++ b/lib/erl_docgen/priv/xsl/db_man.xsl @@ -2,20 +2,20 @@ @@ -37,14 +37,12 @@ - .RE .SH "" - - .RE + .SS "" @@ -53,9 +51,9 @@ - .RS 2 + .RS 2 - .RE + .RE @@ -65,72 +63,80 @@ - .br - .br + .LP - .RS 2 - - .RE + .RS 2 + + .RE - .TP 4 + .TP 2 .B - + : - - .br - .br + + + + + + .RS 2 + .LP .LP + + .RE + + - - - + + + + + + + + + + + - .TP 4 .B Note: + .SS Note: + - .TP 4 .B Warning: + .SS Warning: + - - - - - - .LP - - - - .LP + .LP - \fB + \fB - \fR\& + \fR\& @@ -138,19 +144,20 @@ - \fI\fR\& + \fI\fR\& - \fI\fR\& + \fI \fR\& - \fB\fR\& + \fB\fR\& + .LP .nf .fi @@ -158,6 +165,7 @@ + .LP .nf .fi @@ -168,16 +176,7 @@ - - - - + @@ -192,7 +191,7 @@ .TH 3 " " "Ericsson AB" "Erlang Module Definition" - .SH MODULE + .SH NAME \- @@ -225,7 +224,7 @@ .TH 6 " " "Ericsson AB" "Erlang Application Definition" .SH NAME - \- + \- @@ -297,9 +296,80 @@ - + + + + .SH AUTHORS + + + + + + .LP + + + + + + .I < + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3