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

Algolia Search : transformItems not work #614

Closed
4 tasks done
Alsmile opened this issue Apr 26, 2022 · 3 comments
Closed
4 tasks done

Algolia Search : transformItems not work #614

Alsmile opened this issue Apr 26, 2022 · 3 comments
Labels
enhancement New feature or request theme Related to the theme

Comments

@Alsmile
Copy link

Alsmile commented Apr 26, 2022

Is your feature request related to a problem? Please describe.

Algolia Search : transformItems not work.

image

Describe the solution you'd like

I want http://hostname/prefix/guide/ -> http://hostname/guide/

Describe alternatives you've considered

No response

Additional context

No response

Validations

@kiaking kiaking added enhancement New feature or request theme Related to the theme labels May 24, 2022
@initdc
Copy link

initdc commented May 28, 2022

Two ways

  1. reform your source code dir struct
  2. rewrite URL with Cloudflare transform rule

@initdc
Copy link

initdc commented May 28, 2022

console.log(item.url) first

@brc-dd
Copy link
Member

brc-dd commented Jan 4, 2023

Not possible to do it using config as functions are not serializable (x-ref #1381 (comment)). Manually create an Algolia component and register it in on of the navbar slots.

@brc-dd brc-dd closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request theme Related to the theme
Projects
None yet
Development

No branches or pull requests

4 participants