ember-learn / ember-learn/ember-api-docs
Some internal links lead to server error pages
- Lingua principale
- JavaScript
- Stelle
- 75
- Fork
- 111
- Merge medio
- 45m
- PR unite (30g)
- 1
Descrizione
I was looking at the page https://api.emberjs.com/ember/3.9/classes/Location, and when attempting to click on one of the links within the page resulting in the following server error:
`Cannot GET /api/ember/release/classes/HashLocation`

The main issue being that the relative path defined in the ember.js repository is pointing to `/api/ember/...` instead of `/ember/...`. Removing the `/api` portion of the URL takes me to the correct location.
I have found that the issue on this particular page goes as far back as 2.16. Which, for the same link, gives the error `Cannot GET /api/classes/Ember.Location.HashLocation`.

Again, removing the `/api` portion of the 2.16 URL does redirect me to the correct page on the current release.
There is the potential for an issue to be opened up on the ember.js repo to update the relative links within the documentation for the current release going forward, but figured I'd start here first.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo i link non funzionanti della pagina Location di Ember 3.9 e confrontali con quelli della pagina corrispondente della versione 2.16. Traccia il modo in cui il visualizzatore della documentazione API costruisce questi URL relativi e identifica dove viene introdotto il segmento /api aggiuntivo. Il lavoro è completato quando i link interessati puntano alle pagine di documentazione corrette nelle versioni segnalate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- documentation
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100