scaladoc for Scala 3 in Debian ============================== The command is scaladoc-3 (and scaladoc, through update-alternatives, while scala3 is the selected /usr/bin/scala alternative). The command and its manual page are in scala3, so that the alternative never points to a missing file; this package brings the tool itself. The jar is /usr/share/java/scaladoc-3.9.0.jar, and org.scala-lang:scaladoc_3 is in the Maven repository for build tools. API documentation from TASTy files, Markdown and wiki syntax in doc comments, code highlighting, the member filter bar, the side menu (also -dynamic-side-menu), the type hierarchy graph, the light and dark themes and static sites (-siteroot: Markdown and HTML pages, Liquid templates, sidebar.yml, blog) work as upstream. Missing, compared with upstream's scaladoc: * The "run" button of code snippets: it opens the snippet in Scastie, whose embedded.js upstream loads from scastie.scala-lang.org. The search box, the other code snippet buttons, the versions dropdown and the contributors list work: their JavaScript (scaladoc-scalajs.js, contributors.js) is built from scaladoc-js at package build time and linked with Debian's Scala.js linker (scala-js). * Type-signature search (Inkuire, -Ygenerate-inkuire): upstream downloads a prebuilt inkuire.js at build time. The option still writes inkuire-db.json, but no page uses it. The generated pages load nothing from other sites. Of the four remote scripts upstream links in every page, the three of the type hierarchy graph (d3, graphlib-dot and dagre-d3) are written into the generated site instead, from node-d3, node-graphlib-dot and node-dagre-d3-renderer (copied into the jar at build time); Scastie's is left out, and with it the snippet "run" button. Markdown emoji are written as Unicode characters instead of images on a GitHub server. highlight.js comes from libjs-highlight.js (copied into the jar at build time) instead of upstream's minified copy, and the dotty-icons font, generated and without source in the scala3 tree, is not shipped; no page uses its glyphs. The changes are debian/patches/0003 to 0006 in the source package.