boostorg / boostorg/website-v2-docs

"current version" link on older versions' pages uses wrong URL

Open
#551 0 comments 0 reactions 1 assignee Claimed by @daveoconnor View on GitHub
Bug
Dominant language
JavaScript
Stars
14
Forks
60
Avg merge
12h 47m
Merged PRs (30d)
14

Description

Example:
Boost.URL 1.85.0 Segments (https://www.boost.org/doc/libs/1_85_0/libs/url/doc/html/url/urls/segments.html )'s "current version" links to https://www.boost.org/doc/libs/latest/libs/url/doc/html/url/urls/segments.html , which results in 404. The correct target is https://www.boost.org/doc/libs/latest/doc/antora/url/urls/segments.html .

Instead of replacing `1_85_0/` with `latest/`, the algorithm should replace `1_85_0/libs/url/doc/html/` with `latest/doc/antora/`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.