dips
dips

Reputation: 1637

How to change scaladoc default ordering to "by inheritance"?

I generate scaladoc by using the sbt command doc. The generated scaladoc has default ordering set to Alphabetic. I can manually change it to By inheritance, but when I visit another class documentation, the ordering reverts back to alphabetic.

Is there a way to generate scaladoc with default ordering set to By inheritanace?

Upvotes: 2

Views: 161

Answers (1)

Brian Smith
Brian Smith

Reputation: 3381

At present there is no way to generate scaladoc with default ordering set to By Inheritance.

The page template hard codes the initial value and switching is handled by some jQuery event listeners.

It should be possible to write a simple script and attach it with TamperMonkey or similar that will run the equivalent to click() for you.

Upvotes: 1

Related Questions