docs src format needs fixing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-webapps-qml |
Fix Released
|
High
|
Alexandre Abreu | ||
unity-webapps-qml (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
yuidoc is the doc build system.
The yuidoc build of the unity-webapps-qml API docs for JavaScript fails to produce usable content because yuidocs requirements are not met. (The build succeeds but there are no useful pages.)
I think the problem is that there must be @class and@module yuidoc params in source, but there are none.
For example look here:
http://
And you will see this:
/**
* A Button.
Note the Ubuntu CSS style classes: <em>success</em>, <em>warning</em>, and <em>danger</em>
* @class Button
* @constructor
* @namespace UbuntuUI
* @example
<button data-role="button" id="buttonID"
Javascript access:
var button = UI.button(
*/
These requirements are explained here: http://
Related branches
- David Barth (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 844 lines (+442/-54)14 files modifiedexamples/api-bindings/alarm/www/js/app.js (+5/-5)
examples/api-bindings/content-hub-exporter/www/js/app.js (+1/-1)
examples/api-bindings/content-hub/www/js/app.js (+1/-1)
examples/api-bindings/online-accounts/www/js/app.js (+1/-1)
examples/data/html/big-test.js (+1/-1)
examples/data/userscripts/unity-webapps-bbcnews/BBCNews.user.js (+1/-1)
examples/data/userscripts/unity-webapps-facebookmessenger/FacebookMessenger.user.js (+1/-1)
src/Ubuntu/UnityWebApps/bindings/alarm-api/client/alarm-api.js (+142/-5)
src/Ubuntu/UnityWebApps/bindings/content-hub/client/content-hub.js (+205/-17)
src/Ubuntu/UnityWebApps/bindings/online-accounts/client/online-accounts.js (+80/-17)
src/Ubuntu/UnityWebApps/unity-webapps-api.js.in (+1/-1)
tests/unit/test_plugin/data/installed-webapps/invalid/valid.user.js (+1/-1)
tests/unit/test_plugin/data/installed-webapps/unity-webapps-valid/valid.user.js (+1/-1)
tests/unit/test_plugin/data/installed-webapps/unity-webapps-with-requires-valid/valid.user.js (+1/-1)
Changed in unity-webapps-qml: | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in unity-webapps-qml: | |
status: | Fix Committed → Fix Released |
This shows how I generate html docs from yudioc formatted JS src in ubuntu-html5-theme: /bugs.launchpad .net/ubuntu- html5-theme/ +bug/1241029/ comments/ 16
https:/