scylladb / java-driver

ScyllaDB Java Driver for ScyllaDB and Apache Cassandra, based on the DataStax Java Driver
Apache License 2.0
62 stars 37 forks source link

Links to Reference documentation should be relative to version #88

Open dgarcia360 opened 3 years ago

dgarcia360 commented 3 years ago

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.

roydahan commented 4 months ago

Need to check if still relevant