Merge lp:~daker/ubuntu-html5-theme/fix.docs-theme into lp:~ubuntu-html5-theme-devs/ubuntu-html5-theme/ambiance

Proposed by Adnane Belmadiaf
Status: Needs review
Proposed branch: lp:~daker/ubuntu-html5-theme/fix.docs-theme
Merge into: lp:~ubuntu-html5-theme-devs/ubuntu-html5-theme/ambiance
Diff against target: 2404 lines (+1905/-250)
18 files modified
0.1/ambiance/js/popovers.js (+2/-2)
0.1/ambiance/js/yuidoc-theme/assets/css/base.css (+643/-0)
0.1/ambiance/js/yuidoc-theme/assets/css/html5.css (+828/-0)
0.1/ambiance/js/yuidoc-theme/assets/css/reset.css (+8/-0)
0.1/ambiance/js/yuidoc-theme/assets/css/scratch.css (+104/-0)
0.1/ambiance/js/yuidoc-theme/assets/js/breadcrumbs.js (+21/-0)
0.1/ambiance/js/yuidoc-theme/assets/js/tabs.js (+0/-67)
0.1/ambiance/js/yuidoc-theme/layouts/main.handlebars (+177/-29)
0.1/ambiance/js/yuidoc-theme/partials/attrs.handlebars (+1/-1)
0.1/ambiance/js/yuidoc-theme/partials/classes.handlebars (+6/-17)
0.1/ambiance/js/yuidoc-theme/partials/events.handlebars (+1/-2)
0.1/ambiance/js/yuidoc-theme/partials/files.handlebars (+1/-2)
0.1/ambiance/js/yuidoc-theme/partials/index.handlebars (+11/-13)
0.1/ambiance/js/yuidoc-theme/partials/method.handlebars (+20/-9)
0.1/ambiance/js/yuidoc-theme/partials/module.handlebars (+1/-2)
0.1/ambiance/js/yuidoc-theme/partials/props.handlebars (+1/-1)
0.1/ambiance/js/yuidoc-theme/partials/sidebar.handlebars (+78/-104)
package.json (+2/-1)
To merge this branch: bzr merge lp:~daker/ubuntu-html5-theme/fix.docs-theme
Reviewer Review Type Date Requested Status
Kyle Nitzsche Needs Fixing
Review via email: mp+193721@code.launchpad.net

Commit message

Updated the theme to match the Ubuntu theme

To post a comment you must log in.
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Adnane, thanks for the nice theme work!

One issue is how we support headings in the intro text for each class. YUIDOC supports Markdown, and in the previous theme, I had used six leading hash characters for the heading text. These were converted to <h5>s, which were quite visible, being bold and larger, as you can see here:
http://people.canonical.com/~knitzsche/yuidoc-ubuntu-html5-theme/latest/classes/UbuntuUI.Pagestack.html

(Search for "Default application wide footer")

In this proposed theme, such headers are no longer different from normal text and therefore can't be seen well:
http://people.ubuntu.com/~daker/ubuntu-html5-theme/docs/classes/UbuntuUI.Pagestack.html

And I also notice that you changed the number of hash marks in popover.js from six to three: see "Popover Position" header on this page of yours: http://people.ubuntu.com/~daker/ubuntu-html5-theme/docs/classes/UbuntuUI.Popover.html

So, two things:
1) I prefer three hash marks to six, but: Can you modify the style so that the heading is bold? I find that in your theme is does not stand out enough.
3) Can you modify all other instances of the six hash marks to the new three hash marks so that we don't visually lose existing headers?

review: Needs Fixing
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Another possible issue: There needs to be an obvious way to get back to the true index.html/starting page.

In my (previous) theme, if you click the Ubuntu logo at the top, it takes you to this page: file:///home/knitzsche/touch-sdk/ubuntu-html5-theme-yuidoc/0.1/ambiance/js/build/index.html

That page contains introductory text that should not be lost to a user navigating the API docs.

I don't see how to navigate back to that page from this proposed theme.

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

One more possible issue: this theme is built to contain the dev.u.com banner. But that banner should probably not be a part of build docs but should be part of the larger website, I would think. (We don't want to introduce a requirement that when the main banner changes, we also have to change it in our theme dir in order to stay synchronized). Probably mhall and dplanella have important input here.

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Probably my last point is not quite right, just consider it Adnane.

Also, if it will make your life easier, I'll be glad to fix the markdown to three leading hash chars throughout. Just let me know.

Unmerged revisions

92. By Adnane Belmadiaf

Updated the theme to match the Ubuntu theme

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '0.1/ambiance/js/popovers.js'
--- 0.1/ambiance/js/popovers.js 2013-11-01 15:40:10 +0000
+++ 0.1/ambiance/js/popovers.js 2013-11-03 22:06:55 +0000
@@ -26,7 +26,7 @@
26A Popoves often contain a List whose items are connected to useful JavaScript functions.26A Popoves often contain a List whose items are connected to useful JavaScript functions.
2727
2828
29######Popover Position29###Popover Position
30The Popover's position is set relative to a specified base element with the <em>data-gravity="LETTER"</em> attribute. LETTER values:30The Popover's position is set relative to a specified base element with the <em>data-gravity="LETTER"</em> attribute. LETTER values:
3131
32 - 'n': the base element is above the Popover32 - 'n': the base element is above the Popover
@@ -63,7 +63,7 @@
63};63};
6464
65Popover.prototype = {65Popover.prototype = {
66 /** 66 /**
67 * Display a Popover67 * Display a Popover
68 * @method show68 * @method show
69 */69 */
7070
=== added file '0.1/ambiance/js/yuidoc-theme/assets/css/base.css'
--- 0.1/ambiance/js/yuidoc-theme/assets/css/base.css 1970-01-01 00:00:00 +0000
+++ 0.1/ambiance/js/yuidoc-theme/assets/css/base.css 2013-11-03 22:06:55 +0000
@@ -0,0 +1,643 @@
1/**
2* Ubuntu Developer base stylesheet
3*
4* A base stylesheet containing site-wide styles
5*
6* @project Ubuntu Developer
7* @version 1.0
8* @author Canonical Web Team: Steve Edwards
9* @copyright 2011 Canonical Ltd.
10*/
11
12/**
13* @section Global
14*/
15
16body {
17 font-family: 'Ubuntu', 'Ubuntu Beta', UbuntuBeta, Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif;
18 font-size: 13px;
19 line-height: 1.4;
20 color: #333;
21}
22a {
23 color: #dd4814;
24 text-decoration: none;
25 outline: 0;
26}
27p, dl {
28 margin-bottom: 10px;
29}
30strong {
31 font-weight: bold;
32}
33em {
34 font-style: italic;
35}
36code{
37 padding: 0;
38 font-family: 'Ubuntu Mono', 'Consolas', 'Monaco', 'DejaVu Sans Mono', Courier, monospace;
39}
40
41/* Fix */
42pre.code {
43 background-color: #F6F6F6!important;
44 border: 1px solid #E6E6E6!important;
45 border-collapse: separate!important;
46 margin-bottom: 2.5em;
47 padding: 10px!important;
48}
49/* ENDFIX */
50
51h1 {
52 font-size: 36px;
53 line-height: 1.1;
54 margin-bottom: 20px;
55}
56article h1,
57h2 {
58 font-size: 24px;
59 line-height: 1.2;
60 margin-bottom: 14px;
61}
62h3 {
63 font-size: 16px;
64 line-height: 1.3;
65 margin-bottom: 8px;
66}
67h4 {
68 font-weight: bold;
69}
70
71time {
72 color:#999;
73}
74
75/**
76* @section Structure
77*/
78
79.header-login,
80.header-navigation div,
81.header-content div {
82 margin: 0 auto;
83 width: 940px;
84}
85
86.header-content h1{
87 background-color:#ffffff;
88 display:inline-block;
89}
90
91.header-content h2{
92 background-color:#ffffff;
93 display:table;
94}
95
96.header-login ul {
97 margin: 4px 0;
98 float: right;
99}
100.header-login li {
101 margin-right: 10px;
102 float: left;
103}
104.header-login a {
105 color: #333;
106}
107.header-navigation {
108 border-top: 2px solid #dd4814;
109 border-bottom: 2px solid #dd4814;
110 background-color: #fff;
111 height: 54px;
112 clear: right;
113 overflow: hidden;
114}
115.header-navigation nav ul {
116 border-right: 1px solid #dd4814;
117 float: right;
118}
119.header-navigation nav li {
120 border-left: 1px solid #dd4814;
121 float: left;
122 height: 54px;
123}
124.header-navigation nav a {
125 padding: 18px 14px 0;
126 font-size: 14px;
127 display: block;
128 height: 36px;
129}
130.header-navigation nav a:hover {
131 background-color: #fcece7;
132}
133.header-navigation nav .current_page_item a,
134.header-navigation nav .current_page_parent a,
135.header-navigation nav .current_page_ancestor a {
136 background-color: #dd4814;
137 color: #fff;
138}
139.header-navigation input {
140 margin: 12px 10px 0 10px;
141 padding: 5px;
142 border-top: 1px solid #a1a1a1;
143 border-right: 1px solid #e0e0e0;
144 border-bottom: 1px solid #fff;
145 border-left: 1px solid #e0e0e0;
146 width: 90px;
147 font-style: italic;
148 color: #ccc;
149 -moz-border-radius: 3px;
150 -webkit-border-radius: 3px;
151 border-radius: 3px;
152 -moz-box-shadow: inset 0 1px 1px #e0e0e0;
153 -webkit-box-shadow: inset 0 1px 1px #e0e0e0;
154 box-shadow: inset 0 1px 1px #e0e0e0;
155}
156.header-navigation h2 {
157 margin: 18px 0 0 6px;
158 text-transform: lowercase;
159 font-size: 22px;
160 color: #dd4814;
161 float: left;
162}
163.header-navigation .logo-ubuntu {
164 margin-top: 12px;
165 float: left;
166}
167.header-content .header-navigation-secondary {
168 margin-bottom: 40px;
169 padding: 0;
170 position: relative;
171 z-index: 2;
172}
173.header-navigation-secondary div {
174 padding: 0;
175 border: 2px solid #dd4814;
176 -moz-border-radius: 0px 0px 4px 4px;
177 -webkit-border-radius: 0px 0px 4px 4px;
178 border-radius: 0px 0px 4px 4px;
179 background: #fff;
180 border-top: 0px;
181 width: 936px;
182}
183.header-navigation-secondary nav li {
184 float: left;
185}
186.header-navigation-secondary nav li a {
187 color: #333;
188 display: block;
189 height: 25px;
190 padding: 8px 8px 0;
191}
192.header-navigation-secondary nav li:hover,
193.header-navigation-secondary nav .current_page_item a {
194 background: url("../img/sec-nav-hover.gif");
195}
196.header-content {
197 padding-bottom: 30px;
198 border-bottom: 1px solid #e0e0e0;
199 -moz-box-shadow: 0 1px 3px #e0e0e0;
200 -webkit-box-shadow: 0 1px 3px #e0e0e0;
201 box-shadow: 0 1px 3px #e0e0e0;
202 margin-bottom: 3px;
203 position: relative;
204 overflow: hidden;
205}
206footer {
207 padding: 10px 10px 40px 10px;
208 position: relative;
209 -moz-border-radius: 0 0 4px 4px;
210 -webkit-border-radius: 0 0 4px 4px;
211 border-radius: 0 0 4px 4px;
212 font-size: 12px;
213 background: url("../img/background-footer.png") repeat scroll 0 0 #f7f6f5;
214}
215footer div {
216 margin: 0 auto;
217 padding: 0 10px;
218 width: 940px;
219}
220footer a {
221 color: #000;
222}
223footer nav ul {
224 margin: 10px 17px 30px 0;
225 width: 172px;
226 display: inline-block;
227 vertical-align: top;
228 height: auto;
229 zoom: 1;
230 *display: inline;
231}
232footer nav ul.last {
233 margin-right: 0;
234}
235footer nav li {
236 margin-bottom: 8px;
237}
238footer nav li:first-child {
239 font-weight: bold;
240}
241footer p {
242 margin-bottom: 0;
243}
244#content {
245 padding-top: 35px;
246}
247.arrow-nav {
248 display: none;
249 position: absolute;
250 top: -1px;
251 z-index: 3;
252}
253.shadow {
254 margin: 30px 0 3px 0;
255 border-bottom: 1px solid #e0e0e0;
256 -moz-box-shadow: 0 2px 3px #e0e0e0;
257 -webkit-box-shadow: 0 2px 3px #e0e0e0;
258 box-shadow: 0 2px 3px #e0e0e0;
259 height: 3px;
260}
261
262/**
263* @section Site-wide
264*/
265
266#content h2{
267 font-size:24px;
268}
269
270.box-orange {
271 padding: 10px;
272 border: 3px solid #dd4814;
273 -moz-border-radius: 4px;
274 -webkit-border-radius: 4px;
275 border-radius: 4px;
276}
277.box-orange .link-action-small {
278 float: right;
279 margin: 0 0 0 20px;
280}
281.link-bug {
282 margin-left: 10px;
283 color: #999;
284}
285.link-action {
286 float: left;
287 margin-bottom: 20px;
288 padding: 8px 12px;
289 display: block;
290 background-color: #dd4814;
291 color: #fff;
292 -moz-border-radius: 20px;
293 -webkit-border-radius: 20px;
294 border-radius: 20px;
295 font-size: 16px;
296 line-height: 1.3;
297 border-top: 3px solid #e6633a;
298 border-bottom: 3px solid #c03d14;
299}
300.link-action2 {
301 float: left;
302 display: block;
303 color: #fff;
304 font-size: 16px;
305 line-height: 1.3;
306}
307.link-action2 span{
308 display:block;
309 float:left;
310}
311.link-action2 .cta-left{
312 background:url(../img/button-cta-left.png) no-repeat;
313 width:22px;
314 height:48px;
315}
316.link-action2 .cta-center{
317 background:url(../img/button-cta-slice.png) repeat-x;
318 line-height:45px;
319 height:48px;
320}
321.link-action2 .cta-right{
322 background:url(../img/button-cta-right.png) no-repeat;
323 width:22px;
324 height:48px;
325}
326
327.link-action-small {
328 float: left;
329 display: block;
330 color: #fff;
331 font-size: 16px;
332}
333.link-action-small span{
334 display:block;
335 float:left;
336 height:42px;
337}
338.link-action-small .cta-left{
339 background:url(../img/button-cta-left-small.png) no-repeat;
340 width:19px;
341}
342.link-action-small .cta-center{
343 background:url(../img/button-cta-slice-small.png) repeat-x;
344 line-height:42px;
345}
346.link-action-small .cta-right{
347 background:url(../img/button-cta-right-small.png) no-repeat;
348 width:19px;
349}
350
351.link-action:active {
352 position: relative;
353 top: 1px;
354}
355.link-action2:active {
356 position: relative;
357 top: 1px;
358}
359.link-action-small:active {
360 position: relative;
361 top: 1px;
362}
363.list-bullets li {
364 margin-bottom: 10px;
365 list-style: disc;
366 list-style-position: inside;
367}
368.box {
369 margin-bottom: 30px;
370 padding: 15px;
371 border: 1px solid #aea79f;
372 -moz-border-radius: 4px;
373 -webkit-border-radius: 4px;
374 border-radius: 4px;
375}
376.box-padded {
377 margin-bottom: 30px;
378 padding: 5px;
379 border: 2px solid #aea79f;
380 -moz-border-radius: 4px;
381 -webkit-border-radius: 4px;
382 border-radius: 4px;
383 background: url("../img/pattern-featured.gif") repeat scroll 0 0 #ebe9e7;
384 overflow: hidden;
385}
386.box-padded h3 {
387 margin: 5px 0 10px 5px;
388}
389.box-padded div {
390 padding: 10px;
391 border: 1px solid #aea79f;
392 -moz-border-radius: 4px;
393 -webkit-border-radius: 4px;
394 border-radius: 4px;
395 background-color: #fff;
396 overflow: hidden;
397}
398.box-padded li {
399 padding: 0 10px;
400 float: left;
401 width: 211px;
402 border-right: 1px dotted #aea79f;
403}
404.box-padded li.first {
405 padding: 0;
406 margin-bottom: 0;
407}
408.box-padded li.last {
409 border: 0;
410 width: 217px;
411}
412.box-padded img {
413 margin: 0 10px 50px 0;
414 float: left;
415 -moz-border-radius: 8px;
416 -webkit-border-radius: 8px;
417 border-radius: 8px;
418}
419.box-clear {
420 margin-bottom: 40px;
421}
422.box-clear .grid-4.first {
423 margin-right: 15px;
424 padding-right: 15px;
425}
426.box-clear .grid-4 {
427 margin-left: 0;
428 margin-right: 10px;
429 padding-right: 10px;
430 width: 298px;
431}
432.box-clear time {
433 display: block;
434 border-bottom: 1px dotted #aea79f;
435 padding-bottom: 10px;
436 margin-bottom: 10px;
437}
438.box-clear div.first {
439 border-right: 1px dotted #aea79f;
440}
441.box-clear a {
442 display: block;
443}
444.box-clear .rss {
445 background: url("../img/rss.jpg") no-repeat scroll 0 center;
446 padding-left: 20px;
447}
448.box-clear .location {
449 display: block;
450 margin-bottom: 1px;
451}
452.box-clear .last {
453 margin: 0;
454 padding-right: 0;
455 -moz-border-radius: 4px;
456 -webkit-border-radius: 4px;
457 border-radius: 4px;
458 width: 293px;
459}
460
461/* Widgets */
462
463.ui-state-focus {
464 outline: none;
465}
466.ui-accordion {
467 border-bottom: 1px dotted #aea79f;
468}
469.ui-accordion a {
470 display: block;
471}
472.ui-accordion h3 {
473 margin-bottom: 0;
474 border-top: 1px dotted #aea79f;
475 position: relative;
476 font-size: 13px;
477 font-weight: bold;
478}
479.ui-accordion h3 a {
480 padding: 10px 0;
481 color: #333;
482}
483.ui-accordion h4 {
484 margin-bottom: 5px;
485}
486.ui-accordion div fieldset {
487 padding-bottom: 5px;
488}
489.ui-accordion div li,
490.ui-accordion div input {
491 margin-bottom: 10px;
492}
493.ui-accordion .ui-icon {
494 position: absolute;
495 top: 15px;
496 right: 0;
497 display: block;
498 width: 8px;
499 height: 8px;
500 background: url("../img/icon-accordion-inactive.png") 0 0 no-repeat transparent;
501}
502.ui-accordion .ui-state-active .ui-icon {
503 background-image: url("../img/icon-accordion-active.png");
504}
505.ui-accordion .current_page_item a {
506 color: #333;
507}
508.container-tweet {
509 -moz-border-radius: 4px 4px 4px 4px;
510 -webkit-border-radius: 4px 4px 4px 4px;
511 border-radius: 4px 4px 4px 4px;
512 padding: 10px 10px 10px;
513 background-color: #f7f7f7;
514}
515.container-tweet .tweet-follow {
516 margin-top: 10px;
517 margin-bottom: -10px;
518 padding-left: 55px;
519 padding-bottom: 6px;
520 background: url("../img/tweet-follow.png") 0 5px no-repeat;
521 display: block;
522}
523.container-tweet .tweet-follow span {
524 font-size: 16px;
525 font-weight: bold;
526 line-height: 1.2;
527 display: block;
528}
529.tweet a {
530 display: inline;
531}
532.tweet .tweet_text {
533 padding: 10px;
534 background-color: #fff;
535 -moz-border-radius: 4px 4px 4px 4px;
536 -webkit-border-radius: 4px 4px 4px 4px;
537 border-radius: 4px 4px 4px 4px;
538 border: 1px solid #dd4814;
539 font-size: 16px;
540 display: block;
541 clear: both;
542}
543.tweet.tweet-small .tweet_text {
544 font-size: inherit;
545}
546.tweet .tweet_text a {
547 color: #333;
548}
549.tweet .tweet_time,
550.tweet .tweet_user_and_time {
551 padding: 15px 0 10px 0;
552 position: relative;
553 top: -2px;
554 background: url("../img/tweet-arrow.png") no-repeat;
555 display: block;
556}
557.tweet .tweet_odd .tweet_time,
558.tweet .tweet_odd .tweet_user_and_time {
559 background-position: right 0;
560 float: right;
561}
562.tweet .tweet_even .tweet_time,
563.tweet .tweet_even .tweet_user_and_time {
564 background-position: left 0;
565 float: left;
566}
567
568/* Search */
569
570#content .list-search li {
571 list-style-type:none;
572 border:0px;
573 margin-bottom: 15px;
574 padding-top: 15px;
575}
576
577/* Blog */
578
579.blog-article #nav-single {
580 margin-top: 30px;
581 margin-bottom: 30px;
582}
583.blog-article #nav-single .nav-next {
584 float: right;
585}
586.blog-article article header .entry-meta {
587 margin-bottom: 20px;
588}
589.blog-article article .entry-meta {
590 color: #999;
591}
592.blog-article #respond form input[type="submit"] {
593 float: left;
594 cursor: pointer;
595 margin-bottom: 20px;
596 padding: 8px 12px;
597 display: block;
598 background-color: #dd4814;
599 color: #fff;
600 -moz-border-radius: 20px;
601 -webkit-border-radius: 20px;
602 border-radius: 20px;
603 font-size: 16px;
604 line-height: 1.3;
605 border-top: 3px solid #e6633a;
606 border-left: 3px solid #e6633a;
607 border-right: 3px solid #e6633a;
608 border-bottom: 3px solid #c03d14;
609}
610.blog-article #respond form input[type="submit"]:active {
611 position: relative;
612 top: 1px;
613}
614
615.alignnone{
616 float:left;
617 margin:10px 20px 10px 0;
618}
619.alignleft{
620 float:left;
621 margin:10px 20px 10px 0;
622}
623.alignright{
624 float:right;
625 margin:10px 0 10px 20px;
626}
627
628.aligncenter{
629 float:left;
630 margin:10px 20px 10px 0;
631}
632.entry-content h2, .entry-content h3{
633 margin-top:20px;
634}
635.entry-content ul li{
636 list-style-type: circle;
637 margin-left:16px;
638}
639
640.entry-content hr{
641 border:none;
642 border-top: 1px dotted #AEA79F;
643}
0644
=== removed file '0.1/ambiance/js/yuidoc-theme/assets/css/external-small.png'
1Binary files 0.1/ambiance/js/yuidoc-theme/assets/css/external-small.png 2013-10-17 16:34:23 +0000 and 0.1/ambiance/js/yuidoc-theme/assets/css/external-small.png 1970-01-01 00:00:00 +0000 differ645Binary files 0.1/ambiance/js/yuidoc-theme/assets/css/external-small.png 2013-10-17 16:34:23 +0000 and 0.1/ambiance/js/yuidoc-theme/assets/css/external-small.png 1970-01-01 00:00:00 +0000 differ
=== added file '0.1/ambiance/js/yuidoc-theme/assets/css/html5.css'
--- 0.1/ambiance/js/yuidoc-theme/assets/css/html5.css 1970-01-01 00:00:00 +0000
+++ 0.1/ambiance/js/yuidoc-theme/assets/css/html5.css 2013-11-03 22:06:55 +0000
@@ -0,0 +1,828 @@
1/*
2 * Copyright 2013 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17@media screen
18{
19
20/* basic elements */
21 html
22 {
23 color: #000000;
24 background: #FFFFFF;
25 }
26 table
27 {
28 border-collapse: collapse;
29 border-spacing: 0;
30 }
31 fieldset, img
32 {
33 border: 0;
34 max-width:100%;
35 }
36 address, caption, cite, code, dfn, em, strong, th, var, optgroup
37 {
38 font-style: inherit;
39 font-weight: inherit;
40 }
41 del, ins
42 {
43 text-decoration: none;
44 }
45 ol li
46 {
47 list-style: decimal;
48 }
49 ul li
50 {
51 list-style: none;
52 }
53 caption, th
54 {
55 text-align: left;
56 }
57 h1.title
58 {
59 font-weight: bold;
60 font-size: 150%;
61 }
62 h0
63 {
64 font-weight: bold;
65 font-size: 130%;
66 }
67 h1, h2, h3, h4, h5, h6
68 {
69 font-size: 100%;
70 }
71 q:before, q:after
72 {
73 content: '';
74 }
75 abbr, acronym
76 {
77 border: 0;
78 font-variant: normal;
79 }
80 sup, sub
81 {
82 vertical-align: baseline;
83 }
84 tt, .qmlreadonly span, .qmldefault span
85 {
86 word-spacing:0.5em;
87 }
88 legend
89 {
90 color: #000000;
91 }
92 strong
93 {
94 font-weight: bold;
95 }
96 em
97 {
98 font-style: italic;
99 }
100
101 body
102 {
103 margin: 0 1.5em 0 1.5em;
104 font-family: ubuntu;
105 line-height: normal
106 }
107 a
108 {
109 color: #00732F;
110 text-decoration: none;
111 }
112 hr
113 {
114 background-color: #E6E6E6;
115 border: 1px solid #E6E6E6;
116 height: 1px;
117 width: 100%;
118 text-align: left;
119 margin: 1.5em 0 1.5em 0;
120 }
121
122 pre
123 {
124 border: 1px solid #DDDDDD;
125 -moz-border-radius: 0.7em 0.7em 0.7em 0.7em;
126 -webkit-border-radius: 0.7em 0.7em 0.7em 0.7em;
127 border-radius: 0.7em 0.7em 0.7em 0.7em;
128 padding: 1em 1em 1em 1em;
129 overflow-x: auto;
130 }
131 table, pre
132 {
133 -moz-border-radius: 0.7em 0.7em 0.7em 0.7em;
134 -webkit-border-radius: 0.7em 0.7em 0.7em 0.7em;
135 border-radius: 0.7em 0.7em 0.7em 0.7em;
136 background-color: #F6F6F6;
137 border: 1px solid #E6E6E6;
138 border-collapse: separate;
139 margin-bottom: 2.5em;
140 }
141 pre {
142 font-size: 90%;
143 display: block;
144 overflow:hidden;
145 }
146 thead
147 {
148 margin-top: 0.5em;
149 font-weight: bold
150 }
151 th
152 {
153 padding: 0.5em 1.5em 0.5em 1em;
154 background-color: #E1E1E1;
155 border-left: 1px solid #E6E6E6;
156 }
157 td
158 {
159 padding: 0.25em 1.5em 0.25em 1em;
160 }
161
162 td.rightAlign
163 {
164 padding: 0.25em 0.5em 0.25em 1em;
165 }
166 table tr.odd
167 {
168 border-left: 1px solid #E6E6E6;
169 background-color: #F6F6F6;
170 color: black;
171 }
172 table tr.even
173 {
174 border-left: 1px solid #E6E6E6;
175 background-color: #ffffff;
176 color: #202020;
177 }
178
179 div.float-left
180 {
181 float: left; margin-right: 2em
182 }
183 div.float-right
184 {
185 float: right; margin-left: 2em
186 }
187
188 span.comment
189 {
190 color: #008B00;
191 }
192 span.string, span.char
193 {
194 color: #000084;
195 }
196 span.number
197 {
198 color: #a46200;
199 }
200 span.operator
201 {
202 color: #202020;
203 }
204 span.keyword
205 {
206 color: #840000;
207 }
208 span.name
209 {
210 color: black
211 }
212 span.type
213 {
214 font-weight: bold
215 }
216 span.type a:visited
217 {
218 color: #0F5300;
219 }
220 span.preprocessor
221 {
222 color: #404040
223 }
224/* end basic elements */
225
226/* font style elements */
227 .heading
228 {
229 font-weight: bold;
230 font-size: 125%;
231 }
232 .subtitle
233 {
234 font-size: 110%
235 }
236 .small-subtitle
237 {
238 font-size: 100%
239 }
240 .red
241 {
242 color:red;
243 }
244/* end font style elements */
245
246/* global settings*/
247 .header, .footer
248 {
249 display: block;
250 clear: both;
251 overflow: hidden;
252 }
253/* end global settings*/
254
255/* header elements */
256 .header .qtref
257 {
258 color: #00732F;
259 font-weight: bold;
260 font-size: 130%;
261 }
262
263 .header .content
264 {
265 margin-left: 5px;
266 margin-top: 5px;
267 margin-bottom: 0.5em;
268 }
269
270 .header .breadcrumb
271 {
272 font-size: 90%;
273 padding: 0.5em 0 0.5em 1em;
274 margin: 0;
275 background-color: #fafafa;
276 height: 1.35em;
277 border-bottom: 1px solid #d1d1d1;
278 }
279
280 .header .breadcrumb ul
281 {
282 margin: 0;
283 padding: 0;
284 }
285
286 .header .content
287 {
288 word-wrap: break-word;
289 }
290
291 .header .breadcrumb ul li
292 {
293 float: left;
294 background: url(../images/breadcrumb.png) no-repeat 0 3px;
295 padding-left: 1.5em;
296 margin-left: 1.5em;
297 }
298
299 .header .breadcrumb ul li.last
300 {
301 font-weight: normal;
302 }
303
304 .header .breadcrumb ul li a
305 {
306 color: #00732F;
307 }
308
309 .header .breadcrumb ul li.first
310 {
311 background-image: none;
312 padding-left: 0;
313 margin-left: 0;
314 }
315
316 .header .content ol li {
317 background: none;
318 margin-bottom: 1.0em;
319 margin-left: 1.2em;
320 padding-left: 0
321 }
322
323 .header .content li
324 {
325 background: url(../images/bullet_sq.png) no-repeat 0 5px;
326 margin-bottom: 1em;
327 padding-left: 1.2em;
328 }
329
330/* end header elements */
331
332/* content elements */
333 .content h1
334 {
335 font-weight: bold;
336 font-size: 130%
337 }
338
339 .content h2
340 {
341 font-weight: bold;
342 font-size: 120%;
343 width: 100%;
344 }
345 .content h3
346 {
347 font-weight: bold;
348 font-size: 110%;
349 width: 100%;
350 }
351 .content table p
352 {
353 margin: 0
354 }
355 .content ul
356 {
357 padding-left: 2.5em;
358 }
359 .content li
360 {
361 padding-top: 0.25em;
362 padding-bottom: 0.25em;
363 }
364 .content ul img {
365 vertical-align: middle;
366 }
367
368 .content a:visited
369 {
370 color: #4c0033;
371 text-decoration: none;
372 }
373
374 .content a:visited:hover
375 {
376 color: #4c0033;
377 text-decoration: underline;
378 }
379
380 a:hover
381 {
382 color: #4c0033;
383 text-decoration: underline;
384 }
385 descr p a
386 {
387 text-decoration: underline;
388 }
389
390 .descr p a:visited
391 {
392 text-decoration: underline;
393 }
394
395 .alphaChar{
396 width:95%;
397 background-color:#F6F6F6;
398 border:1px solid #E6E6E6;
399 -moz-border-radius: 7px 7px 7px 7px;
400 border-radius: 7px 7px 7px 7px;
401 -webkit-border-radius: 7px 7px 7px 7px;
402 font-size:12pt;
403 padding-left:10px;
404 margin-top:10px;
405 margin-bottom:10px;
406 }
407 .flowList{
408 /*vertical-align:top;*/
409 /*margin:20px auto;*/
410
411 column-count:3;
412 -webkit-column-count:3;
413 -moz-column-count:3;
414/*
415 column-width:100%;
416 -webkit-column-width:200px;
417 -col-column-width:200px;
418*/
419 column-gap:41px;
420 -webkit-column-gap:41px;
421 -moz-column-gap:41px;
422
423 column-rule: 1px dashed #ccc;
424 -webkit-column-rule: 1px dashed #ccc;
425 -moz-column-rule: 1px dashed #ccc;
426 }
427
428 .flowList dl{
429 }
430 .flowList dd{
431 /*display:inline-block;*/
432 margin-left:10px;
433 min-width:250px;
434 line-height: 1.5;
435 min-width:100%;
436 min-height:15px;
437 }
438
439 .flowList dd a{
440 }
441
442 .mainContent
443 {
444 padding-left:5px;
445 }
446
447 .content .flowList p{
448 padding:0px;
449 }
450
451 .content .alignedsummary
452 {
453 margin: 15px;
454 }
455
456
457 .qmltype
458 {
459 text-align: center;
460 font-size: 120%;
461 }
462 .qmlreadonly
463 {
464 padding-left: 5px;
465 float: right;
466 color: #254117;
467 }
468
469 .qmldefault
470 {
471 padding-left: 5px;
472 float: right;
473 color: red;
474 }
475
476 .qmldoc
477 {
478 }
479
480 .generic .alphaChar{
481 margin-top:5px;
482 }
483
484 .generic .odd .alphaChar{
485 background-color: #F6F6F6;
486 }
487
488 .generic .even .alphaChar{
489 background-color: #FFFFFF;
490 }
491
492 .memItemRight{
493 padding: 0.25em 1.5em 0.25em 0;
494 }
495 .highlightedCode
496 {
497 margin: 1.0em;
498 }
499 .annotated td {
500 padding: 0.25em 0.5em 0.25em 0.5em;
501 }
502
503 .toc
504 {
505 font-size: 80%
506 }
507
508 .header .content .toc ul
509 {
510 padding-left: 0px;
511 }
512
513 .content .toc h3 {
514 border-bottom: 0px;
515 margin-top: 0px;
516 }
517
518 .content .toc h3 a:hover {
519 color: #00732F;
520 text-decoration: none;
521 }
522
523 .content .toc .level2
524 {
525 margin-left: 1.5em;
526 }
527
528 .content .toc .level3
529 {
530 margin-left: 3.0em;
531 }
532
533 .content ul li
534 {
535 background: url(../images/bullet_sq.png) no-repeat 0 0.7em;
536 padding-left: 1em
537 }
538
539 .content .toc li
540 {
541 background: url(../images/bullet_dn.png) no-repeat 0 5px;
542 padding-left: 1em
543 }
544
545 .relpage
546 {
547 -moz-border-radius: 7px 7px 7px 7px;
548 -webkit-border-radius: 7px 7px 7px 7px;
549 border-radius: 7px 7px 7px 7px;
550 border: 1px solid #DDDDDD;
551 padding: 25px 25px;
552 clear: both;
553 }
554 .relpage ul
555 {
556 float: none;
557 padding: 1.5em;
558 }
559
560 h3.fn, span.fn
561 {
562 -moz-border-radius:7px 7px 7px 7px;
563 -webkit-border-radius:7px 7px 7px 7px;
564 border-radius:7px 7px 7px 7px;
565 background-color: #F6F6F6;
566 border-width: 1px;
567 border-style: solid;
568 border-color: #E6E6E6;
569 font-weight: bold;
570 word-spacing:3px;
571 padding:3px 5px;
572 }
573
574 .functionIndex {
575 font-size:12pt;
576 word-spacing:10px;
577 margin-bottom:10px;
578 background-color: #F6F6F6;
579 border-width: 1px;
580 border-style: solid;
581 border-color: #E6E6E6;
582 -moz-border-radius: 7px 7px 7px 7px;
583 -webkit-border-radius: 7px 7px 7px 7px;
584 border-radius: 7px 7px 7px 7px;
585 width:100%;
586 }
587
588 .centerAlign
589 {
590 text-align:center;
591 }
592
593 .rightAlign
594 {
595 text-align:right;
596 }
597
598 .leftAlign
599 {
600 text-align:left;
601 }
602
603 .topAlign{
604 vertical-align:top
605 }
606
607 .functionIndex a{
608 display:inline-block;
609 }
610
611/* end content elements */
612/* footer elements */
613
614 .footer
615 {
616 color: #393735;
617 font-size: 0.75em;
618 text-align: center;
619 padding-top: 1.5em;
620 padding-bottom: 1em;
621 background-color: #E6E7E8;
622 margin: 0;
623 }
624 .footer p
625 {
626 margin: 0.25em
627 }
628 .small
629 {
630 font-size: 0.5em;
631 }
632/* end footer elements */
633
634 .item {
635 float: left;
636 position: relative;
637 width: 100%;
638 overflow: hidden;
639 }
640
641
642 .item .primary {
643 margin-right: 220px;
644 position: relative;
645 }
646
647 .item hr {
648 margin-left: -220px;
649 }
650
651 .item .secondary {
652 float: right;
653 width: 200px;
654 position: relative;
655 }
656
657 .item .cols {
658 clear: both;
659 display: block;
660 }
661
662 .item .cols .col {
663 float: left;
664 margin-left: 1.5%;
665 }
666
667 .item .cols .col.first {
668 margin-left: 0;
669 }
670
671 .item .cols.two .col {
672 width: 45%;
673 }
674
675 .item .box {
676 margin: 0 0 10px 0;
677 }
678
679 .item .box h3 {
680 margin: 0 0 10px 0;
681 }
682
683 .cols.unclear {
684 clear:none;
685 }
686}
687
688/* end of screen media */
689
690/* start of print media */
691
692@media print
693{
694 input, textarea, .header, .footer, .toolbar, .feedback, .wrapper .hd, .wrapper .bd .sidebar, .wrapper .ft, #feedbackBox, #blurpage, .toc, .breadcrumb, .toolbar, .floatingResult
695 {
696 display: none;
697 background: none;
698 }
699 .content
700 {
701 background: none;
702 display: block;
703 width: 100%; margin: 0; float: none;
704 }
705}
706/* end of print media */
707
708
709/* modify the TOC layouts */
710div.toc ul {
711 padding-left: 20px;
712}
713div.toc li {
714 padding-left: 4px;
715}
716/* Remove the border around images*/
717a img
718{
719 border:none;
720}
721
722/*Add styling to the front pages*/
723
724.threecolumn_area
725{
726 padding-top: 20px;
727 padding-bottom: 20px;
728}
729.threecolumn_piece
730{
731 display: inline-block;
732 margin-left: 78px;
733 margin-top: 8px;
734 padding: 0;
735 vertical-align: top;
736 width: 25.5%;
737}
738div.threecolumn_piece ul {
739 list-style-type: none;
740 padding-left: 0px;
741 margin-top: 2px;
742}
743div.threecolumn_piece p {
744 margin-bottom: 7px;
745 color: #5C626E;
746 text-decoration: none;
747 font-weight: bold;
748}
749div.threecolumn_piece li {
750 padding-left: 0px;
751 margin-bottom: 5px;
752}
753div.threecolumn_piece a {
754 font-weight: normal;
755}
756/* Add style to guide page*/
757.fourcolumn_area
758{
759 padding-top: 20px;
760 padding-bottom: 20px;
761}
762.fourcolumn_piece
763{
764 display: inline-block;
765 margin-left: 35px;
766 margin-top: 8px;
767 padding: 0;
768 vertical-align: top;
769 width: 21.3%;
770}
771div.fourcolumn_piece ul {
772 list-style-type: none;
773 padding-left: 0px;
774 margin-top: 2px;
775}
776div.fourcolumn_piece p {
777 margin-bottom: 7px;
778 color: #40444D;
779 text-decoration: none;
780 font-weight: bold;
781}
782div.fourcolumn_piece li {
783 padding-left: 0px;
784 margin-bottom: 5px;
785}
786div.fourcolumn_piece a {
787 font-weight: normal;
788}
789
790.foundat {
791 font-size: 12px;
792 margin-bottom: 10px;
793 font-style: italic;
794 display: block;
795 color: #AEA79F;
796}
797
798.intro {
799 margin-bottom: 10px;
800}
801
802.intro ul {
803 list-style-type: disc;
804 padding-left: 30px;
805}
806
807.intro ul li{
808 list-style-type: disc;
809}
810
811.params {
812 list-style-type: disc;
813 padding-left: 30px;
814}
815
816.params li{
817 list-style-type: disc;
818 line-height: 22px;
819}
820
821.params ul {
822 list-style-type: circle;
823 padding-left: 30px;
824}
825
826.params ul li{
827 list-style-type: circle;
828}
0\ No newline at end of file829\ No newline at end of file
1830
=== removed file '0.1/ambiance/js/yuidoc-theme/assets/css/logo.png'
2Binary files 0.1/ambiance/js/yuidoc-theme/assets/css/logo.png 2013-10-17 16:38:17 +0000 and 0.1/ambiance/js/yuidoc-theme/assets/css/logo.png 1970-01-01 00:00:00 +0000 differ831Binary files 0.1/ambiance/js/yuidoc-theme/assets/css/logo.png 2013-10-17 16:38:17 +0000 and 0.1/ambiance/js/yuidoc-theme/assets/css/logo.png 1970-01-01 00:00:00 +0000 differ
=== added file '0.1/ambiance/js/yuidoc-theme/assets/css/reset.css'
--- 0.1/ambiance/js/yuidoc-theme/assets/css/reset.css 1970-01-01 00:00:00 +0000
+++ 0.1/ambiance/js/yuidoc-theme/assets/css/reset.css 2013-11-03 22:06:55 +0000
@@ -0,0 +1,8 @@
1/*
2Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3Code licensed under the BSD License:
4http://developer.yahoo.com/yui/license.html
5version: 3.3.0
6build: 3167
7*/
8html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
0\ No newline at end of file9\ No newline at end of file
110
=== added file '0.1/ambiance/js/yuidoc-theme/assets/css/scratch.css'
--- 0.1/ambiance/js/yuidoc-theme/assets/css/scratch.css 1970-01-01 00:00:00 +0000
+++ 0.1/ambiance/js/yuidoc-theme/assets/css/scratch.css 2013-11-03 22:06:55 +0000
@@ -0,0 +1,104 @@
1/*
2 * Copyright 2013 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17body {
18 margin: 0;
19}
20div.toc ul {
21 padding: 0;
22}
23div.toc li {
24 margin-bottom: 3px;
25}
26h1.title {
27 font-size: 36px;
28 line-height: 1.1;
29 font-weight: normal;
30}
31h0, h2 {
32 font-size: 24px;
33 line-height: 1.2;
34 margin: 14px 0;
35 font-weight: normal;
36 display: block;
37}
38a:hover {
39 color: #dd4814;
40 text-decoration: underline;
41 outline: 0;
42}
43table, pre {
44 border-radius: 0;
45 white-space: pre-wrap;
46}
47.annotated td {
48 padding: 0.8em 1em 0.3em;
49}
50.wrapper {
51 width: 940px;
52 margin: 0 auto;
53}
54.main-content {
55 width: 668px;
56 position: relative;
57 left: 270px;
58}
59.title {
60 margin-left: -270px;
61 margin-top: 30px;
62 margin-bottom: 50px;
63}
64.toc {
65 margin-left: -270px;
66 font-size: 100%;
67 margin-bottom: 40px;
68 padding: 0;
69 z-index: 2;
70 position: absolute;
71 top: 100px;
72 width: 250px;
73}
74.breadcrumb {
75 position: relative;
76 left: -270px;
77 top: 30px;
78 width: auto;
79 padding-bottom: 30px;
80 margin-bottom: 30px;
81 float:left;
82}
83.breadcrumb li {
84 float: left;
85 margin-right: 8px;
86}
87.breadcrumb a:link,
88.breadcrumb a:visited {
89 color: #AEA79F;
90}
91.breadcrumb a:after {
92 content: '\0000a0\0000a0 >';
93}
94.title {
95 margin-top: 50px;
96 clear:both;
97}
98.breadcrumb + .toc {
99 top: 170px;
100}
101.breadcrumb p {
102 display: inline;
103}
104
0105
=== added file '0.1/ambiance/js/yuidoc-theme/assets/js/breadcrumbs.js'
--- 0.1/ambiance/js/yuidoc-theme/assets/js/breadcrumbs.js 1970-01-01 00:00:00 +0000
+++ 0.1/ambiance/js/yuidoc-theme/assets/js/breadcrumbs.js 2013-11-03 22:06:55 +0000
@@ -0,0 +1,21 @@
1/*
2 * Copyright 2013 Canonical Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; version 3.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17$(document).ready(function(){
18 var ul = $("ul.breadcrumb");
19 var li = ul.children("li:has(a)").remove();
20 ul.prepend(li);
21});
022
=== removed file '0.1/ambiance/js/yuidoc-theme/assets/js/tabs.js'
--- 0.1/ambiance/js/yuidoc-theme/assets/js/tabs.js 2013-11-01 20:11:24 +0000
+++ 0.1/ambiance/js/yuidoc-theme/assets/js/tabs.js 1970-01-01 00:00:00 +0000
@@ -1,67 +0,0 @@
1/*
2 * Copyright 2011 Yahoo! Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the Yahoo! Inc. nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28
29
30YUI({
31 insertBefore: 'site_styles'
32}).use('tabview', function(Y) {
33 var classdocs = Y.one('#classdocs'),
34 tabviewIndexTable = {};
35 if (classdocs) {
36 if (classdocs.all('li').size()) {
37 var tabview = new Y.TabView({ srcNode: classdocs });
38 tabview.render();
39 classdocs.all('li a').each(function (item, index) {
40 var hash = item.get(['hash']);
41 type = hash.substring(1);
42 if (!tabviewIndexTable[type]) {
43 tabviewIndexTable[type] = index;
44 }
45 })
46 Y.all('.sidebox.on-page').each(function (item, index) {
47 var children = item.all('li a');
48 children.each(function (cItem, cIndex) {
49 return function () {
50 var handleClick = function (e) {
51 var node = Y.one(this),
52 hash = node.get(['hash']),
53 hashValue = hash.substring(1).split('_'),
54 type = hashValue.shift(),
55 ogKey = hashValue.join('_'); // in case the hash had other underscores
56 if (tabviewIndexTable[type] > -1 && tabviewIndexTable[type] !== currentTab) {
57 currentTab = tabviewIndexTable[type];
58 tabview.selectChild(tabviewIndexTable[type]);
59 }
60 }
61 Y.on('click', handleClick, cItem)
62 }()
63 })
64 });
65 }
66 }
67});
680
=== modified file '0.1/ambiance/js/yuidoc-theme/layouts/main.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/layouts/main.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/layouts/main.handlebars 2013-11-03 22:06:55 +0000
@@ -1,38 +1,186 @@
1<!DOCTYPE html>1<?xml version="1.0" encoding="UTF-8"?>
2<html lang="en">2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3<head>4<head>
4 <meta charset="utf-8">5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <!-- ComposerSheet.qml -->
5 <title>{{htmlTitle}}</title>7 <title>{{htmlTitle}}</title>
6 <link rel="stylesheet" href="{{yuiGridsUrl}}">8 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
9 <script type="text/javascript" src="{{projectAssets}}/js/breadcrumbs.js"></script>
10 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic" />
11 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu+Mono:400" />
12 <link rel="stylesheet" type="text/css" href="{{projectAssets}}/css/reset.css" />
13 <link rel="stylesheet" type="text/css" href="{{projectAssets}}/css/html5.css" />
14 <link rel="stylesheet" type="text/css" href="{{projectAssets}}/css/base.css" />
15 <link rel="stylesheet" type="text/css" href="{{projectAssets}}/css/scratch.css" />
7 <link rel="stylesheet" href="{{projectAssets}}/vendor/prettify/prettify-min.css">16 <link rel="stylesheet" href="{{projectAssets}}/vendor/prettify/prettify-min.css">
8 <link rel="stylesheet" href="{{projectAssets}}/css/main.css" id="site_styles">
9 <script src="{{yuiSeedUrl}}"></script>
10</head>17</head>
11<body class="yui3-skin-sam">18 <header>
1219 <div class="header-login">
13<div id="doc">20 <ul>
14 <div id="hd" class="yui3-g header">21 <li>
15 <div class="yui3-u-3-4">22 <a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a>
16 <h1><a href="{{projectRoot}}index.html"><img src="{{projectAssets}}/css/logo.png">{{title}}</a></h1>23 </li>
17 </div>24 </ul>
18 <div class="yui3-u-1-4 version">25 </div>
19 <em>API Docs for: {{projectVersion}}</em>26 <div class="header-navigation">
20 </div>27 <div>
21 </div>28 <nav role="navigation">
22 <div class="yui3-g">29 <ul>
2330 <li class="page_item page-item-5">
24 <div id="sidebar" class="yui3-u">31 <a href="http://developer.ubuntu.com/">Home</a>
32 </li>
33 <li class="page_item page-item-7">
34 <a href="http://developer.ubuntu.com/get-started/">Get started</a>
35 </li>
36 <li class="page_item page-item-9">
37 <a href="http://developer.ubuntu.com/resources/">Resources</a>
38 </li>
39 <li class="page_item page-item-11">
40 <a href="http://developer.ubuntu.com/publish/">Publish</a>
41 </li>
42 <li class="page_item page-item-13">
43 <a href="http://developer.ubuntu.com/community/">Community</a>
44 </li>
45 <li>
46 <a href="https://myapps.developer.ubuntu.com/dev">My Apps</a>
47 </li>
48 <li>
49 <form id="form-search" method="get" action="/">
50 <fieldset>
51 <input id="input-search" type="text" name="s" value="Search" />
52 </fieldset>
53 </form>
54 </li>
55 </ul>
56 </nav>
57 <a class="logo-ubuntu" href="/">
58 <img src="http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/img/logo-ubuntu.png" width="119" height="27" alt="Ubuntu logo" />
59 </a>
60 <h2>
61 <a href="/">App Developer</a>
62 </h2>
63 </div>
64 </div>
65
66 </header>
67 <div class="wrapper">
68 <div class="main-content">
69 <ul class="breadcrumb">
70 <li><a href="index.html">Ubuntu HTML5 API</a></li>
71 <li>{{moduleName}}</li>
72 </ul>
25 {{>sidebar}}73 {{>sidebar}}
26 </div>74 {{#if moduleName}}
2775 <h1 class="title">{{moduleName}}</h1>
28 <div id="main" class="yui3-u">76 {{else}}
29 <div class="content">{{>layout_content}}</div>77 <h1 class="title">Ubuntu HTML5 API</h1>
78 {{/if}}
79 {{>layout_content}}
30 </div>80 </div>
31 </div>81 </div>
32</div>82 <div class="shadow"></div>
33<script src="{{projectAssets}}/vendor/prettify/prettify-min.js"></script>83 <footer>
34<script>prettyPrint();</script>84 <div>
35<script src="{{projectAssets}}/js/yui-prettify.js"></script>85 <nav role="navigation" class="clearfix">
36<script src="{{projectAssets}}/js/tabs.js"></script>86 <ul>
87 <li>
88 <a href="/get-started">Get started</a>
89 </li>
90 <li class="page_item page-item-16">
91 <a href="http://developer.ubuntu.com/get-started/quickly-workflow/">Quickly workflow</a>
92 </li>
93 <li class="page_item page-item-18">
94 <a href="http://developer.ubuntu.com/get-started/qt-creator/">Qt Creator</a>
95 </li>
96 <li class="page_item page-item-20">
97 <a href="http://developer.ubuntu.com/get-started/eclipse/">Eclipse</a>
98 </li>
99 <li class="page_item page-item-22">
100 <a href="http://developer.ubuntu.com/get-started/monodevelop/">MonoDevelop</a>
101 </li>
102 </ul>
103 <ul>
104 <li>
105 <a href="/resources">Resources</a>
106 </li>
107 <li>
108 <a href="/resources/tools/quickly">Quickly</a>
109 </li>
110 <li>
111 <a href="/resources/platform/api">API</a>
112 </li>
113 <li>
114 <a href="/resources/platform/documentation/platform-diagram">Platform overview</a>
115 </li>
116 </ul>
117 <ul>
118 <li>
119 <a href="/publish">Publish</a>
120 </li>
121 <li class="page_item page-item-24">
122 <a href="http://developer.ubuntu.com/publish/commercial-software-faqs/">Commercial software FAQs</a>
123 </li>
124 <li class="page_item page-item-34">
125 <a href="http://developer.ubuntu.com/publish/application-states/">Application states</a>
126 </li>
127 <li class="page_item page-item-577">
128 <a href="http://developer.ubuntu.com/publish/my-apps-packages/">Uploading your app</a>
129 </li>
130 <li class="page_item page-item-404">
131 <a href="http://developer.ubuntu.com/publish/ubuntu-software-centre/">Ubuntu Software Centre</a>
132 </li>
133 <li class="page_item page-item-427">
134 <a href="http://developer.ubuntu.com/publish/licence-key-infrastructure/">Licence key infrastructure</a>
135 </li>
136 <li class="page_item page-item-1230">
137 <a href="http://developer.ubuntu.com/publish/updating-your-app/">Updating your app</a>
138 </li>
139 </ul>
140 <ul>
141 <li>
142 <a href="/community">Community</a>
143 </li>
144 <li class="page_item page-item-28">
145 <a href="http://developer.ubuntu.com/community/app-developer-blog/">App Developer Blog</a>
146 </li>
147 <li class="page_item page-item-30">
148 <a href="http://developer.ubuntu.com/community/submit-a-tutorial/">Submit a tutorial</a>
149 </li>
150 <li class="page_item page-item-32">
151 <a href="http://developer.ubuntu.com/community/app-review-board-charter/">App Review Board charter</a>
152 </li>
153 <li class="page_item page-item-2987">
154 <a href="http://developer.ubuntu.com/community/on-air/">On air</a>
155 <ul class='children'>
156 <li class="page_item page-item-3066">
157 <a href="http://developer.ubuntu.com/community/on-air/recordings/">Recordings</a>
158 </li>
159 </ul>
160 </li>
161 </ul>
162 <ul class="last">
163 <li>
164 <a href="https://myapps.developer.ubuntu.com/dev">My Apps</a>
165 </li>
166 <li>
167 <a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a>
168 </li>
169 <li>
170 <a href="https://myapps.developer.ubuntu.com/dev/account">My account</a>
171 </li>
172 </ul>
173 </nav>
174 <p>
175 &copy; 2013 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
176 <a class="link-bug" href="https://bugs.launchpad.net/ubuntudeveloperportal/+filebug">Report a bug on this site</a>
177 </p>
178 </div>
179 </footer>
180 <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
181 <script type="text/javascript" src="http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/js/base.js"></script>
182 <script src="{{projectAssets}}/vendor/prettify/prettify-min.js"></script>
183 <script>prettyPrint();</script>
184 <script src="{{projectAssets}}/js/yui-prettify.js"></script>
37</body>185</body>
38</html>186</html>
39187
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/attrs.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/attrs.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/attrs.handlebars 2013-11-03 22:06:55 +0000
@@ -20,4 +20,4 @@
20 </ul>20 </ul>
21 </div>21 </div>
22 {{/if}}22 {{/if}}
23</div>23</div>
24\ No newline at end of file24\ No newline at end of file
2525
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/classes.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/classes.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/classes.handlebars 2013-11-03 22:06:55 +0000
@@ -1,4 +1,4 @@
1<h4>Class {{moduleName}}</h4>1<h2>Class {{moduleName}}</h2>
2{{#if uses}}2{{#if uses}}
3 Uses:3 Uses:
4 {{#each uses}}4 {{#each uses}}
@@ -26,23 +26,9 @@
26{{/if}}26{{/if}}
2727
28<div id="classdocs">28<div id="classdocs">
29 <ul>
30 {{#if methods}}
31 <li><a href="#methods">Methods</a></li>
32 {{/if}}
33 {{#if properties}}
34 <li><a href="#props">Properties</a></li>
35 {{/if}}
36 {{#if attrs}}
37 <li><a href="#attrs">Attributes</a></li>
38 {{/if}}
39 {{#if events}}
40 <li><a href="#events">Events</a></li>
41 {{/if}}
42 </ul>
43 <div>
44 {{#if methods}}29 {{#if methods}}
45 <div id="methods">30 <div id="methods">
31 <h2>Methods</h2>
46 {{#methods}}32 {{#methods}}
47 {{>method}}33 {{>method}}
48 {{/methods}}34 {{/methods}}
@@ -50,6 +36,7 @@
50 {{/if}}36 {{/if}}
51 {{#if properties}}37 {{#if properties}}
52 <div id="props">38 <div id="props">
39 <h2>Properties</h2>
53 {{#properties}}40 {{#properties}}
54 {{>props}}41 {{>props}}
55 {{/properties}}42 {{/properties}}
@@ -57,6 +44,7 @@
57 {{/if}}44 {{/if}}
58 {{#if attrs}}45 {{#if attrs}}
59 <div id="attrs">46 <div id="attrs">
47 <h2>Attributes</h2>
60 {{#attrs}}48 {{#attrs}}
61 {{>attrs}}49 {{>attrs}}
62 {{/attrs}}50 {{/attrs}}
@@ -64,10 +52,11 @@
64 {{/if}}52 {{/if}}
65 {{#if events}}53 {{#if events}}
66 <div id="events">54 <div id="events">
55 <h2>Events</h2>
67 {{#events}}56 {{#events}}
68 {{>events}}57 {{>events}}
69 {{/events}}58 {{/events}}
70 </div>59 </div>
71 {{/if}}60 {{/if}}
72 </div>61 </div>
73</div>62</div>
74\ No newline at end of file63\ No newline at end of file
7564
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/events.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/events.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/events.handlebars 2013-11-03 22:06:55 +0000
@@ -31,5 +31,4 @@
31 {{/params}}31 {{/params}}
32 </ul>32 </ul>
33 {{/if}}33 {{/if}}
34</div>34</div>
35
36\ No newline at end of file35\ No newline at end of file
3736
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/files.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/files.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/files.handlebars 2013-11-03 22:06:55 +0000
@@ -2,5 +2,4 @@
22
3<pre class="code prettyprint linenums">3<pre class="code prettyprint linenums">
4{{fileData}}4{{fileData}}
5</pre>5</pre>
6
7\ No newline at end of file6\ No newline at end of file
87
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/index.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/index.handlebars 2013-10-31 21:09:16 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/index.handlebars 2013-11-03 22:06:55 +0000
@@ -1,43 +1,41 @@
1<h4>Welcome to Ubuntu HTML5 API Docs version 0.1</h4>
2
3<p>These pages provide reference docs for the Ubunbtu HTML5 framework.</p>1<p>These pages provide reference docs for the Ubunbtu HTML5 framework.</p>
42
5<p>See <a href="http://developer.ubuntu.com">developer.ubuntu.com</a> for more information on writing Ubuntu HTML5 apps, including: using the Ubuntu SDK, creating HTML5 app projects, importing Ubuntu HTML5 CSS and JavaScript into your app, and more. </p>3<p>See <a href="http://developer.ubuntu.com">developer.ubuntu.com</a> for more information on writing Ubuntu HTML5 apps, including: using the Ubuntu SDK, creating HTML5 app projects, importing Ubuntu HTML5 CSS and JavaScript into your app, and more. </p>
64
7<h4>Ubuntu HTML5 widgets</h4>5<h2>Ubuntu HTML5 widgets</h2>
86
9<p>The Ubuntun HTML5 framework provides a set of "widgets" you use to build an application in the Ubuntu style (see <a href="design.ubuntu.com">design.ubuntu.com</a> for descriptions of Ubuntu app "building blocks" with links to APIs for each supported implementation toolkit). For example, an Ubuntu HTML5 app has a dynamic Header with Tabs that together provide navigation through the app's Pages. Pages may contain Lists, Popovers, Buttons, Shapes, and a lot more. The app has a Footer (also called a Toolbar) to which you can add Buttons. There are many options and the list keeps growing!<p>7<p>The Ubuntun HTML5 framework provides a set of "widgets" you use to build an application in the Ubuntu style (see <a href="design.ubuntu.com">design.ubuntu.com</a> for descriptions of Ubuntu app "building blocks" with links to APIs for each supported implementation toolkit). For example, an Ubuntu HTML5 app has a dynamic Header with Tabs that together provide navigation through the app's Pages. Pages may contain Lists, Popovers, Buttons, Shapes, and a lot more. The app has a Footer (also called a Toolbar) to which you can add Buttons. There are many options and the list keeps growing!<p>
10<p>Each widget has its HTML part, a corresponding JavaScript object (many of which provide additional methods), and CSS styles.</p>8<p>Each widget has its HTML part, a corresponding JavaScript object (many of which provide additional methods), and CSS styles.</p>
119
12<h4>What you need to know</h4>10<h2>What you need to know</h2>
1311
14<p>To write Ubuntu HTML5 apps, you need to know:</p>12<p>To write Ubuntu HTML5 apps, you need to know:</p>
1513
16<ul>14<ol>
17 <li>How to <em>declare</em> each widget type in HTML</li>15 <li>How to <em>declare</em> each widget type in HTML</li>
18 <li>How to acces the JavaScript widget objects and use their methods</li>16 <li>How to acces the JavaScript widget objects and use their methods</li>
19 <li>How to initialize the Ubuntu HTML5 framework at app load time</li>17 <li>How to initialize the Ubuntu HTML5 framework at app load time</li>
20</ul>18</ol>
2119
22<p>These topics are introduced here and explained in the class documentation.</p>20<p>These topics are introduced here and explained in the class documentation.</p>
2321
24<h4>Elements and special attributes</h4>22<h2>Elements and special attributes</h2>
2523
26<p>Ubuntu HTML5 apps use normal HTML/HTML5 elements (like &lt;div&gt;, &lt;section&gt;, &lt;ul&gt;, and so on). However, special attributes are added to some key elements to declare them as Ubuntu HTML5 elements. This connects them with the Ubuntu HTML5 JavaScript framework. The <em>data-role</em> attribute is often used. Its value indicates the type of Ubuntu HTML5 element. For example, here's a button: &lt;div data-role="button"&gt;.</p>24<p>Ubuntu HTML5 apps use normal HTML/HTML5 elements (like &lt;div&gt;, &lt;section&gt;, &lt;ul&gt;, and so on). However, special attributes are added to some key elements to declare them as Ubuntu HTML5 elements. This connects them with the Ubuntu HTML5 JavaScript framework. The <em>data-role</em> attribute is often used. Its value indicates the type of Ubuntu HTML5 element. For example, here's a button: &lt;div data-role="button"&gt;.</p>
2725
28</p>Making correct HTML declarations is necessary to connect your DOM elements to the Ubuntu HTML5 JavaScript framework and to Ubuntu HTML CSS styles. See the JavaScript class docs for sample HTML declarations.</p>26</p>Making correct HTML declarations is necessary to connect your DOM elements to the Ubuntu HTML5 JavaScript framework and to Ubuntu HTML CSS styles. See the JavaScript class docs for sample HTML declarations.</p>
2927
30<h4><em>id</em> attributes</h4>28<h2><em>id</em> attributes</h2>
3129
32<p>You can declare most Ubuntu HTML5 elements without <em>id</em> attributes. They will pick up the CSS styles and look fine. But, you generally need an <em>id</em> attribute to access the corresponding JavaScript objects. So it's a good idea to add them.</p>30<p>You can declare most Ubuntu HTML5 elements without <em>id</em> attributes. They will pick up the CSS styles and look fine. But, you generally need an <em>id</em> attribute to access the corresponding JavaScript objects. So it's a good idea to add them.</p>
3331
34<h4>JavaScript classes and methods</h4>32<h2>JavaScript classes and methods</h2>
3533
36<p>Almost every Ubuntu HTML5 DOM element has a corresponding Ubuntu HTML5 JavaScript object. These are created automatically when you create an UbuntuUI object and execute its init() method. (This is usually done at startup, for example in the <em>window.onload</em> function).</p>34<p>Almost every Ubuntu HTML5 DOM element has a corresponding Ubuntu HTML5 JavaScript object. These are created automatically when you create an UbuntuUI object and execute its init() method. (This is usually done at startup, for example in the <em>window.onload</em> function).</p>
3735
38<p>Many of these classes/objects have additional methods. For example, the List class provides methods to add items to the list, remove an item, apply a function to all items, and more.</p>36<p>Many of these classes/objects have additional methods. For example, the List class provides methods to add items to the list, remove an item, apply a function to all items, and more.</p>
3937
40<h4>How these docs are organized</h4>38<h2>How these docs are organized</h2>
4139
42<p>These pages or organized by the Ubuntu HTML5 JavaScript classes. Each class has an example showing how the corresponding HTML is declared (as needed). And of course each class has API documentation explaining usage of all (public) methods.</p>40<p>These pages or organized by the Ubuntu HTML5 JavaScript classes. Each class has an example showing how the corresponding HTML is declared (as needed). And of course each class has API documentation explaining usage of all (public) methods.</p>
4341
@@ -45,10 +43,10 @@
4543
46<p>Then, an Ubuntu HTML5 app is structured as a PageStack of Pages, so be sure to visit those classes.</p>44<p>Then, an Ubuntu HTML5 app is structured as a PageStack of Pages, so be sure to visit those classes.</p>
4745
48<h4>Ubuntu HTML5 CSS</h4>46<h2>Ubuntu HTML5 CSS</h2>
4947
50<p>Be sure to check out the Ubuntu HTML5 CSS files you import into your app. They provide a set of styles that theme the HTML5 widgets to the Ubuntu app design and style.</p>48<p>Be sure to check out the Ubuntu HTML5 CSS files you import into your app. They provide a set of styles that theme the HTML5 widgets to the Ubuntu app design and style.</p>
5149
52<h4>Let's grow this!</h4>50<h2>Let's grow this!</h2>
5351
54<p>Let's work together to keep HTML5 as a top-notch app development framework on Ubuntu. Everyone can help by filing bugs, triaging them, and of course, fixing them. So let's get to work writing apps!</p>52<p>Let's work together to keep HTML5 as a top-notch app development framework on Ubuntu. Everyone can help by filing bugs, triaging them, and of course, fixing them. So let's get to work writing apps!</p>
55\ No newline at end of file53\ No newline at end of file
5654
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/method.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/method.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/method.handlebars 2013-11-03 22:06:55 +0000
@@ -1,18 +1,26 @@
1<a name="methods_{{name}}"></a>1<a name="methods_{{name}}"></a>
2<div class="method item{{#if access}} {{access}}{{/if}}">2
3 {{#if final}}<code>final</code> {{/if}}{{#if returnType}}{{#crossLink returnType}}{{/crossLink}} {{/if}}<strong class="name">`{{name}}`</strong>( `{{paramsList}} ` ) {{#if access}}<em>`/* {{access}} method */`</em>{{/if}}3<div class="method {{#if access}} {{access}}{{/if}}">
4 <br>4 {{#if final}}
5 <code>final</code>
6 {{/if}}
7 {{#if returnType}}{{#crossLink returnType}}{{/crossLink}} {{/if}}
8
9 <h3>`{{name}}` ( `{{paramsList}} ` ) {{#if access}}<em>`/* {{access}} method */`</em>{{/if}}</h3>
10
5 <span class="foundat">11 <span class="foundat">
6 {{#if overwritten_from}}12 {{#if overwritten_from}}
7 Defined in <a href="{{overwritten_from/class}}.html#method_{{overwritten_from/name}}">{{overwritten_from/class}}</a> but overwritten locally: 13 Defined in <a href="{{overwritten_from/class}}.html#method_{{overwritten_from/name}}">{{overwritten_from/class}}</a> but overwritten locally:
8 {{else}}14 {{else}}
9 {{#if extended_from}} Defined in <a href="{{extended_from}}.html#method_{{name}}">{{extended_from}}</a>: {{/if}}15 {{#if extended_from}} Defined in <a href="{{extended_from}}.html#method_{{name}}">{{extended_from}}</a>: {{/if}}
10 {{/if}}16 {{/if}}
11 <a href="../{{foundAt}}">`{{file}}:{{line}}`</a>17 <a href="../{{foundAt}}">`{{file}}:{{line}}`</a>
12 </span><br>18 </span>
19
13 {{{methodDescription}}}20 {{{methodDescription}}}
21
14 {{#if params}}22 {{#if params}}
15 <strong>Parameters:</strong>23 <h3>Parameters</h3>
16 <ul class="params">24 <ul class="params">
17 {{#params}}25 {{#params}}
18 <li>26 <li>
@@ -46,11 +54,14 @@
46 {{/if}}54 {{/if}}
47 {{#if return}}55 {{#if return}}
48 {{#return}}56 {{#return}}
49 <br><div class="returns"><strong>Returns:</strong> {{#if type}}&lt;{{#crossLink type}}{{/crossLink}}&gt; {{/if}}{{{description}}}</div>57 <br /><div class="returns"><strong>Returns:</strong> {{#if type}}&lt;{{#crossLink type}}{{/crossLink}}&gt; {{/if}}{{{description}}}</div>
50 {{/return}}58 {{/return}}
51 {{/if}}59 {{/if}}
60
61 <br />
52 {{#if example}}62 {{#if example}}
53 <h5>Example</h5>63 <h3>Example</h3>
54 {{{example}}}64 {{{example}}}
55 {{/if}}65 {{/if}}
56</div>66
67</div>
57\ No newline at end of file68\ No newline at end of file
5869
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/module.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/module.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/module.handlebars 2013-11-03 22:06:55 +0000
@@ -1,4 +1,3 @@
1
2<h2>{{moduleName}}</h2>1<h2>{{moduleName}}</h2>
3<div class="intro">{{{moduleDescription}}}</div>2<div class="intro">{{{moduleDescription}}}</div>
43
@@ -25,4 +24,4 @@
25 </div>24 </div>
26</div>25</div>
27<br><br>26<br><br>
28<span class="foundat">Module description found: <a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>27<span class="foundat">Module description found: <a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>
29\ No newline at end of file28\ No newline at end of file
3029
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/props.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/props.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/props.handlebars 2013-11-03 22:06:55 +0000
@@ -7,4 +7,4 @@
7 <h5>Example</h5>7 <h5>Example</h5>
8 {{{example}}}8 {{{example}}}
9 {{/if}}9 {{/if}}
10</div>10</div>
11\ No newline at end of file11\ No newline at end of file
1212
=== modified file '0.1/ambiance/js/yuidoc-theme/partials/sidebar.handlebars'
--- 0.1/ambiance/js/yuidoc-theme/partials/sidebar.handlebars 2013-10-17 16:34:23 +0000
+++ 0.1/ambiance/js/yuidoc-theme/partials/sidebar.handlebars 2013-11-03 22:06:55 +0000
@@ -1,105 +1,79 @@
1<div id="modules" class="sidebox">1<div class="toc">
2 <div class="hd">2 <h3 class="no-toc">Modules</h3>
3 <h2 class="no-toc">Modules</h2>3 <ul>
4 </div>4 {{#modules}}
5 <div class="bd">5 <li>
6 <ul>6 <a href="{{../projectRoot}}modules/{{name}}.html">{{displayName}}</a>
7 {{#modules}}7 {{#if submodules}}
8 <li><a href="{{../projectRoot}}modules/{{name}}.html">{{displayName}}</a>8 <ul>
9 {{#if submodules}}9 {{#submodules}}
10 <ul>10 <li>
11 {{#submodules}}11 <a href="{{../../../projectRoot}}modules/{{../name}}.html#{{displayName}}">{{displayName}}</a>
12 <li><a href="{{../../../projectRoot}}modules/{{../name}}.html#{{displayName}}">{{displayName}}</a></li>
13 {{/submodules}}
14 </ul>
15 {{/if}}
16 </li>12 </li>
17 {{/modules}}13 {{/submodules}}
18 </ul>14 </ul>
19 </div>15 {{/if}}
20</div>16 </li>
2117 {{/modules}}
22<div id="classes" class="sidebox">18 </ul>
23 <div class="hd">19 <br>
24 <h2 class="no-toc">Classes</h2>20
25 </div>21 <h3 class="no-toc">Classes</h3>
26 <div class="bd">22 <ul>
27 <ul>23 {{#classes}}
28 {{#classes}}24 <li>
29 <li><a href="{{../projectRoot}}classes/{{name}}.html">{{displayName}}</a></li>25 <a href="{{../projectRoot}}classes/{{name}}.html">{{displayName}}</a>
30 {{/classes}}26 </li>
31 </ul>27 {{/classes}}
32 </div>28 </ul>
33</div>29 <br>
3430
35{{#if methods}}31 {{#if methods}}
36<div id="methods-on-page" class="sidebox on-page">32 <h3 class="no-toc">Methods</h3>
37 <div class="hd">33 <ul>
38 <h2 class="no-toc">Methods On Page</h2>34 {{#methods}}
39 </div>35 <li>
40 <div class="bd">36 <a href="#methods_{{name}}">{{name}}</a>
41 <ul>37 </li>
42 {{#methods}}38 {{/methods}}
43 <li><a href="#methods_{{name}}">{{name}}</a></li>39 </ul>
44 {{/methods}}40 <br>
45 </ul>41 {{/if}}
46 </div>42
47</div>43
48{{/if}}44 {{#if events}}
4945 <h3 class="no-toc">Events On Page</h3>
50{{#if events}}46 <ul>
51<div id="events-on-page" class="sidebox on-page">47 {{#events}}
52 <div class="hd">48 <li>
53 <h2 class="no-toc">Events On Page</h2>49 <a href="#events_{{name}}">{{name}}</a>
54 </div>50 </li>
55 <div class="bd">51 {{/events}}
56 <ul>52 </ul>
57 {{#events}}53 <br>
58 <li><a href="#events_{{name}}">{{name}}</a></li>54 {{/if}}
59 {{/events}}55
60 </ul>56 {{#if props}}
61 </div>57 <h3 class="no-toc">Props On Page</h3>
62</div>58 <ul>
63{{/if}}59 {{#events}}
6460 <li>
65{{#if props}}61 <a href="#props_{{name}}">{{name}}</a>
66<div id="props-on-page" class="sidebox">62 </li>
67 <div class="hd">63 {{/events}}
68 <h2 class="no-toc">Props On Page</h2>64 </ul>
69 </div>65 <br>
70 <div class="bd">66 {{/if}}
71 <ul>67
72 {{#events}}68 {{#if attributes}}
73 <li><a href="#props_{{name}}">{{name}}</a></li>69 <h3 class="no-toc">Attributes On Page</h3>
74 {{/events}}70 <ul>
75 </ul>71 {{#events}}
76 </div>72 <li>
77</div>73 <a href="#attrs_{{name}}">{{name}}</a>
78{{/if}}74 </li>
7975 {{/events}}
80{{#if attributes}}76 </ul>
81<div id="attrs-on-page" class="sidebox on-page">77 <br>
82 <div class="hd">78 {{/if}}
83 <h2 class="no-toc">Attributes On Page</h2>79</div>
84 </div>
85 <div class="bd">
86 <ul>
87 {{#events}}
88 <li><a href="#attrs_{{name}}">{{name}}</a></li>
89 {{/events}}
90 </ul>
91 </div>
92</div>
93{{/if}}
94
95{{#if fileTree}}
96<div id="fileTree" class="sidebox">
97 <div class="hd">
98 <h2 class="no-toc">Files</h2>
99 </div>
100 <div class="bd">
101 {{#buildFileTree fileTree}}{{/buildFileTree}}
102 </div>
103</div>
104{{/if}}
105
106\ No newline at end of file80\ No newline at end of file
10781
=== modified file 'package.json'
--- package.json 2013-06-18 23:18:49 +0000
+++ package.json 2013-11-03 22:06:55 +0000
@@ -9,6 +9,7 @@
9 "grunt-contrib-uglify": "~0.1.1",9 "grunt-contrib-uglify": "~0.1.1",
10 "grunt-contrib-cssmin": "~0.4.1",10 "grunt-contrib-cssmin": "~0.4.1",
11 "grunt-contrib-jshint": "~0.1.0",11 "grunt-contrib-jshint": "~0.1.0",
12 "grunt-contrib-compress": "~0.3.3"12 "grunt-contrib-compress": "~0.3.3",
13 "yuidocjs": "~0.3.46"
13 }14 }
14}15}

Subscribers

People subscribed via source and target branches