ember-learn / ember-api-docs

Ember API Docs viewer
https://api.emberjs.com
MIT License
72 stars 116 forks source link

Page not found in API documentation #801

Open lfekson opened 2 years ago

lfekson commented 2 years ago

"ACK! 404 FRIEND, YOU'RE IN THE WRONG PLACE" when you click on https://api.emberjs.com/ember/release/classes/TextField link on https://api.emberjs.com/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input page or on any similar link on this page.

jacobq commented 2 years ago

Thanks for reporting. When I've run into stuff like this before, annoying as it is, I've often found that it's due to deprecated or removed API (i.e. the thing being referred to doesn't exist in the version you're looking at, but the text/links haven't been updated to reflect this). I do hope that someone will fix the docs site generator code to better support historical versions (e.g. when viewing the v3.28 docs I don't want links to jump to release/4.x version). In the meantime, however, once you know about this, you can try replacing release with 3.28 (or whatever version you want) in the URL.

In this case, built-in components were removed in 4.x. If you want to continue using them you have to add them back via a legacy addon. You can see the docs for the 3.28 version, which still included that deprecated feature here: https://api.emberjs.com/ember/3.28/classes/TextField