Comments (6)
For the moment, you can include the image by adding a regular HTML <img>
tag in your JavaDoc. The URL can be relative to the html, or you can define an imagedir
to be used.
For the 2.0
version, we're looking at options for automatic inclusion in the generated HTML documentation.
from umldoclet.
Before the final 2.0.0
release, we should at least look into the feasibility of providing an automated feature for this.
from umldoclet.
I think a feasible strategy is to implement a custom Taglet and provide it to the Standard doclet when generating the HTML
from umldoclet.
😞 A taglet cannot be added from the same path specification as the doclet.
This requires either a different Jar purely for adding the UML image to the HTML or adding the doclet jar to both the docletPath
and the tagletPath
when running Javadoc.
Maybe a post-processing phase to manipulate the HTML isn't such a bad idea after all; this is the approach followed by others as well.
from umldoclet.
Cursory investigation shows that for generated Javadoc class HTML, simply replacing the first
<hr>
by
<hr>
<img src="MyClass.svg" alt="MyClass class diagram" style="float: right;">
may turn out quite satisfactory...
from umldoclet.
Now also available on JDK 1.7 + 8: use UML doclet version 1.1.0
from umldoclet.
Related Issues (20)
- Upgrading spring boot service from java 8 to java 11 gives error regarding the UMLDoclet HOT 7
- Failure to generate UML diagrams and SVG HOT 11
- Using JDK-16 package.svg graphics are not shown on package-summary pages, although graphics do get generated HOT 1
- Fix UML diagram locations for java modules HOT 1
- How to set TypeDisplay.NONE? HOT 6
- Sharing a Gradle Kotlin DSL configuration HOT 2
- Dot Executable: null on windows when GRAPHVIZ_DOT not declared HOT 8
- Override option for SVG Object Tags HOT 6
- <umlImageFormat>png</umlImageFormat> not working HOT 2
- Add support for PlantUML server HOT 3
- Document how to include custom plantuml diagrams into generated javadoc HOT 4
- Is there a way to backport the styling from v2 to v1? HOT 15
- NPE on some package level images HOT 2
- Documentation of additionalOptions HOT 7
- Regular Doclet logging turns up as warnings in maven
- Allow provide additional plantUML options(rendern with Smetana) HOT 4
- No connection is drawn for return value types HOT 2
- Enable "-link" option multiple times HOT 1
- Configure Built-In plantuml to not steal keyboard focus on MacOS X HOT 5
- Diagrams not always included in HTML
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umldoclet.