|
|
840d93 |
diff -up doxygen-1.7.5/src/configoptions.cpp.timestamp doxygen-1.7.5/src/configoptions.cpp
|
|
|
840d93 |
--- doxygen-1.7.5/src/configoptions.cpp.timestamp 2011-08-03 15:54:50.000000000 +0200
|
|
|
840d93 |
+++ doxygen-1.7.5/src/configoptions.cpp 2011-08-23 12:55:56.000000000 +0200
|
|
|
840d93 |
@@ -1173,6 +1173,14 @@ void addConfigOptions(Config *cfg)
|
|
|
840d93 |
cs->setWidgetType(ConfigString::File);
|
|
|
840d93 |
cs->addDependency("GENERATE_HTML");
|
|
|
840d93 |
//----
|
|
|
840d93 |
+ cb = cfg->addBool(
|
|
|
840d93 |
+ "HTML_TIMESTAMP",
|
|
|
840d93 |
+ "If the HTML_TIMESTAMP tag is set to YES then the generated HTML\n"
|
|
|
840d93 |
+ "documentation will contain the timesstamp.",
|
|
|
840d93 |
+ FALSE
|
|
|
840d93 |
+ );
|
|
|
840d93 |
+ cb->addDependency("GENERATE_HTML");
|
|
|
840d93 |
+ //----
|
|
|
840d93 |
cs = cfg->addString(
|
|
|
840d93 |
"HTML_STYLESHEET",
|
|
|
840d93 |
"The HTML_STYLESHEET tag can be used to specify a user-defined cascading\n"
|
|
|
840d93 |
diff -up doxygen-1.7.5/src/config.xml.timestamp doxygen-1.7.5/src/config.xml
|
|
|
840d93 |
--- doxygen-1.7.5/src/config.xml.timestamp 2011-08-03 15:54:48.000000000 +0200
|
|
|
840d93 |
+++ doxygen-1.7.5/src/config.xml 2011-08-23 12:55:56.000000000 +0200
|
|
|
840d93 |
@@ -819,6 +819,11 @@ The HTML_FOOTER tag can be used to speci
|
|
|
840d93 |
each generated HTML page. If it is left blank doxygen will generate a
|
|
|
840d93 |
standard footer.
|
|
|
840d93 |
' defval='' depends='GENERATE_HTML'/>
|
|
|
840d93 |
+
|
|
|
840d93 |
+If the HTML_TIMESTAMP tag is set to YES then the generated HTML
|
|
|
840d93 |
+documentation will contain the timesstamp.
|
|
|
840d93 |
+' defval='' depends='GENERATE_HTML'/>
|
|
|
840d93 |
+
|
|
|
840d93 |
|
|
|
840d93 |
The HTML_STYLESHEET tag can be used to specify a user-defined cascading
|
|
|
840d93 |
style sheet that is used by each HTML page. It can be used to
|
|
|
840d93 |
diff -up doxygen-1.7.5/src/htmlgen.cpp.timestamp doxygen-1.7.5/src/htmlgen.cpp
|
|
|
840d93 |
--- doxygen-1.7.5/src/htmlgen.cpp.timestamp 2011-08-01 22:10:17.000000000 +0200
|
|
|
840d93 |
+++ doxygen-1.7.5/src/htmlgen.cpp 2011-08-23 13:01:16.000000000 +0200
|
|
|
840d93 |
@@ -88,7 +88,7 @@ static const char svgpan_script[]=
|
|
|
840d93 |
|
|
|
840d93 |
static QCString g_header;
|
|
|
840d93 |
static QCString g_footer;
|
|
|
840d93 |
-
|
|
|
840d93 |
+static bool timestamp=false;
|
|
|
840d93 |
//------------------------- Pictures for the Tabs ------------------------
|
|
|
840d93 |
|
|
|
840d93 |
// active
|
|
|
840d93 |
@@ -1072,6 +1072,8 @@ void HtmlGenerator::init()
|
|
|
840d93 |
{
|
|
|
840d93 |
g_footer = defaultHtmlFooter;
|
|
|
840d93 |
}
|
|
|
840d93 |
+ if (Config_getBool("HTML_TIMESTAMP"))
|
|
|
840d93 |
+ timestamp=true;
|
|
|
840d93 |
createSubDirs(d);
|
|
|
840d93 |
|
|
|
840d93 |
QCString fileName=dname+"/tabs.css";
|
|
|
840d93 |
@@ -1285,7 +1287,7 @@ QCString HtmlGenerator::writeLogoAsStrin
|
|
|
840d93 |
if (timeStamp)
|
|
|
840d93 |
{
|
|
|
840d93 |
result += theTranslator->trGeneratedAt(
|
|
|
840d93 |
- dateToString(TRUE),
|
|
|
840d93 |
+ dateToString(timestamp),
|
|
|
840d93 |
Config_getString("PROJECT_NAME")
|
|
|
840d93 |
);
|
|
|
840d93 |
}
|