This results in duplicate indexes for the Ember project deprecations.
We can solve this in a number of ways.
we should consider creating a redirect for https://emberjs.com/deprecations/v2.x to always include the project in the url. This will help with SEO duplicate content issues
we could use the "ignorePaths" functionality of ember-cli-deploy-prember-algolia to ignore projectless urls
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.xThis 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