2010-02-24 02:00:28 +01:00
|
|
|
diff -U 3 -H -d -r -N -- doxygen-1.6.3/src/config.xml doxygen-1.6.3.modify_footer/src/config.xml
|
|
|
|
--- doxygen-1.6.3/src/config.xml 2010-02-13 15:19:31.000000000 +0100
|
|
|
|
+++ doxygen-1.6.3.modify_footer/src/config.xml 2010-02-21 15:52:16.000000000 +0100
|
|
|
|
@@ -741,6 +741,10 @@
|
2010-01-08 17:30:01 +01:00
|
|
|
If the GENERATE_HTML tag is set to YES (the default) Doxygen will
|
|
|
|
generate HTML output.
|
|
|
|
' defval='1'/>
|
|
|
|
+ <option type='bool' id='HTML_FOOTER_DESCRIPTION' docs='
|
|
|
|
+The HTML_FOOTER_DATE_AND_PROJECT_NAME tag can be used to add build date,
|
|
|
|
+project name and Doxygen version to HTML footer.
|
|
|
|
+' defval='0' depends='GENERATE_HTML'/>
|
|
|
|
<option type='string' id='HTML_OUTPUT' format='dir' docs='
|
|
|
|
The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
|
|
|
|
If a relative path is entered the value of OUTPUT_DIRECTORY will be
|
2010-02-24 02:00:28 +01:00
|
|
|
diff -U 3 -H -d -r -N -- doxygen-1.6.3/src/configoptions.cpp doxygen-1.6.3.modify_footer/src/configoptions.cpp
|
|
|
|
--- doxygen-1.6.3/src/configoptions.cpp 2010-02-13 15:19:33.000000000 +0100
|
|
|
|
+++ doxygen-1.6.3.modify_footer/src/configoptions.cpp 2010-02-21 15:52:16.000000000 +0100
|
|
|
|
@@ -1051,6 +1051,15 @@
|
|
|
|
TRUE
|
|
|
|
);
|
|
|
|
//----
|
|
|
|
+ cb = cfg->addBool(
|
|
|
|
+ "HTML_FOOTER_DESCRIPTION",
|
|
|
|
+ "If the HTML_FOOTER_DESCRIPTION tag is set to YES, Doxygen will \n"
|
|
|
|
+ "add generated date, project name and doxygen version to HTML footer.",
|
|
|
|
+ FALSE
|
|
|
|
+ );
|
|
|
|
+ //cs->setDefaultValue("FALSE");
|
|
|
|
+ cs->addDependency("GENERATE_HTML");
|
|
|
|
+ //----
|
|
|
|
cs = cfg->addString(
|
|
|
|
"HTML_OUTPUT",
|
|
|
|
"The HTML_OUTPUT tag is used to specify where the HTML docs will be put.\n"
|
|
|
|
diff -U 3 -H -d -r -N -- doxygen-1.6.3/src/htmlgen.cpp doxygen-1.6.3.modify_footer/src/htmlgen.cpp
|
|
|
|
--- doxygen-1.6.3/src/htmlgen.cpp 2010-01-04 22:22:05.000000000 +0100
|
|
|
|
+++ doxygen-1.6.3.modify_footer/src/htmlgen.cpp 2010-02-21 15:56:21.000000000 +0100
|
|
|
|
@@ -787,10 +787,18 @@
|
2010-01-08 17:30:01 +01:00
|
|
|
{
|
|
|
|
QTextStream t(&file);
|
2010-02-24 02:00:28 +01:00
|
|
|
t << "<hr class=\"footer\"/><address style=\"text-align: right;\"><small>\n";
|
2010-01-08 17:30:01 +01:00
|
|
|
- t << theTranslator->trGeneratedAt( "$datetime", "$projectname" );
|
|
|
|
- t << " <a href=\"http://www.doxygen.org/index.html\">"
|
|
|
|
+ if (Config_getBool("HTML_FOOTER_DESCRIPTION"))
|
|
|
|
+ {
|
|
|
|
+ t << theTranslator->trGeneratedAt( "$datetime", "$projectname" );
|
|
|
|
+ t << " ";
|
|
|
|
+ }
|
|
|
|
+ t << "<a href=\"http://www.doxygen.org/index.html\">"
|
|
|
|
<< "<img class=\"footer\" src=\"doxygen.png\" alt=\"doxygen\"/>"
|
|
|
|
- << "</a> $doxygenversion";
|
|
|
|
+ << "</a>";
|
|
|
|
+ if (Config_getBool("HTML_FOOTER_DESCRIPTION"))
|
|
|
|
+ {
|
|
|
|
+ t << " $doxygenversion";
|
|
|
|
+ }
|
|
|
|
t << "</small></address>\n"
|
|
|
|
<< "</body>\n"
|
|
|
|
<< "</html>\n";
|