Almost half the links to QML API documents are broken
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Ubuntu Brand Guidelines website |
Undecided
|
Stephanie | ||
| | Ubuntu Developer Portal |
High
|
David Callé | ||
Bug Description
1. Go to any of the sub-pages of "Building blocks" <https:/
2. Follow any of the links to QML API references.
What happens: 40% of the time you get a 404 page.
In particular, the number of broken QML API links on:
* <https:/
* <https:/
* <https:/
* <https:/
* <https:/
* <https:/
* <https:/
It's quite likely that most of these links worked when the guidelines were originally published. Many, though not all, of them are links to URLs of the form developer.
This suggests that a swathe of documents is being removed from developer.
What should happen: either
* documents should no longer be removed from developer.
* the developer.
* the process of removing a document from developer.
and
* the links from the "Building blocks" pages should be fixed.
| description: | updated |
| description: | updated |
| Changed in developer-ubuntu-com: | |
| assignee: | nobody → David Callé (davidc3) |
| Nicholas Skaggs (nskaggs) wrote : | #1 |
| Changed in ubuntu-brand-guidelines: | |
| status: | New → Confirmed |
| Changed in developer-ubuntu-com: | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| David Callé (davidc3) wrote : | #2 |
| Matthew Paul Thomas (mpt) wrote : | #3 |
That's a possible first step towards a solution. But right now, those URLs don't show up in search results; only the 15.04/ URL does. <https:/
So if you want to prevent this bug from happening again, I suggest either:
* Stop generating a new version of the API reference for every release. Instead, regenerate a single set of pages based on all releases, with "Introduced in:"/"Deprecated since:"/"No longer available since:" keys atop individual documents -- or, when necessary, atop functions or parameters within documents. This would make the (re)generator code more complex. But it would mean much less work for every developer in future asking the question, "If I use this new-ish API, how much of the user base will I be forsaking?"
* Prominently link from each API page to the page for the same API in every other release where it is/was available, plus "Latest release" and "In development" as appropriate. And whenever a developer.
| description: | updated |
| Changed in ubuntu-brand-guidelines: | |
| assignee: | nobody → Stephanie (wilson-steph1989) |
| Stephanie (wilson-steph1989) wrote : | #4 |
@davidc3 this has been resolved hasn't it?
| David Callé (davidc3) wrote : | #5 |
I've just checked and yes it has.
| Changed in ubuntu-brand-guidelines: | |
| status: | Confirmed → Fix Released |
| Daniel Holbach (dholbach) wrote : | #6 |
<dholbach> davidcalle, on https:/
<ubot5> Ubuntu bug 1466519 in Ubuntu Developer Portal "Almost half the links to QML API documents are broken" [High,Confirmed]
<davidcalle> dholbach, nope, we are good
| Changed in developer-ubuntu-com: | |
| status: | Confirmed → Fix Released |

Can we setup generic urls to avoid this and point to something like https:/ /developer. ubuntu. com/en/ api/apps/ qml/stable or https:/ /developer. ubuntu. com/en/ api/apps/ qml/development?