Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Use a single value for algolia version meta #1683

Merged

Conversation

patrick-east
Copy link
Contributor

As-is we have an array like `["v0.13.4", "latest"] but it seems that
we aren't referencing it as such, its trying to compare a string
version.

It looks like on the latest urls we would set the facetFilter to
be the explicit version, so we'll just stick with that for the meta
tags too.

Ref: https://discourse.algolia.com/t/docsearch-isnt-showing-results-on-newer-version-of-docs/8345/3

As-is we have an array like `["v0.13.4", "latest"]` but it seems that
we aren't referencing it as such, its trying to compare a string
version.

It looks like on the `latest` urls we would set the facetFilter to
be the explicit version, so we'll just stick with that for the meta
tags too.

Signed-off-by: Patrick East <east.patrick@gmail.com>
@patrick-east patrick-east merged commit 0d70daa into open-policy-agent:master Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant