hanami/hanami.github.io

Update search to only show newest version

cllns opened this issue · 4 comments

cllns commented

image

Those are links to:

  • /guides/1.0/actions/rack-integration/
  • /guides/1.1/actions/rack-integration/
  • /guides/actions/rack-integration/ (which is same as 1.1 right now)

I think we should just link to the last one. What do others think? @davydovanton @hanami/core

@cllns that's a good suggestion, I'd like to know if we can search in the current version you have selected, that would be amazing, don't you think?

I can try to research it 👍

@cllns @davydovanton I tried to fix it so now search only looks in the folder of the latest version folder. So now trying to search middleware shows this instead of the above:

screen shot 2018-03-18 at 23 41 38

This is resolved by #454