--
WillNorris - 02 Aug 2003
This looks useful, but I can't help thinking that maybe extending the
InterwikiPlugin to accept shortcut definitions similar to Konqueror might actually be a slightly more general way to do this. Just a thought.
--
MichaelSparks - 09 Aug 2003
added
.zip to
CVS
--
WillNorris - 27 Jun 2005
The URL of the doxygen doc for nebula project moved.
This seems the new URL for URL_BASE_NEB, I think :
http://nebuladevice.cubik.org/documentation/nebula2/
--
OlivierBerger - 03 Oct 2007
I think the following patch may be of interest in the case the docs are not available on the same filesystem of the web server which is running twiki.
--- DoxygenPlugin.pm.orig 2007-10-03 14:42:36.000000000 +0200
+++ DoxygenPlugin.pm 2007-10-03 14:41:23.000000000 +0200
@@ -95,6 +95,7 @@
# allow a trailing slash so that the location is a valid url in the plugin's settings (sometimes you have to include the trailing / on url's)
( $doxygen_docs_base = &TWiki::Func::getPreferencesValue( uc "DOXYGENPLUGIN_DOCS_BASE_$thisProject" ) . '/' ) =~ s|//$|/|;
+ $doxygen_docs_base =~ s|^/$||;
( $doxygen_url_base = &TWiki::Func::getPreferencesValue( uc "DOXYGENPLUGIN_URL_BASE_$thisProject" ) . '/' ) =~ s|//$|/|;
@@ -103,10 +104,16 @@
# check if we have a file instead of a class
if ($name =~ /.+html?$/ ) {
$text .= qq{<a href="${doxygen_url_base}$name">$alt</a>};
- } elsif ( -f "$doxygen_docs_base/class$classname.html" ) {
- $text .= qq{<a href="${doxygen_url_base}class$classname.html">$alt </a>};
} else {
- $text .= qq{<a href="${doxygen_url_base}class$classname.html">$alt [bad link?]</a>};
+ if ( $doxygen_docs_base ) {
+ if ( -f "$doxygen_docs_base/class$classname.html" ) {
+ $text .= qq{<a href="${doxygen_url_base}class$classname.html">$alt </a>};
+ } else {
+ $text .= qq{<a href="${doxygen_url_base}class$classname.html">$alt [bad link?]</a>};
+ }
+ } else {
+ $text .= qq{<a href="${doxygen_url_base}class$classname.html">$alt</a>};
+ }
}
return $text;
It won't display [bad likn?] in case there's no definition of DOCS_BASE and only URL_BASE.
--
OlivierBerger - 03 Oct 2007