forked from pool/doxygen
Accepting request 53048 from home:mseben:branches:devel:tools
Thanks Miso OBS-URL: https://build.opensuse.org/request/show/53048 OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=24
This commit is contained in:
parent
1910e42afc
commit
f7ba215608
@ -1,62 +1,7 @@
|
|||||||
Index: src/config.xml
|
|
||||||
===================================================================
|
|
||||||
--- src/config.xml.orig
|
|
||||||
+++ src/config.xml
|
|
||||||
@@ -762,6 +762,11 @@ The HTML_FOOTER tag can be used to speci
|
|
||||||
each generated HTML page. If it is left blank doxygen will generate a
|
|
||||||
standard footer.
|
|
||||||
' defval='' depends='GENERATE_HTML'/>
|
|
||||||
+ <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.
|
|
||||||
+standard footer.
|
|
||||||
+' defval='' depends='GENERATE_HTML'/>
|
|
||||||
<option type='string' id='HTML_STYLESHEET' format='file' docs='
|
|
||||||
The HTML_STYLESHEET tag can be used to specify a user-defined cascading
|
|
||||||
style sheet that is used by each HTML page. It can be used to
|
|
||||||
Index: src/htmlgen.cpp
|
|
||||||
===================================================================
|
|
||||||
--- src/htmlgen.cpp.orig
|
|
||||||
+++ src/htmlgen.cpp
|
|
||||||
@@ -969,10 +969,16 @@ void HtmlGenerator::writeFooterFile(QFil
|
|
||||||
{
|
|
||||||
FTextStream t(&file);
|
|
||||||
t << "<hr class=\"footer\"/><address class=\"footer\"><small>\n";
|
|
||||||
+ if (Config_getBool("HTML_FOOTER_DESCRIPTION")) {
|
|
||||||
t << theTranslator->trGeneratedAt( "$datetime", "$projectname" );
|
|
||||||
- t << " <a href=\"http://www.doxygen.org/index.html\">"
|
|
||||||
+ t << " ";
|
|
||||||
+ }
|
|
||||||
+ t << "<a href=\"http://www.doxygen.org/index.html\">"
|
|
||||||
<< "<img class=\"footer\" src=\"$relpath$doxygen.png\" alt=\"doxygen\"/>"
|
|
||||||
- << "</a> $doxygenversion";
|
|
||||||
+ << "</a>";
|
|
||||||
+ if (Config_getBool("HTML_FOOTER_DESCRIPTION")) {
|
|
||||||
+ t << " $doxygenversion";
|
|
||||||
+ }
|
|
||||||
t << "</small></address>\n"
|
|
||||||
<< "</body>\n"
|
|
||||||
<< "</html>\n";
|
|
||||||
Index: src/configoptions.cpp
|
Index: src/configoptions.cpp
|
||||||
===================================================================
|
===================================================================
|
||||||
--- src/configoptions.cpp.orig
|
--- src/configoptions.cpp.orig
|
||||||
+++ src/configoptions.cpp
|
+++ src/configoptions.cpp
|
||||||
@@ -1096,6 +1096,15 @@ void addConfigOptions(Config *cfg)
|
|
||||||
cs->setWidgetType(ConfigString::File);
|
|
||||||
cs->addDependency("GENERATE_HTML");
|
|
||||||
//----
|
|
||||||
+ 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_STYLESHEET",
|
|
||||||
"The HTML_STYLESHEET tag can be used to specify a user-defined cascading\n"
|
|
||||||
@@ -1146,7 +1155,7 @@ void addConfigOptions(Config *cfg)
|
@@ -1146,7 +1155,7 @@ void addConfigOptions(Config *cfg)
|
||||||
"If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML\n"
|
"If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML\n"
|
||||||
"page will contain the date and time when the page was generated. Setting\n"
|
"page will contain the date and time when the page was generated. Setting\n"
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 12 15:02:04 UTC 2010 - mseben@gmail.com
|
||||||
|
|
||||||
|
- changed modify_footer.patch: drop suse specific HTML_FOOTER_DESCRIPTION
|
||||||
|
option functionality, each package could use now HTML_TIMESTAMP to
|
||||||
|
avoid putting timestamp in to generated html files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 11 13:40:56 UTC 2010 - pgajdos@novell.com
|
Mon Oct 11 13:40:56 UTC 2010 - pgajdos@novell.com
|
||||||
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 12 15:02:04 UTC 2010 - mseben@gmail.com
|
||||||
|
|
||||||
|
- changed modify_footer.patch: drop suse specific HTML_FOOTER_DESCRIPTION
|
||||||
|
option functionality, each package could use now HTML_TIMESTAMP to
|
||||||
|
avoid putting timestamp in to generated html files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 11 13:43:48 UTC 2010 - pgajdos@novell.com
|
Mon Oct 11 13:43:48 UTC 2010 - pgajdos@novell.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user