Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single-line docs disappear when permalinked #11586

Open
szeiger opened this issue Jun 25, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@szeiger
Copy link

commented Jun 25, 2019

Single-line comments such as https://github.com/sbt/sbt-sdlc/blob/4b27e22299fe873ded8d451fe6d3ac3995a55ab7/src/sbt-test/sdlc/simple/src/main/scala/com/example/Main.scala#L4 cannot be toggle-expanded in scaladoc 2.12+ sites. They always show the single overview line.

When using the permalink to such a method (com/example/Main.html#foo(x:Int):Int in this case) this line disappears entirely, leaving only the signature. Clicking on it does not toggle the line. The only way to get it back is to remove the link fragment.

Tested with Scaladoc 2.12.8 and 2.13.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.