Skip to content

Commit 9922530

Browse files
committed
Change libraries url prefix to /doc/libs/latest
1 parent c244f72 commit 9922530

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

search_interface/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ if (searchDemo) {
2929
<SearchDialog
3030
themeMode={themeMode}
3131
fontFamily={fontFamily}
32-
versionWarning={!!boostVersion && boostVersion !== currentBoostVersion}
32+
versionWarning={!!boostVersion && boostVersion !== currentBoostVersion && boostVersion !== 'latest'}
3333
library={library}
3434
onLearnPages={onLearnPages}
35-
librariesUrlPrefix={window.location.origin + `/doc/libs/${currentBoostVersion}`}
35+
librariesUrlPrefix={window.location.origin + '/doc/libs/latest'}
3636
learnUrlPrefix={window.location.origin + '/doc/'}
3737
librariesAlgoliaIndex={currentBoostVersion}
3838
learnAlgoliaIndex={'learn'}

0 commit comments

Comments
 (0)