Render links to the Javadoc pages
Description
This is a Trac Wiki Macro for rendering links to the Javadoc pages. It accepts one or two arguments separated by a comma:
Just register the urls in the javadoc.py:
commons_logging_url = 'http://commons.apache.org/proper/commons-logging/javadocs/api-1.1.3/index.html'
and add a mapping to the urls:
urls = { 'org.apache.commons.logging': commons_logging_url, ... }
Usage:
[[javadoc(org.apache.commons.logging.LogFactory, LogFactory)]]
The first argument is the fully qualified Java class or package. Classes are assumed to begin with an uppercase letter and packages with a lowercase letter according to standard Java naming conventions.
The second optional argument is the link text. If the second argument is ommitted the class name is used, or in the case of a package the full package name is used.
Bugs/Feature Requests
Existing bugs and feature requests for JavadocWikiMacro are here.
If you have any issues, create a new ticket.
defect |
0 / 1 |
||
---|---|---|---|
enhancement |
1 / 3 |
Download
Download the zipped source from here.
Source
You can check out JavadocWikiMacro from here using Subversion, or browse the source with Trac.
Recent Changes