java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

Links to Reference documentation should be relative to version

Open dgarcia360 opened this issue 4 years ago • 1 comments

Context

Links pointing to the Reference Documentation generated with JavaDoc are redirected to the "latest" branch while they should point to the branch that reflects the version picked from a dropbox in the upper left corner of the site. For example 3.10.2.x or 3.7.2.x.

When "latest" is replaced with a proper version in the link everything works: https://java-driver.docs.scylladb.com/scylla-3.10.2.x/api/com/datastax/driver/core/QueryOptions.html#setReprepareOnUp-boolean-

Originally posted by @haaawk in https://github.com/scylladb/java-driver/issues/86#issuecomment-885393428

Proposal

Edit the regex to redirect to the version being previewed and not to the latest reference.

dgarcia360 avatar Jul 31 '21 05:07 dgarcia360

Need to check if still relevant

roydahan avatar Jun 13 '24 13:06 roydahan