[PATCH] Improved HTML separation of member documentation
Jim Evins <[email protected]>
| Newsgroups | gmane.text.doxygen.devel |
|---|---|
| Message-ID | <1121747873.4847.1902.camel@purple> |
Hello, We are trying to use doxygen to generate API documentation. One of the problems is that the HTML member documentation is very difficult to peruse because there is no good delineation between member sections, making it hard for the eye to settle on a single section. The following simple patch adds a horizontal line (<hr>) and a title (<h3>) before each member section. I find this much easier to read. -Jim
html-headers-2.patch
(text/x-patch, 814 B)
Index: src/htmlgen.cpp
===================================================================
RCS file: /u/kp3softd/cvsroot/src/htmlgen.cpp,v
retrieving revision 1.128
diff -u -r1.128 htmlgen.cpp
--- src/htmlgen.cpp 15 Jun 2005 19:21:37 -0000 1.128
+++ src/htmlgen.cpp 19 Jul 2005 04:11:25 -0000
@@ -1106,9 +1106,11 @@
t << "</td></tr>" << endl;
}
-void HtmlGenerator::startMemberDoc(const char *,const char *,const char *,const char *)
+void HtmlGenerator::startMemberDoc(const char * clName, const char *memName, const char *anchor, const char *title)
{
DBG_HTML(t << "<!-- startMemberDoc -->" << endl;)
+ t << "<hr>" << endl;
+ t << "<h3>" << title << "</h3>" << endl;
t << "<p>" << endl;
t << "<table class=\"mdTable\" cellpadding=\"2\" cellspacing=\"0\">" << endl;
t << " <tr>" << endl;