faylixe / marklet Goto Github PK
View Code? Open in Web Editor NEWMarklet is a custom Java Doclet which aims to generate a Javadoc in a markdown format which is ready to use in GitHub.
License: Apache License 2.0
Marklet is a custom Java Doclet which aims to generate a Javadoc in a markdown format which is ready to use in GitHub.
License: Apache License 2.0
Remove methods that are inherited without additional documentation.
Implements generic type link generation.
Add summary as detail as well.
Constructor link faces some issues :
Adds inherited method to the class summary section.
I think there are scenarios (like for Slate) where you'd want to have .html.md
, but for GitHub pages, .md
all the way is the right way.
I introduced this mess, and I will send a patch fixing it ๐
Link to anchor are not correctly generated when external type are referenced.
I'm wondering if there's an easy way of integrating this to Android Studio, or any IntelliJ IDE for that matter.
As it stands, I'm generating my POM file through Gradle, and wouldn't necessarily know how to add the required settings into the POM file after the fact. Here's some code:
pomXml = {
final dependenciesNode = asNode().appendNode('dependencies')
ext.addDependency = { Dependency dep, String scope ->
if (dep.group == null || dep.version == null || dep.name == null || dep.name == "unspecified")
return // ignore invalid dependencies
final dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', dep.group)
dependencyNode.appendNode('artifactId', dep.name)
dependencyNode.appendNode('version', dep.version)
dependencyNode.appendNode('scope', scope)
if (!dep.transitive) {
// If this dependency is not transitive, we should force exclude all its dependencies from the POM
final exclusionNode = dependencyNode.appendNode('exclusions').appendNode('exclusion')
exclusionNode.appendNode('groupId', '*')
exclusionNode.appendNode('artifactId', '*')
} else if (!dep.properties.excludeRules.empty) {
// Otherwise add specified exclude rules
final exclusionNode = dependencyNode.appendNode('exclusions').appendNode('exclusion')
dep.properties.excludeRules.each { ExcludeRule rule ->
exclusionNode.appendNode('groupId', rule.group ?: '*')
exclusionNode.appendNode('artifactId', rule.module ?: '*')
}
}
}
configurations.api.getDependencies().each { dep -> addDependency(dep, "compile") }
configurations.implementation.getDependencies().each { dep -> addDependency(dep, "runtime") }
}
Thanks!
Add inline rendenring for @link tags.
Finalizes method / constructor linking into Summary section.
It has been a couple of days since the 1.1.0 release has been cut, but http://repo1.maven.org/maven2/fr/faylixe/marklet/ is still missing a 1.1.0 folder. I'd either try to re-do the upload to Maven Central or change the documentation to include a repository that does have 1.1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.