doclava | new javadoc doclet which is written by Google | Android library
kandi X-RAY | doclava Summary
kandi X-RAY | doclava Summary
Doclava is a new javadoc doclet which is written by Google and used for Android Developer Docs. Clear and efficient(support search). This project is forked from and with a few style modification.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parses a link .
- Builds a HDF .
- Start the RootDoc
- Writes Docl to DoclFile .
- Generate the data for the sites .
- Loads the contents of an include .
- Determine if the superclass can be called .
- Writes the given string to the given data .
- Given an array of classes return the data .
- Check API arguments .
doclava Key Features
doclava Examples and Code Snippets
Community Discussions
Trending Discussions on doclava
QUESTION
I'm looking for a way to customize the html generated by Dokka to include a custom header and a footer. I've previously used Doclava in order to override the template for the generated HTML and was wondering if there was a way to do this in Dokka. Looking through their code, I came across the appendHeader and appendFooter functions but wasn't sure on how I can override these methods. https://github.com/Kotlin/dokka/blob/de2f32d91fb6f564826ddd7644940452356e2080/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt#L10
My last resort is to modify the generated html files with a script by inserting a header after the first body tag and inserting the footer before the closing tag but hopefully there's a more elegant solution.
Any help would be greatly appreciated. Thanks!
Edit: Ended up creating a hacky bash script
...ANSWER
Answered 2020-Apr-04 at 19:44That's currently impossible I'm afraid. At least it's not straightforward. You can override content generation in StructuredFormatService
and then recompile dokka.
In dokka v0.11.0 we added support for plugins (and rewritten dokka from scratch) and this functionality is one of planned plugins
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install doclava
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page