[Fwd: edoc custom XML layout]
Serge Aleynikov
serge@REDACTED
Mon Jun 26 16:06:34 CEST 2006
I seemed to have figured out how to do custom layouts in edoc by looking
at the otpsgml_layout.erl code.
Here is a patch for otpsgml_layout.erl that fixes a bug in its output:
--- otpsgml_layout.erl.orig 2006-06-22 20:11:25.000000000 -0400
+++ otpsgml_layout.erl 2006-06-26 09:57:51.000000000 -0400
@@ -173,9 +173,9 @@
?NL,ModuleSummary,
?NL,Description,
?NL,Funcs,
- ?NL,See,
- ?NL,Authors
- ]
+ ?NL,See
+ ] ++
+ Authors
}.
Here's how you can test it:
cd .../edoc-X.X.X/src
erl -noshell -run edoc_run file '"edoc_layout.erl"' '[{layout,
otpsgml_layout}]' -pa ../ebin
Regards,
Serge
-------------- next part --------------
An embedded message was scrubbed...
From: Serge Aleynikov <serge@REDACTED>
Subject: edoc custom XML layout
Date: Sat, 24 Jun 2006 11:31:17 -0400
Size: 1892
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060626/19cb7efd/attachment.eml>
More information about the erlang-questions
mailing list