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