wiki:JavadocWikiMacro

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

16974 by rjollos on 2017-11-18 10:03:48
Add metadata
8521 by rjollos on 2010-08-30 05:27:24
Added revision info to macro. Fixes #6571.
4243 by Andi on 2008-09-08 07:42:57
delete duplicata
(more)

Author/Contributors

Author: Andi
Maintainer: Andi
Contributors: mgood

Last modified 8 years ago Last modified on Sep 21, 2016, 7:56:02 PM