Codename One Replaces Wrapped Javadoc with Hugo-Integrated API Docs

Codename One, an open-source framework for building cross-platform apps from Java or Kotlin, has overhauled how its API documentation integrates with its developer website. Previously, Javadoc pages were loaded through a JavaScript wrapper, causing mismatches in navigation, styling, and dark mode between the API docs and the rest of the site. The team built a new Maven doclet that feeds the API model directly into their Hugo static site generator, allowing both tools to handle what they do best. Each Java type now generates a Hugo content file rendered with the same theme and typography as the guide and blog, while a standard Javadoc archive is still produced for offline use. A redesigned API search index, compressed to 341 KB gzipped, lets users find API members alongside other site content within a unified interface.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in