Scala: install docs in expected location

IDEs look for Scala docs in a versioned folder.

Closes #20939.