Documentation: cannot link to Qt QML classes/components
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Cris Dywan |
Bug Description
staging branch, revision 2033
Description
Linking to Qt QML classes/
If you want to link to, say, the Text component while writing the documentation for a UITK component, you should be allowed to use "\l Text", and it should just work.
At the moment, it doesn't, qdoc fails with "Can't link to Text".
Looking at the current documentation, it seems the documentation writers mainly used 2 workarounds:
1) Do not link to Qt classes/
2) Hardcode the absolute URL to the Qt docs. This of course means that those links will break when the webpage at that URL will change address.
Example: links at https:/
The docs.sh script specifies that the cross-referencing of docs is only done for the ONLINE documentation, although I don't see why that is the case.
http://
Is there any reason?
If not, we should add "indexes" to the offline documentation, so that we can start fixing the documentation files by removing hardcoded URLs and adding links to Qt docs in as many places as possible :)
Related branches
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Andrea Bernabei (community): Approve
-
Diff: 79 lines (+26/-16)4 files modifieddocumentation/docs.sh (+13/-5)
documentation/ubuntu-ui-toolkit-indexes.qdocconf (+9/-0)
documentation/ubuntu-ui-toolkit-offline-indexes.qdocconf (+2/-11)
documentation/ubuntu-ui-toolkit-online-indexes.qdocconf (+2/-0)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → High |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Status changed to 'Confirmed' because the bug affects multiple users.