Description
Deadline: released together with 2.16 on Monday
Right now, legacy URLs (like from the Guides) pass through a fancy function that turns them into the right kind of links for the ember-api-docs. We need to modify that function to support the 2.16 packages.
So there are 2 parts that need to be addressed. One is, how do we catch that it needs to be parsed (so checking if the version is 2.16 or higher for the link) and then mapping it to the right package. Todd is finishing up the final details about how the packages are documented, which influences the links, but I think we could scaffold it out without knowing the final details. Todd will eventually have a table of info to convert from old classes to new modules
New format of sample URL, WIP http://localhost:4200/ember/2.16/classes/@ember%2Fcomponent%2Ftext-area
Old format:
http://localhost:4200/ember/2.11/classes/Ember.Component
Todos
- Make legacy redirects
/classes/Ember.Component.html
default to the latest pre-176 release (2.15.3) Fix legacy redirects #376 - Add better error handling for bad urls.
- Support legacy links with element hashes, such as
/classes/Ember.Component.html#method_didReceiveAttrs
- Map legacy classes/modules to new 176 counterparts using https://github.com/ember-cli/ember-rfc176-data/ and change redirect version back to the true current release.