incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Troest <mik...@mikkle.dk>
Subject Re: linking to javadocs
Date Fri, 20 Mar 2009 01:54:42 GMT
Bob,

http://www.mikkle.dk/wiki/wiki/JavadocPlugin

It has a "baseurl" parameter which you could substitute for you "lib" or
"module". It's a quick hack-together. Have a look, and use it if you
like it!

:O) Mikkle

Bob Paige wrote:
> We have javadocs available on our tomcat server so I'm looking for the most
> convenient way to link to them from our wiki. They are divided into a number
> of libraries and lots of packages. I'd appreciate some thoughts as to the
> best way to do this.
> 
> My first thought was interwiki links. There are not so many libraries that I
> couldn't define links for them, but that would still yield the following
> syntax:
> 
> [lib1:com/company/pkg/pkg/pkg/MyClass]
> 
> which doesn't look like a Java class name at all.
> 
> Side note: It would be cool if I could enter "com.company.pkg.etc" and have
> JSPWiki change the "." for "/" using some regex.
> 
> My next thought was a plugin. Not hard to write. The syntax would end up
> being:
> 
> [{Javadoc module='lib1' class='com.company.pkg.pkg.pkg.MyClass'}]
> 
> Then I could control the display and the URL transformation as well. This is
> a bit more typing than the interwiki link, but does the job.
> 
> Has anyone else needed to solve this problem or have any thoughts on this?
> 

Mime
View raw message