zencart/documentation

Search result links to code_docs

simon1066 opened this issue · 3 comments

Not too sure what's causing this but if, at https://docs.zen-cart.com, I search for template, the real-time search results look like this:

image

Clicking on the first 'Templates' link takes me to https://docs.zen-cart.com/v2/code_docs/querybuilderdefinitions/templates/#templates which is obviously not right.

[Edited] Ah yes, I see now. The v2 content is included in search results but v2 looks as though it's fallen by the wayside. Can we remove it from Search? I'm sure I can action that if necessary.

@zcwilt can we tweak the algolia config to omit some paths from search results?

Closing as a dup of #1106