Skip to content

Unable to browse documentation offline #21197

@coreyoconnor

Description

@coreyoconnor

Compiler version

  • 3.4.2 (all 3.x series as far as I can tell)

Minimized code

  1. Download a javadoc jar: https://repo1.maven.org/maven2/com/lihaoyi/fansi_3/0.5.0/fansi_3-0.5.0-javadoc.jar
  2. Open index.html from jar (decompress to folder first)
  3. click a link in the left sidebar

Output

Nothing happens. The links do not change the content area.

Expectation

Expectation is documentation is usable offline. For some level of usable. Which should include the above case: Sidebar links change the content area.

Interestingly: The links do work if command-clicked - open in new tab.

Looks like there is a security failure loading the inkuire working when using the docs "offline" - via the file:// schema. Not when being served by a web server.

I rely on this for, well, ease of use really. No need to go searching for docs when they are all included in hte javadoc jar.

I assume offline file:// schema support as part of: https://github.com/glngn/sbt-alldocs

I cannot find an explicit statement that that javadoc html jars are usable directly, but that seems to be the norm.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions