Skip to content

Commit 62d7223

Browse files
committed
Add library/latest to path prefixes
1 parent b242a76 commit 62d7223

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

search_interface/src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ function parseURL() {
5656
let boostVersion = undefined;
5757
let path = window.location.pathname;
5858

59+
path = path.replace('/library/latest', '/doc/libs/latest');
60+
5961
const librariesPathPrefix = '/doc/libs/';
6062
if (!path.startsWith(librariesPathPrefix)) {
6163
const learnPathPrefixes = ['/docs/', '/doc/user-guide/', '/doc/formal-reviews/', '/doc/contributor-guide/']

0 commit comments

Comments
 (0)