ember-learn / deprecation-app

Deprecation guides for ember.js, ember-data, and ember-cli
https://deprecations.emberjs.com/
22 stars 69 forks source link

Fix search index duplicates for paths ember/2.x and 2.x #212

Open mansona opened 6 years ago

mansona commented 6 years ago

Currently there is an "alias" for ember deprecations that removes the need for project dynamic segment in the url. If you go to https://emberjs.com/deprecations/ember/v2.x it will have the same content as https://emberjs.com/deprecations/v2.x

This results in duplicate indexes for the Ember project deprecations.

We can solve this in a number of ways.

Once we solve this problem we can remove this defensive programming implementation: https://github.com/ember-learn/deprecation-app/blob/master/app/templates/components/search-result.hbs#L1

kennethlarsen commented 5 years ago

👋 @mansona - is this still relevant? If so could you give me a quick intro on Discord on the best way to solve this