Opened 18 years ago
Closed 8 years ago
#977 closed enhancement (fixed)
JavaDoc plugin
Reported by: | Owned by: | anybody | |
---|---|---|---|
Priority: | normal | Component: | Request-a-Hack |
Severity: | blocker | Keywords: | |
Cc: | burst@…, josh.moore@…, Filipe Correia, joerg.gottschling@… | Trac Release: | 0.10 |
Description
Similar to the Doxygen plugin, create javadoc plugin for java sources in the repository and make them available in the wiki.
Attachments (1)
Change History (16)
comment:1 Changed 18 years ago by
comment:3 Changed 18 years ago by
comment:5 Changed 18 years ago by
IMHO the best solution would be to put all documentation plugins together as I said in #273. Unfortunately I'm not developing DoxygenPlugin now since priorities are elsewhere.
comment:6 Changed 18 years ago by
Cc: | burst@… added; anonymous removed |
---|
Thats how it could be done: Fetch the java file from Repository, save it to a tmp dir, use javadoc and jeldoclet to extract javadoc information to an xml file, then parse the xml. I've tested it and it works but i don't have the time to bring it anywhere near a useful macro. I'll attach the source. Note that this solution is really bad. Java needs to be installed on the server, and the file gets parsed everytime the page is accessed. The best solution would be to parse the source directly in python and then cache the results.
Changed 18 years ago by
Attachment: | JavaDoc.py added |
---|
very limited javadoc macro. needs javadoc and jeldoclet
comment:7 follow-up: 8 Changed 18 years ago by
Cc: | josh.moore@… added |
---|
comment:9 Changed 16 years ago by
Cc: | Filipe Correia added |
---|
comment:10 Changed 16 years ago by
Cc: | joerg.gottschling@… added |
---|
We would also like to use such a plugin.
comment:11 Changed 15 years ago by
In case you're using Subversion, you could also rely on its post-commit hook to generate the javadoc (or even doxygen) on each commit. Just have to be careful that while the documentation is being generated, a commit cannot trigger the generation of yet another documentation.
comment:12 Changed 15 years ago by
Summary: | JavaDoc Plugin for Trac → JavaDoc plugin |
---|
comment:13 Changed 13 years ago by
How could I include the JavaDoc files into my wiki, when I have exported them with a post commit hook? And I mean include, like in using an IFrame.
comment:15 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
It appears there are solutions available, so closing the ticket.
I started to write a Macro to include javadoc into wiki pages, but then i realized that I can't even access the files in the repository. It seems that the Version Control API is only half implemented by now: