v2.vuejs.org: Nested version search index problem
@maxiloc sorry to bother again, but as we are planning to merge multiple major versions of the docs under one domain (from vuejs.org
+v1.vuejs.org
to vuejs.org/v2
and vuejs.org/v1
), we realized that Algalia may end up including both versions under the same index, and the search results can be confusing.
Basically, our question is - is it possible to make one index only crawl pages under vuejs.org/v1
, while the other vuejs.org/v2
?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 19 (19 by maintainers)
Commits related to this issue
- algolia config update; resolves #37 — committed to translation-gang/ru.vuejs.org by gbezyuk 8 years ago
Yes we do have multi version capabilities. I updated the
vuejs
config to prepare for multiversion (https://github.com/algolia/docsearch-configs/commit/4b816ab9660c818ecb23bea97870cd0d58dcf52a)You just need to update the snippet
$VERSION being
v2
.When you’ll have v1 ready, we’ll add it to the config. And you can change the $VERSION to
v1
for the v1 part of the websiteDoes that makes sense ?