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
1=== modified file '0.1/ambiance/js/popovers.js'
2--- 0.1/ambiance/js/popovers.js 2013-11-01 15:40:10 +0000
3+++ 0.1/ambiance/js/popovers.js 2013-11-03 22:06:55 +0000
4@@ -26,7 +26,7 @@
5 A Popoves often contain a List whose items are connected to useful JavaScript functions.
6
7
8-######Popover Position
9+###Popover Position
10 The Popover's position is set relative to a specified base element with the <em>data-gravity="LETTER"</em> attribute. LETTER values:
11
12 - 'n': the base element is above the Popover
13@@ -63,7 +63,7 @@
14 };
15
16 Popover.prototype = {
17- /**
18+ /**
19 * Display a Popover
20 * @method show
21 */
22
23=== added file '0.1/ambiance/js/yuidoc-theme/assets/css/base.css'
24--- 0.1/ambiance/js/yuidoc-theme/assets/css/base.css 1970-01-01 00:00:00 +0000
25+++ 0.1/ambiance/js/yuidoc-theme/assets/css/base.css 2013-11-03 22:06:55 +0000
26@@ -0,0 +1,643 @@
27+/**
28+* Ubuntu Developer base stylesheet
29+*
30+* A base stylesheet containing site-wide styles
31+*
32+* @project Ubuntu Developer
33+* @version 1.0
34+* @author Canonical Web Team: Steve Edwards
35+* @copyright 2011 Canonical Ltd.
36+*/
37+
38+/**
39+* @section Global
40+*/
41+
42+body {
43+ font-family: 'Ubuntu', 'Ubuntu Beta', UbuntuBeta, Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif;
44+ font-size: 13px;
45+ line-height: 1.4;
46+ color: #333;
47+}
48+a {
49+ color: #dd4814;
50+ text-decoration: none;
51+ outline: 0;
52+}
53+p, dl {
54+ margin-bottom: 10px;
55+}
56+strong {
57+ font-weight: bold;
58+}
59+em {
60+ font-style: italic;
61+}
62+code{
63+ padding: 0;
64+ font-family: 'Ubuntu Mono', 'Consolas', 'Monaco', 'DejaVu Sans Mono', Courier, monospace;
65+}
66+
67+/* Fix */
68+pre.code {
69+ background-color: #F6F6F6!important;
70+ border: 1px solid #E6E6E6!important;
71+ border-collapse: separate!important;
72+ margin-bottom: 2.5em;
73+ padding: 10px!important;
74+}
75+/* ENDFIX */
76+
77+h1 {
78+ font-size: 36px;
79+ line-height: 1.1;
80+ margin-bottom: 20px;
81+}
82+article h1,
83+h2 {
84+ font-size: 24px;
85+ line-height: 1.2;
86+ margin-bottom: 14px;
87+}
88+h3 {
89+ font-size: 16px;
90+ line-height: 1.3;
91+ margin-bottom: 8px;
92+}
93+h4 {
94+ font-weight: bold;
95+}
96+
97+time {
98+ color:#999;
99+}
100+
101+/**
102+* @section Structure
103+*/
104+
105+.header-login,
106+.header-navigation div,
107+.header-content div {
108+ margin: 0 auto;
109+ width: 940px;
110+}
111+
112+.header-content h1{
113+ background-color:#ffffff;
114+ display:inline-block;
115+}
116+
117+.header-content h2{
118+ background-color:#ffffff;
119+ display:table;
120+}
121+
122+.header-login ul {
123+ margin: 4px 0;
124+ float: right;
125+}
126+.header-login li {
127+ margin-right: 10px;
128+ float: left;
129+}
130+.header-login a {
131+ color: #333;
132+}
133+.header-navigation {
134+ border-top: 2px solid #dd4814;
135+ border-bottom: 2px solid #dd4814;
136+ background-color: #fff;
137+ height: 54px;
138+ clear: right;
139+ overflow: hidden;
140+}
141+.header-navigation nav ul {
142+ border-right: 1px solid #dd4814;
143+ float: right;
144+}
145+.header-navigation nav li {
146+ border-left: 1px solid #dd4814;
147+ float: left;
148+ height: 54px;
149+}
150+.header-navigation nav a {
151+ padding: 18px 14px 0;
152+ font-size: 14px;
153+ display: block;
154+ height: 36px;
155+}
156+.header-navigation nav a:hover {
157+ background-color: #fcece7;
158+}
159+.header-navigation nav .current_page_item a,
160+.header-navigation nav .current_page_parent a,
161+.header-navigation nav .current_page_ancestor a {
162+ background-color: #dd4814;
163+ color: #fff;
164+}
165+.header-navigation input {
166+ margin: 12px 10px 0 10px;
167+ padding: 5px;
168+ border-top: 1px solid #a1a1a1;
169+ border-right: 1px solid #e0e0e0;
170+ border-bottom: 1px solid #fff;
171+ border-left: 1px solid #e0e0e0;
172+ width: 90px;
173+ font-style: italic;
174+ color: #ccc;
175+ -moz-border-radius: 3px;
176+ -webkit-border-radius: 3px;
177+ border-radius: 3px;
178+ -moz-box-shadow: inset 0 1px 1px #e0e0e0;
179+ -webkit-box-shadow: inset 0 1px 1px #e0e0e0;
180+ box-shadow: inset 0 1px 1px #e0e0e0;
181+}
182+.header-navigation h2 {
183+ margin: 18px 0 0 6px;
184+ text-transform: lowercase;
185+ font-size: 22px;
186+ color: #dd4814;
187+ float: left;
188+}
189+.header-navigation .logo-ubuntu {
190+ margin-top: 12px;
191+ float: left;
192+}
193+.header-content .header-navigation-secondary {
194+ margin-bottom: 40px;
195+ padding: 0;
196+ position: relative;
197+ z-index: 2;
198+}
199+.header-navigation-secondary div {
200+ padding: 0;
201+ border: 2px solid #dd4814;
202+ -moz-border-radius: 0px 0px 4px 4px;
203+ -webkit-border-radius: 0px 0px 4px 4px;
204+ border-radius: 0px 0px 4px 4px;
205+ background: #fff;
206+ border-top: 0px;
207+ width: 936px;
208+}
209+.header-navigation-secondary nav li {
210+ float: left;
211+}
212+.header-navigation-secondary nav li a {
213+ color: #333;
214+ display: block;
215+ height: 25px;
216+ padding: 8px 8px 0;
217+}
218+.header-navigation-secondary nav li:hover,
219+.header-navigation-secondary nav .current_page_item a {
220+ background: url("../img/sec-nav-hover.gif");
221+}
222+.header-content {
223+ padding-bottom: 30px;
224+ border-bottom: 1px solid #e0e0e0;
225+ -moz-box-shadow: 0 1px 3px #e0e0e0;
226+ -webkit-box-shadow: 0 1px 3px #e0e0e0;
227+ box-shadow: 0 1px 3px #e0e0e0;
228+ margin-bottom: 3px;
229+ position: relative;
230+ overflow: hidden;
231+}
232+footer {
233+ padding: 10px 10px 40px 10px;
234+ position: relative;
235+ -moz-border-radius: 0 0 4px 4px;
236+ -webkit-border-radius: 0 0 4px 4px;
237+ border-radius: 0 0 4px 4px;
238+ font-size: 12px;
239+ background: url("../img/background-footer.png") repeat scroll 0 0 #f7f6f5;
240+}
241+footer div {
242+ margin: 0 auto;
243+ padding: 0 10px;
244+ width: 940px;
245+}
246+footer a {
247+ color: #000;
248+}
249+footer nav ul {
250+ margin: 10px 17px 30px 0;
251+ width: 172px;
252+ display: inline-block;
253+ vertical-align: top;
254+ height: auto;
255+ zoom: 1;
256+ *display: inline;
257+}
258+footer nav ul.last {
259+ margin-right: 0;
260+}
261+footer nav li {
262+ margin-bottom: 8px;
263+}
264+footer nav li:first-child {
265+ font-weight: bold;
266+}
267+footer p {
268+ margin-bottom: 0;
269+}
270+#content {
271+ padding-top: 35px;
272+}
273+.arrow-nav {
274+ display: none;
275+ position: absolute;
276+ top: -1px;
277+ z-index: 3;
278+}
279+.shadow {
280+ margin: 30px 0 3px 0;
281+ border-bottom: 1px solid #e0e0e0;
282+ -moz-box-shadow: 0 2px 3px #e0e0e0;
283+ -webkit-box-shadow: 0 2px 3px #e0e0e0;
284+ box-shadow: 0 2px 3px #e0e0e0;
285+ height: 3px;
286+}
287+
288+/**
289+* @section Site-wide
290+*/
291+
292+#content h2{
293+ font-size:24px;
294+}
295+
296+.box-orange {
297+ padding: 10px;
298+ border: 3px solid #dd4814;
299+ -moz-border-radius: 4px;
300+ -webkit-border-radius: 4px;
301+ border-radius: 4px;
302+}
303+.box-orange .link-action-small {
304+ float: right;
305+ margin: 0 0 0 20px;
306+}
307+.link-bug {
308+ margin-left: 10px;
309+ color: #999;
310+}
311+.link-action {
312+ float: left;
313+ margin-bottom: 20px;
314+ padding: 8px 12px;
315+ display: block;
316+ background-color: #dd4814;
317+ color: #fff;
318+ -moz-border-radius: 20px;
319+ -webkit-border-radius: 20px;
320+ border-radius: 20px;
321+ font-size: 16px;
322+ line-height: 1.3;
323+ border-top: 3px solid #e6633a;
324+ border-bottom: 3px solid #c03d14;
325+}
326+.link-action2 {
327+ float: left;
328+ display: block;
329+ color: #fff;
330+ font-size: 16px;
331+ line-height: 1.3;
332+}
333+.link-action2 span{
334+ display:block;
335+ float:left;
336+}
337+.link-action2 .cta-left{
338+ background:url(../img/button-cta-left.png) no-repeat;
339+ width:22px;
340+ height:48px;
341+}
342+.link-action2 .cta-center{
343+ background:url(../img/button-cta-slice.png) repeat-x;
344+ line-height:45px;
345+ height:48px;
346+}
347+.link-action2 .cta-right{
348+ background:url(../img/button-cta-right.png) no-repeat;
349+ width:22px;
350+ height:48px;
351+}
352+
353+.link-action-small {
354+ float: left;
355+ display: block;
356+ color: #fff;
357+ font-size: 16px;
358+}
359+.link-action-small span{
360+ display:block;
361+ float:left;
362+ height:42px;
363+}
364+.link-action-small .cta-left{
365+ background:url(../img/button-cta-left-small.png) no-repeat;
366+ width:19px;
367+}
368+.link-action-small .cta-center{
369+ background:url(../img/button-cta-slice-small.png) repeat-x;
370+ line-height:42px;
371+}
372+.link-action-small .cta-right{
373+ background:url(../img/button-cta-right-small.png) no-repeat;
374+ width:19px;
375+}
376+
377+.link-action:active {
378+ position: relative;
379+ top: 1px;
380+}
381+.link-action2:active {
382+ position: relative;
383+ top: 1px;
384+}
385+.link-action-small:active {
386+ position: relative;
387+ top: 1px;
388+}
389+.list-bullets li {
390+ margin-bottom: 10px;
391+ list-style: disc;
392+ list-style-position: inside;
393+}
394+.box {
395+ margin-bottom: 30px;
396+ padding: 15px;
397+ border: 1px solid #aea79f;
398+ -moz-border-radius: 4px;
399+ -webkit-border-radius: 4px;
400+ border-radius: 4px;
401+}
402+.box-padded {
403+ margin-bottom: 30px;
404+ padding: 5px;
405+ border: 2px solid #aea79f;
406+ -moz-border-radius: 4px;
407+ -webkit-border-radius: 4px;
408+ border-radius: 4px;
409+ background: url("../img/pattern-featured.gif") repeat scroll 0 0 #ebe9e7;
410+ overflow: hidden;
411+}
412+.box-padded h3 {
413+ margin: 5px 0 10px 5px;
414+}
415+.box-padded div {
416+ padding: 10px;
417+ border: 1px solid #aea79f;
418+ -moz-border-radius: 4px;
419+ -webkit-border-radius: 4px;
420+ border-radius: 4px;
421+ background-color: #fff;
422+ overflow: hidden;
423+}
424+.box-padded li {
425+ padding: 0 10px;
426+ float: left;
427+ width: 211px;
428+ border-right: 1px dotted #aea79f;
429+}
430+.box-padded li.first {
431+ padding: 0;
432+ margin-bottom: 0;
433+}
434+.box-padded li.last {
435+ border: 0;
436+ width: 217px;
437+}
438+.box-padded img {
439+ margin: 0 10px 50px 0;
440+ float: left;
441+ -moz-border-radius: 8px;
442+ -webkit-border-radius: 8px;
443+ border-radius: 8px;
444+}
445+.box-clear {
446+ margin-bottom: 40px;
447+}
448+.box-clear .grid-4.first {
449+ margin-right: 15px;
450+ padding-right: 15px;
451+}
452+.box-clear .grid-4 {
453+ margin-left: 0;
454+ margin-right: 10px;
455+ padding-right: 10px;
456+ width: 298px;
457+}
458+.box-clear time {
459+ display: block;
460+ border-bottom: 1px dotted #aea79f;
461+ padding-bottom: 10px;
462+ margin-bottom: 10px;
463+}
464+.box-clear div.first {
465+ border-right: 1px dotted #aea79f;
466+}
467+.box-clear a {
468+ display: block;
469+}
470+.box-clear .rss {
471+ background: url("../img/rss.jpg") no-repeat scroll 0 center;
472+ padding-left: 20px;
473+}
474+.box-clear .location {
475+ display: block;
476+ margin-bottom: 1px;
477+}
478+.box-clear .last {
479+ margin: 0;
480+ padding-right: 0;
481+ -moz-border-radius: 4px;
482+ -webkit-border-radius: 4px;
483+ border-radius: 4px;
484+ width: 293px;
485+}
486+
487+/* Widgets */
488+
489+.ui-state-focus {
490+ outline: none;
491+}
492+.ui-accordion {
493+ border-bottom: 1px dotted #aea79f;
494+}
495+.ui-accordion a {
496+ display: block;
497+}
498+.ui-accordion h3 {
499+ margin-bottom: 0;
500+ border-top: 1px dotted #aea79f;
501+ position: relative;
502+ font-size: 13px;
503+ font-weight: bold;
504+}
505+.ui-accordion h3 a {
506+ padding: 10px 0;
507+ color: #333;
508+}
509+.ui-accordion h4 {
510+ margin-bottom: 5px;
511+}
512+.ui-accordion div fieldset {
513+ padding-bottom: 5px;
514+}
515+.ui-accordion div li,
516+.ui-accordion div input {
517+ margin-bottom: 10px;
518+}
519+.ui-accordion .ui-icon {
520+ position: absolute;
521+ top: 15px;
522+ right: 0;
523+ display: block;
524+ width: 8px;
525+ height: 8px;
526+ background: url("../img/icon-accordion-inactive.png") 0 0 no-repeat transparent;
527+}
528+.ui-accordion .ui-state-active .ui-icon {
529+ background-image: url("../img/icon-accordion-active.png");
530+}
531+.ui-accordion .current_page_item a {
532+ color: #333;
533+}
534+.container-tweet {
535+ -moz-border-radius: 4px 4px 4px 4px;
536+ -webkit-border-radius: 4px 4px 4px 4px;
537+ border-radius: 4px 4px 4px 4px;
538+ padding: 10px 10px 10px;
539+ background-color: #f7f7f7;
540+}
541+.container-tweet .tweet-follow {
542+ margin-top: 10px;
543+ margin-bottom: -10px;
544+ padding-left: 55px;
545+ padding-bottom: 6px;
546+ background: url("../img/tweet-follow.png") 0 5px no-repeat;
547+ display: block;
548+}
549+.container-tweet .tweet-follow span {
550+ font-size: 16px;
551+ font-weight: bold;
552+ line-height: 1.2;
553+ display: block;
554+}
555+.tweet a {
556+ display: inline;
557+}
558+.tweet .tweet_text {
559+ padding: 10px;
560+ background-color: #fff;
561+ -moz-border-radius: 4px 4px 4px 4px;
562+ -webkit-border-radius: 4px 4px 4px 4px;
563+ border-radius: 4px 4px 4px 4px;
564+ border: 1px solid #dd4814;
565+ font-size: 16px;
566+ display: block;
567+ clear: both;
568+}
569+.tweet.tweet-small .tweet_text {
570+ font-size: inherit;
571+}
572+.tweet .tweet_text a {
573+ color: #333;
574+}
575+.tweet .tweet_time,
576+.tweet .tweet_user_and_time {
577+ padding: 15px 0 10px 0;
578+ position: relative;
579+ top: -2px;
580+ background: url("../img/tweet-arrow.png") no-repeat;
581+ display: block;
582+}
583+.tweet .tweet_odd .tweet_time,
584+.tweet .tweet_odd .tweet_user_and_time {
585+ background-position: right 0;
586+ float: right;
587+}
588+.tweet .tweet_even .tweet_time,
589+.tweet .tweet_even .tweet_user_and_time {
590+ background-position: left 0;
591+ float: left;
592+}
593+
594+/* Search */
595+
596+#content .list-search li {
597+ list-style-type:none;
598+ border:0px;
599+ margin-bottom: 15px;
600+ padding-top: 15px;
601+}
602+
603+/* Blog */
604+
605+.blog-article #nav-single {
606+ margin-top: 30px;
607+ margin-bottom: 30px;
608+}
609+.blog-article #nav-single .nav-next {
610+ float: right;
611+}
612+.blog-article article header .entry-meta {
613+ margin-bottom: 20px;
614+}
615+.blog-article article .entry-meta {
616+ color: #999;
617+}
618+.blog-article #respond form input[type="submit"] {
619+ float: left;
620+ cursor: pointer;
621+ margin-bottom: 20px;
622+ padding: 8px 12px;
623+ display: block;
624+ background-color: #dd4814;
625+ color: #fff;
626+ -moz-border-radius: 20px;
627+ -webkit-border-radius: 20px;
628+ border-radius: 20px;
629+ font-size: 16px;
630+ line-height: 1.3;
631+ border-top: 3px solid #e6633a;
632+ border-left: 3px solid #e6633a;
633+ border-right: 3px solid #e6633a;
634+ border-bottom: 3px solid #c03d14;
635+}
636+.blog-article #respond form input[type="submit"]:active {
637+ position: relative;
638+ top: 1px;
639+}
640+
641+.alignnone{
642+ float:left;
643+ margin:10px 20px 10px 0;
644+}
645+.alignleft{
646+ float:left;
647+ margin:10px 20px 10px 0;
648+}
649+.alignright{
650+ float:right;
651+ margin:10px 0 10px 20px;
652+}
653+
654+.aligncenter{
655+ float:left;
656+ margin:10px 20px 10px 0;
657+}
658+.entry-content h2, .entry-content h3{
659+ margin-top:20px;
660+}
661+.entry-content ul li{
662+ list-style-type: circle;
663+ margin-left:16px;
664+}
665+
666+.entry-content hr{
667+ border:none;
668+ border-top: 1px dotted #AEA79F;
669+}
670
671=== removed file '0.1/ambiance/js/yuidoc-theme/assets/css/external-small.png'
672Binary 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
673=== added file '0.1/ambiance/js/yuidoc-theme/assets/css/html5.css'
674--- 0.1/ambiance/js/yuidoc-theme/assets/css/html5.css 1970-01-01 00:00:00 +0000
675+++ 0.1/ambiance/js/yuidoc-theme/assets/css/html5.css 2013-11-03 22:06:55 +0000
676@@ -0,0 +1,828 @@
677+/*
678+ * Copyright 2013 Canonical Ltd.
679+ *
680+ * This program is free software; you can redistribute it and/or modify
681+ * it under the terms of the GNU Lesser General Public License as published by
682+ * the Free Software Foundation; version 3.
683+ *
684+ * This program is distributed in the hope that it will be useful,
685+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
686+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
687+ * GNU Lesser General Public License for more details.
688+ *
689+ * You should have received a copy of the GNU Lesser General Public License
690+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
691+ */
692+
693+@media screen
694+{
695+
696+/* basic elements */
697+ html
698+ {
699+ color: #000000;
700+ background: #FFFFFF;
701+ }
702+ table
703+ {
704+ border-collapse: collapse;
705+ border-spacing: 0;
706+ }
707+ fieldset, img
708+ {
709+ border: 0;
710+ max-width:100%;
711+ }
712+ address, caption, cite, code, dfn, em, strong, th, var, optgroup
713+ {
714+ font-style: inherit;
715+ font-weight: inherit;
716+ }
717+ del, ins
718+ {
719+ text-decoration: none;
720+ }
721+ ol li
722+ {
723+ list-style: decimal;
724+ }
725+ ul li
726+ {
727+ list-style: none;
728+ }
729+ caption, th
730+ {
731+ text-align: left;
732+ }
733+ h1.title
734+ {
735+ font-weight: bold;
736+ font-size: 150%;
737+ }
738+ h0
739+ {
740+ font-weight: bold;
741+ font-size: 130%;
742+ }
743+ h1, h2, h3, h4, h5, h6
744+ {
745+ font-size: 100%;
746+ }
747+ q:before, q:after
748+ {
749+ content: '';
750+ }
751+ abbr, acronym
752+ {
753+ border: 0;
754+ font-variant: normal;
755+ }
756+ sup, sub
757+ {
758+ vertical-align: baseline;
759+ }
760+ tt, .qmlreadonly span, .qmldefault span
761+ {
762+ word-spacing:0.5em;
763+ }
764+ legend
765+ {
766+ color: #000000;
767+ }
768+ strong
769+ {
770+ font-weight: bold;
771+ }
772+ em
773+ {
774+ font-style: italic;
775+ }
776+
777+ body
778+ {
779+ margin: 0 1.5em 0 1.5em;
780+ font-family: ubuntu;
781+ line-height: normal
782+ }
783+ a
784+ {
785+ color: #00732F;
786+ text-decoration: none;
787+ }
788+ hr
789+ {
790+ background-color: #E6E6E6;
791+ border: 1px solid #E6E6E6;
792+ height: 1px;
793+ width: 100%;
794+ text-align: left;
795+ margin: 1.5em 0 1.5em 0;
796+ }
797+
798+ pre
799+ {
800+ border: 1px solid #DDDDDD;
801+ -moz-border-radius: 0.7em 0.7em 0.7em 0.7em;
802+ -webkit-border-radius: 0.7em 0.7em 0.7em 0.7em;
803+ border-radius: 0.7em 0.7em 0.7em 0.7em;
804+ padding: 1em 1em 1em 1em;
805+ overflow-x: auto;
806+ }
807+ table, pre
808+ {
809+ -moz-border-radius: 0.7em 0.7em 0.7em 0.7em;
810+ -webkit-border-radius: 0.7em 0.7em 0.7em 0.7em;
811+ border-radius: 0.7em 0.7em 0.7em 0.7em;
812+ background-color: #F6F6F6;
813+ border: 1px solid #E6E6E6;
814+ border-collapse: separate;
815+ margin-bottom: 2.5em;
816+ }
817+ pre {
818+ font-size: 90%;
819+ display: block;
820+ overflow:hidden;
821+ }
822+ thead
823+ {
824+ margin-top: 0.5em;
825+ font-weight: bold
826+ }
827+ th
828+ {
829+ padding: 0.5em 1.5em 0.5em 1em;
830+ background-color: #E1E1E1;
831+ border-left: 1px solid #E6E6E6;
832+ }
833+ td
834+ {
835+ padding: 0.25em 1.5em 0.25em 1em;
836+ }
837+
838+ td.rightAlign
839+ {
840+ padding: 0.25em 0.5em 0.25em 1em;
841+ }
842+ table tr.odd
843+ {
844+ border-left: 1px solid #E6E6E6;
845+ background-color: #F6F6F6;
846+ color: black;
847+ }
848+ table tr.even
849+ {
850+ border-left: 1px solid #E6E6E6;
851+ background-color: #ffffff;
852+ color: #202020;
853+ }
854+
855+ div.float-left
856+ {
857+ float: left; margin-right: 2em
858+ }
859+ div.float-right
860+ {
861+ float: right; margin-left: 2em
862+ }
863+
864+ span.comment
865+ {
866+ color: #008B00;
867+ }
868+ span.string, span.char
869+ {
870+ color: #000084;
871+ }
872+ span.number
873+ {
874+ color: #a46200;
875+ }
876+ span.operator
877+ {
878+ color: #202020;
879+ }
880+ span.keyword
881+ {
882+ color: #840000;
883+ }
884+ span.name
885+ {
886+ color: black
887+ }
888+ span.type
889+ {
890+ font-weight: bold
891+ }
892+ span.type a:visited
893+ {
894+ color: #0F5300;
895+ }
896+ span.preprocessor
897+ {
898+ color: #404040
899+ }
900+/* end basic elements */
901+
902+/* font style elements */
903+ .heading
904+ {
905+ font-weight: bold;
906+ font-size: 125%;
907+ }
908+ .subtitle
909+ {
910+ font-size: 110%
911+ }
912+ .small-subtitle
913+ {
914+ font-size: 100%
915+ }
916+ .red
917+ {
918+ color:red;
919+ }
920+/* end font style elements */
921+
922+/* global settings*/
923+ .header, .footer
924+ {
925+ display: block;
926+ clear: both;
927+ overflow: hidden;
928+ }
929+/* end global settings*/
930+
931+/* header elements */
932+ .header .qtref
933+ {
934+ color: #00732F;
935+ font-weight: bold;
936+ font-size: 130%;
937+ }
938+
939+ .header .content
940+ {
941+ margin-left: 5px;
942+ margin-top: 5px;
943+ margin-bottom: 0.5em;
944+ }
945+
946+ .header .breadcrumb
947+ {
948+ font-size: 90%;
949+ padding: 0.5em 0 0.5em 1em;
950+ margin: 0;
951+ background-color: #fafafa;
952+ height: 1.35em;
953+ border-bottom: 1px solid #d1d1d1;
954+ }
955+
956+ .header .breadcrumb ul
957+ {
958+ margin: 0;
959+ padding: 0;
960+ }
961+
962+ .header .content
963+ {
964+ word-wrap: break-word;
965+ }
966+
967+ .header .breadcrumb ul li
968+ {
969+ float: left;
970+ background: url(../images/breadcrumb.png) no-repeat 0 3px;
971+ padding-left: 1.5em;
972+ margin-left: 1.5em;
973+ }
974+
975+ .header .breadcrumb ul li.last
976+ {
977+ font-weight: normal;
978+ }
979+
980+ .header .breadcrumb ul li a
981+ {
982+ color: #00732F;
983+ }
984+
985+ .header .breadcrumb ul li.first
986+ {
987+ background-image: none;
988+ padding-left: 0;
989+ margin-left: 0;
990+ }
991+
992+ .header .content ol li {
993+ background: none;
994+ margin-bottom: 1.0em;
995+ margin-left: 1.2em;
996+ padding-left: 0
997+ }
998+
999+ .header .content li
1000+ {
1001+ background: url(../images/bullet_sq.png) no-repeat 0 5px;
1002+ margin-bottom: 1em;
1003+ padding-left: 1.2em;
1004+ }
1005+
1006+/* end header elements */
1007+
1008+/* content elements */
1009+ .content h1
1010+ {
1011+ font-weight: bold;
1012+ font-size: 130%
1013+ }
1014+
1015+ .content h2
1016+ {
1017+ font-weight: bold;
1018+ font-size: 120%;
1019+ width: 100%;
1020+ }
1021+ .content h3
1022+ {
1023+ font-weight: bold;
1024+ font-size: 110%;
1025+ width: 100%;
1026+ }
1027+ .content table p
1028+ {
1029+ margin: 0
1030+ }
1031+ .content ul
1032+ {
1033+ padding-left: 2.5em;
1034+ }
1035+ .content li
1036+ {
1037+ padding-top: 0.25em;
1038+ padding-bottom: 0.25em;
1039+ }
1040+ .content ul img {
1041+ vertical-align: middle;
1042+ }
1043+
1044+ .content a:visited
1045+ {
1046+ color: #4c0033;
1047+ text-decoration: none;
1048+ }
1049+
1050+ .content a:visited:hover
1051+ {
1052+ color: #4c0033;
1053+ text-decoration: underline;
1054+ }
1055+
1056+ a:hover
1057+ {
1058+ color: #4c0033;
1059+ text-decoration: underline;
1060+ }
1061+ descr p a
1062+ {
1063+ text-decoration: underline;
1064+ }
1065+
1066+ .descr p a:visited
1067+ {
1068+ text-decoration: underline;
1069+ }
1070+
1071+ .alphaChar{
1072+ width:95%;
1073+ background-color:#F6F6F6;
1074+ border:1px solid #E6E6E6;
1075+ -moz-border-radius: 7px 7px 7px 7px;
1076+ border-radius: 7px 7px 7px 7px;
1077+ -webkit-border-radius: 7px 7px 7px 7px;
1078+ font-size:12pt;
1079+ padding-left:10px;
1080+ margin-top:10px;
1081+ margin-bottom:10px;
1082+ }
1083+ .flowList{
1084+ /*vertical-align:top;*/
1085+ /*margin:20px auto;*/
1086+
1087+ column-count:3;
1088+ -webkit-column-count:3;
1089+ -moz-column-count:3;
1090+/*
1091+ column-width:100%;
1092+ -webkit-column-width:200px;
1093+ -col-column-width:200px;
1094+*/
1095+ column-gap:41px;
1096+ -webkit-column-gap:41px;
1097+ -moz-column-gap:41px;
1098+
1099+ column-rule: 1px dashed #ccc;
1100+ -webkit-column-rule: 1px dashed #ccc;
1101+ -moz-column-rule: 1px dashed #ccc;
1102+ }
1103+
1104+ .flowList dl{
1105+ }
1106+ .flowList dd{
1107+ /*display:inline-block;*/
1108+ margin-left:10px;
1109+ min-width:250px;
1110+ line-height: 1.5;
1111+ min-width:100%;
1112+ min-height:15px;
1113+ }
1114+
1115+ .flowList dd a{
1116+ }
1117+
1118+ .mainContent
1119+ {
1120+ padding-left:5px;
1121+ }
1122+
1123+ .content .flowList p{
1124+ padding:0px;
1125+ }
1126+
1127+ .content .alignedsummary
1128+ {
1129+ margin: 15px;
1130+ }
1131+
1132+
1133+ .qmltype
1134+ {
1135+ text-align: center;
1136+ font-size: 120%;
1137+ }
1138+ .qmlreadonly
1139+ {
1140+ padding-left: 5px;
1141+ float: right;
1142+ color: #254117;
1143+ }
1144+
1145+ .qmldefault
1146+ {
1147+ padding-left: 5px;
1148+ float: right;
1149+ color: red;
1150+ }
1151+
1152+ .qmldoc
1153+ {
1154+ }
1155+
1156+ .generic .alphaChar{
1157+ margin-top:5px;
1158+ }
1159+
1160+ .generic .odd .alphaChar{
1161+ background-color: #F6F6F6;
1162+ }
1163+
1164+ .generic .even .alphaChar{
1165+ background-color: #FFFFFF;
1166+ }
1167+
1168+ .memItemRight{
1169+ padding: 0.25em 1.5em 0.25em 0;
1170+ }
1171+ .highlightedCode
1172+ {
1173+ margin: 1.0em;
1174+ }
1175+ .annotated td {
1176+ padding: 0.25em 0.5em 0.25em 0.5em;
1177+ }
1178+
1179+ .toc
1180+ {
1181+ font-size: 80%
1182+ }
1183+
1184+ .header .content .toc ul
1185+ {
1186+ padding-left: 0px;
1187+ }
1188+
1189+ .content .toc h3 {
1190+ border-bottom: 0px;
1191+ margin-top: 0px;
1192+ }
1193+
1194+ .content .toc h3 a:hover {
1195+ color: #00732F;
1196+ text-decoration: none;
1197+ }
1198+
1199+ .content .toc .level2
1200+ {
1201+ margin-left: 1.5em;
1202+ }
1203+
1204+ .content .toc .level3
1205+ {
1206+ margin-left: 3.0em;
1207+ }
1208+
1209+ .content ul li
1210+ {
1211+ background: url(../images/bullet_sq.png) no-repeat 0 0.7em;
1212+ padding-left: 1em
1213+ }
1214+
1215+ .content .toc li
1216+ {
1217+ background: url(../images/bullet_dn.png) no-repeat 0 5px;
1218+ padding-left: 1em
1219+ }
1220+
1221+ .relpage
1222+ {
1223+ -moz-border-radius: 7px 7px 7px 7px;
1224+ -webkit-border-radius: 7px 7px 7px 7px;
1225+ border-radius: 7px 7px 7px 7px;
1226+ border: 1px solid #DDDDDD;
1227+ padding: 25px 25px;
1228+ clear: both;
1229+ }
1230+ .relpage ul
1231+ {
1232+ float: none;
1233+ padding: 1.5em;
1234+ }
1235+
1236+ h3.fn, span.fn
1237+ {
1238+ -moz-border-radius:7px 7px 7px 7px;
1239+ -webkit-border-radius:7px 7px 7px 7px;
1240+ border-radius:7px 7px 7px 7px;
1241+ background-color: #F6F6F6;
1242+ border-width: 1px;
1243+ border-style: solid;
1244+ border-color: #E6E6E6;
1245+ font-weight: bold;
1246+ word-spacing:3px;
1247+ padding:3px 5px;
1248+ }
1249+
1250+ .functionIndex {
1251+ font-size:12pt;
1252+ word-spacing:10px;
1253+ margin-bottom:10px;
1254+ background-color: #F6F6F6;
1255+ border-width: 1px;
1256+ border-style: solid;
1257+ border-color: #E6E6E6;
1258+ -moz-border-radius: 7px 7px 7px 7px;
1259+ -webkit-border-radius: 7px 7px 7px 7px;
1260+ border-radius: 7px 7px 7px 7px;
1261+ width:100%;
1262+ }
1263+
1264+ .centerAlign
1265+ {
1266+ text-align:center;
1267+ }
1268+
1269+ .rightAlign
1270+ {
1271+ text-align:right;
1272+ }
1273+
1274+ .leftAlign
1275+ {
1276+ text-align:left;
1277+ }
1278+
1279+ .topAlign{
1280+ vertical-align:top
1281+ }
1282+
1283+ .functionIndex a{
1284+ display:inline-block;
1285+ }
1286+
1287+/* end content elements */
1288+/* footer elements */
1289+
1290+ .footer
1291+ {
1292+ color: #393735;
1293+ font-size: 0.75em;
1294+ text-align: center;
1295+ padding-top: 1.5em;
1296+ padding-bottom: 1em;
1297+ background-color: #E6E7E8;
1298+ margin: 0;
1299+ }
1300+ .footer p
1301+ {
1302+ margin: 0.25em
1303+ }
1304+ .small
1305+ {
1306+ font-size: 0.5em;
1307+ }
1308+/* end footer elements */
1309+
1310+ .item {
1311+ float: left;
1312+ position: relative;
1313+ width: 100%;
1314+ overflow: hidden;
1315+ }
1316+
1317+
1318+ .item .primary {
1319+ margin-right: 220px;
1320+ position: relative;
1321+ }
1322+
1323+ .item hr {
1324+ margin-left: -220px;
1325+ }
1326+
1327+ .item .secondary {
1328+ float: right;
1329+ width: 200px;
1330+ position: relative;
1331+ }
1332+
1333+ .item .cols {
1334+ clear: both;
1335+ display: block;
1336+ }
1337+
1338+ .item .cols .col {
1339+ float: left;
1340+ margin-left: 1.5%;
1341+ }
1342+
1343+ .item .cols .col.first {
1344+ margin-left: 0;
1345+ }
1346+
1347+ .item .cols.two .col {
1348+ width: 45%;
1349+ }
1350+
1351+ .item .box {
1352+ margin: 0 0 10px 0;
1353+ }
1354+
1355+ .item .box h3 {
1356+ margin: 0 0 10px 0;
1357+ }
1358+
1359+ .cols.unclear {
1360+ clear:none;
1361+ }
1362+}
1363+
1364+/* end of screen media */
1365+
1366+/* start of print media */
1367+
1368+@media print
1369+{
1370+ input, textarea, .header, .footer, .toolbar, .feedback, .wrapper .hd, .wrapper .bd .sidebar, .wrapper .ft, #feedbackBox, #blurpage, .toc, .breadcrumb, .toolbar, .floatingResult
1371+ {
1372+ display: none;
1373+ background: none;
1374+ }
1375+ .content
1376+ {
1377+ background: none;
1378+ display: block;
1379+ width: 100%; margin: 0; float: none;
1380+ }
1381+}
1382+/* end of print media */
1383+
1384+
1385+/* modify the TOC layouts */
1386+div.toc ul {
1387+ padding-left: 20px;
1388+}
1389+div.toc li {
1390+ padding-left: 4px;
1391+}
1392+/* Remove the border around images*/
1393+a img
1394+{
1395+ border:none;
1396+}
1397+
1398+/*Add styling to the front pages*/
1399+
1400+.threecolumn_area
1401+{
1402+ padding-top: 20px;
1403+ padding-bottom: 20px;
1404+}
1405+.threecolumn_piece
1406+{
1407+ display: inline-block;
1408+ margin-left: 78px;
1409+ margin-top: 8px;
1410+ padding: 0;
1411+ vertical-align: top;
1412+ width: 25.5%;
1413+}
1414+div.threecolumn_piece ul {
1415+ list-style-type: none;
1416+ padding-left: 0px;
1417+ margin-top: 2px;
1418+}
1419+div.threecolumn_piece p {
1420+ margin-bottom: 7px;
1421+ color: #5C626E;
1422+ text-decoration: none;
1423+ font-weight: bold;
1424+}
1425+div.threecolumn_piece li {
1426+ padding-left: 0px;
1427+ margin-bottom: 5px;
1428+}
1429+div.threecolumn_piece a {
1430+ font-weight: normal;
1431+}
1432+/* Add style to guide page*/
1433+.fourcolumn_area
1434+{
1435+ padding-top: 20px;
1436+ padding-bottom: 20px;
1437+}
1438+.fourcolumn_piece
1439+{
1440+ display: inline-block;
1441+ margin-left: 35px;
1442+ margin-top: 8px;
1443+ padding: 0;
1444+ vertical-align: top;
1445+ width: 21.3%;
1446+}
1447+div.fourcolumn_piece ul {
1448+ list-style-type: none;
1449+ padding-left: 0px;
1450+ margin-top: 2px;
1451+}
1452+div.fourcolumn_piece p {
1453+ margin-bottom: 7px;
1454+ color: #40444D;
1455+ text-decoration: none;
1456+ font-weight: bold;
1457+}
1458+div.fourcolumn_piece li {
1459+ padding-left: 0px;
1460+ margin-bottom: 5px;
1461+}
1462+div.fourcolumn_piece a {
1463+ font-weight: normal;
1464+}
1465+
1466+.foundat {
1467+ font-size: 12px;
1468+ margin-bottom: 10px;
1469+ font-style: italic;
1470+ display: block;
1471+ color: #AEA79F;
1472+}
1473+
1474+.intro {
1475+ margin-bottom: 10px;
1476+}
1477+
1478+.intro ul {
1479+ list-style-type: disc;
1480+ padding-left: 30px;
1481+}
1482+
1483+.intro ul li{
1484+ list-style-type: disc;
1485+}
1486+
1487+.params {
1488+ list-style-type: disc;
1489+ padding-left: 30px;
1490+}
1491+
1492+.params li{
1493+ list-style-type: disc;
1494+ line-height: 22px;
1495+}
1496+
1497+.params ul {
1498+ list-style-type: circle;
1499+ padding-left: 30px;
1500+}
1501+
1502+.params ul li{
1503+ list-style-type: circle;
1504+}
1505\ No newline at end of file
1506
1507=== removed file '0.1/ambiance/js/yuidoc-theme/assets/css/logo.png'
1508Binary 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
1509=== added file '0.1/ambiance/js/yuidoc-theme/assets/css/reset.css'
1510--- 0.1/ambiance/js/yuidoc-theme/assets/css/reset.css 1970-01-01 00:00:00 +0000
1511+++ 0.1/ambiance/js/yuidoc-theme/assets/css/reset.css 2013-11-03 22:06:55 +0000
1512@@ -0,0 +1,8 @@
1513+/*
1514+Copyright (c) 2010, Yahoo! Inc. All rights reserved.
1515+Code licensed under the BSD License:
1516+http://developer.yahoo.com/yui/license.html
1517+version: 3.3.0
1518+build: 3167
1519+*/
1520+html{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;}
1521\ No newline at end of file
1522
1523=== added file '0.1/ambiance/js/yuidoc-theme/assets/css/scratch.css'
1524--- 0.1/ambiance/js/yuidoc-theme/assets/css/scratch.css 1970-01-01 00:00:00 +0000
1525+++ 0.1/ambiance/js/yuidoc-theme/assets/css/scratch.css 2013-11-03 22:06:55 +0000
1526@@ -0,0 +1,104 @@
1527+/*
1528+ * Copyright 2013 Canonical Ltd.
1529+ *
1530+ * This program is free software; you can redistribute it and/or modify
1531+ * it under the terms of the GNU Lesser General Public License as published by
1532+ * the Free Software Foundation; version 3.
1533+ *
1534+ * This program is distributed in the hope that it will be useful,
1535+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
1536+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1537+ * GNU Lesser General Public License for more details.
1538+ *
1539+ * You should have received a copy of the GNU Lesser General Public License
1540+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
1541+ */
1542+
1543+body {
1544+ margin: 0;
1545+}
1546+div.toc ul {
1547+ padding: 0;
1548+}
1549+div.toc li {
1550+ margin-bottom: 3px;
1551+}
1552+h1.title {
1553+ font-size: 36px;
1554+ line-height: 1.1;
1555+ font-weight: normal;
1556+}
1557+h0, h2 {
1558+ font-size: 24px;
1559+ line-height: 1.2;
1560+ margin: 14px 0;
1561+ font-weight: normal;
1562+ display: block;
1563+}
1564+a:hover {
1565+ color: #dd4814;
1566+ text-decoration: underline;
1567+ outline: 0;
1568+}
1569+table, pre {
1570+ border-radius: 0;
1571+ white-space: pre-wrap;
1572+}
1573+.annotated td {
1574+ padding: 0.8em 1em 0.3em;
1575+}
1576+.wrapper {
1577+ width: 940px;
1578+ margin: 0 auto;
1579+}
1580+.main-content {
1581+ width: 668px;
1582+ position: relative;
1583+ left: 270px;
1584+}
1585+.title {
1586+ margin-left: -270px;
1587+ margin-top: 30px;
1588+ margin-bottom: 50px;
1589+}
1590+.toc {
1591+ margin-left: -270px;
1592+ font-size: 100%;
1593+ margin-bottom: 40px;
1594+ padding: 0;
1595+ z-index: 2;
1596+ position: absolute;
1597+ top: 100px;
1598+ width: 250px;
1599+}
1600+.breadcrumb {
1601+ position: relative;
1602+ left: -270px;
1603+ top: 30px;
1604+ width: auto;
1605+ padding-bottom: 30px;
1606+ margin-bottom: 30px;
1607+ float:left;
1608+}
1609+.breadcrumb li {
1610+ float: left;
1611+ margin-right: 8px;
1612+}
1613+.breadcrumb a:link,
1614+.breadcrumb a:visited {
1615+ color: #AEA79F;
1616+}
1617+.breadcrumb a:after {
1618+ content: '\0000a0\0000a0 >';
1619+}
1620+.title {
1621+ margin-top: 50px;
1622+ clear:both;
1623+}
1624+.breadcrumb + .toc {
1625+ top: 170px;
1626+}
1627+.breadcrumb p {
1628+ display: inline;
1629+}
1630+
1631
1632=== added file '0.1/ambiance/js/yuidoc-theme/assets/js/breadcrumbs.js'
1633--- 0.1/ambiance/js/yuidoc-theme/assets/js/breadcrumbs.js 1970-01-01 00:00:00 +0000
1634+++ 0.1/ambiance/js/yuidoc-theme/assets/js/breadcrumbs.js 2013-11-03 22:06:55 +0000
1635@@ -0,0 +1,21 @@
1636+/*
1637+ * Copyright 2013 Canonical Ltd.
1638+ *
1639+ * This program is free software; you can redistribute it and/or modify
1640+ * it under the terms of the GNU Lesser General Public License as published by
1641+ * the Free Software Foundation; version 3.
1642+ *
1643+ * This program is distributed in the hope that it will be useful,
1644+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
1645+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1646+ * GNU Lesser General Public License for more details.
1647+ *
1648+ * You should have received a copy of the GNU Lesser General Public License
1649+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
1650+ */
1651+
1652+$(document).ready(function(){
1653+ var ul = $("ul.breadcrumb");
1654+ var li = ul.children("li:has(a)").remove();
1655+ ul.prepend(li);
1656+});
1657
1658=== removed file '0.1/ambiance/js/yuidoc-theme/assets/js/tabs.js'
1659--- 0.1/ambiance/js/yuidoc-theme/assets/js/tabs.js 2013-11-01 20:11:24 +0000
1660+++ 0.1/ambiance/js/yuidoc-theme/assets/js/tabs.js 1970-01-01 00:00:00 +0000
1661@@ -1,67 +0,0 @@
1662-/*
1663- * Copyright 2011 Yahoo! Inc.
1664- * All rights reserved.
1665- *
1666- * Redistribution and use in source and binary forms, with or without
1667- * modification, are permitted provided that the following conditions are met:
1668- * * Redistributions of source code must retain the above copyright
1669- * notice, this list of conditions and the following disclaimer.
1670- * * Redistributions in binary form must reproduce the above copyright
1671- * notice, this list of conditions and the following disclaimer in the
1672- * documentation and/or other materials provided with the distribution.
1673- * * Neither the name of the Yahoo! Inc. nor the
1674- * names of its contributors may be used to endorse or promote products
1675- * derived from this software without specific prior written permission.
1676- *
1677- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1678- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1679- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1680- * DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY
1681- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1682- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1683- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1684- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1685- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1686- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1687- */
1688-
1689-
1690-
1691-YUI({
1692- insertBefore: 'site_styles'
1693-}).use('tabview', function(Y) {
1694- var classdocs = Y.one('#classdocs'),
1695- tabviewIndexTable = {};
1696- if (classdocs) {
1697- if (classdocs.all('li').size()) {
1698- var tabview = new Y.TabView({ srcNode: classdocs });
1699- tabview.render();
1700- classdocs.all('li a').each(function (item, index) {
1701- var hash = item.get(['hash']);
1702- type = hash.substring(1);
1703- if (!tabviewIndexTable[type]) {
1704- tabviewIndexTable[type] = index;
1705- }
1706- })
1707- Y.all('.sidebox.on-page').each(function (item, index) {
1708- var children = item.all('li a');
1709- children.each(function (cItem, cIndex) {
1710- return function () {
1711- var handleClick = function (e) {
1712- var node = Y.one(this),
1713- hash = node.get(['hash']),
1714- hashValue = hash.substring(1).split('_'),
1715- type = hashValue.shift(),
1716- ogKey = hashValue.join('_'); // in case the hash had other underscores
1717- if (tabviewIndexTable[type] > -1 && tabviewIndexTable[type] !== currentTab) {
1718- currentTab = tabviewIndexTable[type];
1719- tabview.selectChild(tabviewIndexTable[type]);
1720- }
1721- }
1722- Y.on('click', handleClick, cItem)
1723- }()
1724- })
1725- });
1726- }
1727- }
1728-});
1729
1730=== modified file '0.1/ambiance/js/yuidoc-theme/layouts/main.handlebars'
1731--- 0.1/ambiance/js/yuidoc-theme/layouts/main.handlebars 2013-10-17 16:34:23 +0000
1732+++ 0.1/ambiance/js/yuidoc-theme/layouts/main.handlebars 2013-11-03 22:06:55 +0000
1733@@ -1,38 +1,186 @@
1734-<!DOCTYPE html>
1735-<html lang="en">
1736+<?xml version="1.0" encoding="UTF-8"?>
1737+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1738+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1739 <head>
1740- <meta charset="utf-8">
1741+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
1742+ <!-- ComposerSheet.qml -->
1743 <title>{{htmlTitle}}</title>
1744- <link rel="stylesheet" href="{{yuiGridsUrl}}">
1745+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
1746+ <script type="text/javascript" src="{{projectAssets}}/js/breadcrumbs.js"></script>
1747+ <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic" />
1748+ <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu+Mono:400" />
1749+ <link rel="stylesheet" type="text/css" href="{{projectAssets}}/css/reset.css" />
1750+ <link rel="stylesheet" type="text/css" href="{{projectAssets}}/css/html5.css" />
1751+ <link rel="stylesheet" type="text/css" href="{{projectAssets}}/css/base.css" />
1752+ <link rel="stylesheet" type="text/css" href="{{projectAssets}}/css/scratch.css" />
1753 <link rel="stylesheet" href="{{projectAssets}}/vendor/prettify/prettify-min.css">
1754- <link rel="stylesheet" href="{{projectAssets}}/css/main.css" id="site_styles">
1755- <script src="{{yuiSeedUrl}}"></script>
1756 </head>
1757-<body class="yui3-skin-sam">
1758-
1759-<div id="doc">
1760- <div id="hd" class="yui3-g header">
1761- <div class="yui3-u-3-4">
1762- <h1><a href="{{projectRoot}}index.html"><img src="{{projectAssets}}/css/logo.png">{{title}}</a></h1>
1763- </div>
1764- <div class="yui3-u-1-4 version">
1765- <em>API Docs for: {{projectVersion}}</em>
1766- </div>
1767- </div>
1768- <div class="yui3-g">
1769-
1770- <div id="sidebar" class="yui3-u">
1771+ <header>
1772+ <div class="header-login">
1773+ <ul>
1774+ <li>
1775+ <a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a>
1776+ </li>
1777+ </ul>
1778+ </div>
1779+ <div class="header-navigation">
1780+ <div>
1781+ <nav role="navigation">
1782+ <ul>
1783+ <li class="page_item page-item-5">
1784+ <a href="http://developer.ubuntu.com/">Home</a>
1785+ </li>
1786+ <li class="page_item page-item-7">
1787+ <a href="http://developer.ubuntu.com/get-started/">Get started</a>
1788+ </li>
1789+ <li class="page_item page-item-9">
1790+ <a href="http://developer.ubuntu.com/resources/">Resources</a>
1791+ </li>
1792+ <li class="page_item page-item-11">
1793+ <a href="http://developer.ubuntu.com/publish/">Publish</a>
1794+ </li>
1795+ <li class="page_item page-item-13">
1796+ <a href="http://developer.ubuntu.com/community/">Community</a>
1797+ </li>
1798+ <li>
1799+ <a href="https://myapps.developer.ubuntu.com/dev">My Apps</a>
1800+ </li>
1801+ <li>
1802+ <form id="form-search" method="get" action="/">
1803+ <fieldset>
1804+ <input id="input-search" type="text" name="s" value="Search" />
1805+ </fieldset>
1806+ </form>
1807+ </li>
1808+ </ul>
1809+ </nav>
1810+ <a class="logo-ubuntu" href="/">
1811+ <img src="http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/img/logo-ubuntu.png" width="119" height="27" alt="Ubuntu logo" />
1812+ </a>
1813+ <h2>
1814+ <a href="/">App Developer</a>
1815+ </h2>
1816+ </div>
1817+ </div>
1818+
1819+ </header>
1820+ <div class="wrapper">
1821+ <div class="main-content">
1822+ <ul class="breadcrumb">
1823+ <li><a href="index.html">Ubuntu HTML5 API</a></li>
1824+ <li>{{moduleName}}</li>
1825+ </ul>
1826 {{>sidebar}}
1827- </div>
1828-
1829- <div id="main" class="yui3-u">
1830- <div class="content">{{>layout_content}}</div>
1831+ {{#if moduleName}}
1832+ <h1 class="title">{{moduleName}}</h1>
1833+ {{else}}
1834+ <h1 class="title">Ubuntu HTML5 API</h1>
1835+ {{/if}}
1836+ {{>layout_content}}
1837 </div>
1838 </div>
1839-</div>
1840-<script src="{{projectAssets}}/vendor/prettify/prettify-min.js"></script>
1841-<script>prettyPrint();</script>
1842-<script src="{{projectAssets}}/js/yui-prettify.js"></script>
1843-<script src="{{projectAssets}}/js/tabs.js"></script>
1844+ <div class="shadow"></div>
1845+ <footer>
1846+ <div>
1847+ <nav role="navigation" class="clearfix">
1848+ <ul>
1849+ <li>
1850+ <a href="/get-started">Get started</a>
1851+ </li>
1852+ <li class="page_item page-item-16">
1853+ <a href="http://developer.ubuntu.com/get-started/quickly-workflow/">Quickly workflow</a>
1854+ </li>
1855+ <li class="page_item page-item-18">
1856+ <a href="http://developer.ubuntu.com/get-started/qt-creator/">Qt Creator</a>
1857+ </li>
1858+ <li class="page_item page-item-20">
1859+ <a href="http://developer.ubuntu.com/get-started/eclipse/">Eclipse</a>
1860+ </li>
1861+ <li class="page_item page-item-22">
1862+ <a href="http://developer.ubuntu.com/get-started/monodevelop/">MonoDevelop</a>
1863+ </li>
1864+ </ul>
1865+ <ul>
1866+ <li>
1867+ <a href="/resources">Resources</a>
1868+ </li>
1869+ <li>
1870+ <a href="/resources/tools/quickly">Quickly</a>
1871+ </li>
1872+ <li>
1873+ <a href="/resources/platform/api">API</a>
1874+ </li>
1875+ <li>
1876+ <a href="/resources/platform/documentation/platform-diagram">Platform overview</a>
1877+ </li>
1878+ </ul>
1879+ <ul>
1880+ <li>
1881+ <a href="/publish">Publish</a>
1882+ </li>
1883+ <li class="page_item page-item-24">
1884+ <a href="http://developer.ubuntu.com/publish/commercial-software-faqs/">Commercial software FAQs</a>
1885+ </li>
1886+ <li class="page_item page-item-34">
1887+ <a href="http://developer.ubuntu.com/publish/application-states/">Application states</a>
1888+ </li>
1889+ <li class="page_item page-item-577">
1890+ <a href="http://developer.ubuntu.com/publish/my-apps-packages/">Uploading your app</a>
1891+ </li>
1892+ <li class="page_item page-item-404">
1893+ <a href="http://developer.ubuntu.com/publish/ubuntu-software-centre/">Ubuntu Software Centre</a>
1894+ </li>
1895+ <li class="page_item page-item-427">
1896+ <a href="http://developer.ubuntu.com/publish/licence-key-infrastructure/">Licence key infrastructure</a>
1897+ </li>
1898+ <li class="page_item page-item-1230">
1899+ <a href="http://developer.ubuntu.com/publish/updating-your-app/">Updating your app</a>
1900+ </li>
1901+ </ul>
1902+ <ul>
1903+ <li>
1904+ <a href="/community">Community</a>
1905+ </li>
1906+ <li class="page_item page-item-28">
1907+ <a href="http://developer.ubuntu.com/community/app-developer-blog/">App Developer Blog</a>
1908+ </li>
1909+ <li class="page_item page-item-30">
1910+ <a href="http://developer.ubuntu.com/community/submit-a-tutorial/">Submit a tutorial</a>
1911+ </li>
1912+ <li class="page_item page-item-32">
1913+ <a href="http://developer.ubuntu.com/community/app-review-board-charter/">App Review Board charter</a>
1914+ </li>
1915+ <li class="page_item page-item-2987">
1916+ <a href="http://developer.ubuntu.com/community/on-air/">On air</a>
1917+ <ul class='children'>
1918+ <li class="page_item page-item-3066">
1919+ <a href="http://developer.ubuntu.com/community/on-air/recordings/">Recordings</a>
1920+ </li>
1921+ </ul>
1922+ </li>
1923+ </ul>
1924+ <ul class="last">
1925+ <li>
1926+ <a href="https://myapps.developer.ubuntu.com/dev">My Apps</a>
1927+ </li>
1928+ <li>
1929+ <a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a>
1930+ </li>
1931+ <li>
1932+ <a href="https://myapps.developer.ubuntu.com/dev/account">My account</a>
1933+ </li>
1934+ </ul>
1935+ </nav>
1936+ <p>
1937+ &copy; 2013 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.
1938+ <a class="link-bug" href="https://bugs.launchpad.net/ubuntudeveloperportal/+filebug">Report a bug on this site</a>
1939+ </p>
1940+ </div>
1941+ </footer>
1942+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
1943+ <script type="text/javascript" src="http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/js/base.js"></script>
1944+ <script src="{{projectAssets}}/vendor/prettify/prettify-min.js"></script>
1945+ <script>prettyPrint();</script>
1946+ <script src="{{projectAssets}}/js/yui-prettify.js"></script>
1947 </body>
1948 </html>
1949
1950=== modified file '0.1/ambiance/js/yuidoc-theme/partials/attrs.handlebars'
1951--- 0.1/ambiance/js/yuidoc-theme/partials/attrs.handlebars 2013-10-17 16:34:23 +0000
1952+++ 0.1/ambiance/js/yuidoc-theme/partials/attrs.handlebars 2013-11-03 22:06:55 +0000
1953@@ -20,4 +20,4 @@
1954 </ul>
1955 </div>
1956 {{/if}}
1957-</div>
1958+</div>
1959\ No newline at end of file
1960
1961=== modified file '0.1/ambiance/js/yuidoc-theme/partials/classes.handlebars'
1962--- 0.1/ambiance/js/yuidoc-theme/partials/classes.handlebars 2013-10-17 16:34:23 +0000
1963+++ 0.1/ambiance/js/yuidoc-theme/partials/classes.handlebars 2013-11-03 22:06:55 +0000
1964@@ -1,4 +1,4 @@
1965-<h4>Class {{moduleName}}</h4>
1966+<h2>Class {{moduleName}}</h2>
1967 {{#if uses}}
1968 Uses:
1969 {{#each uses}}
1970@@ -26,23 +26,9 @@
1971 {{/if}}
1972
1973 <div id="classdocs">
1974- <ul>
1975- {{#if methods}}
1976- <li><a href="#methods">Methods</a></li>
1977- {{/if}}
1978- {{#if properties}}
1979- <li><a href="#props">Properties</a></li>
1980- {{/if}}
1981- {{#if attrs}}
1982- <li><a href="#attrs">Attributes</a></li>
1983- {{/if}}
1984- {{#if events}}
1985- <li><a href="#events">Events</a></li>
1986- {{/if}}
1987- </ul>
1988- <div>
1989 {{#if methods}}
1990 <div id="methods">
1991+ <h2>Methods</h2>
1992 {{#methods}}
1993 {{>method}}
1994 {{/methods}}
1995@@ -50,6 +36,7 @@
1996 {{/if}}
1997 {{#if properties}}
1998 <div id="props">
1999+ <h2>Properties</h2>
2000 {{#properties}}
2001 {{>props}}
2002 {{/properties}}
2003@@ -57,6 +44,7 @@
2004 {{/if}}
2005 {{#if attrs}}
2006 <div id="attrs">
2007+ <h2>Attributes</h2>
2008 {{#attrs}}
2009 {{>attrs}}
2010 {{/attrs}}
2011@@ -64,10 +52,11 @@
2012 {{/if}}
2013 {{#if events}}
2014 <div id="events">
2015+ <h2>Events</h2>
2016 {{#events}}
2017 {{>events}}
2018 {{/events}}
2019 </div>
2020 {{/if}}
2021 </div>
2022-</div>
2023+</div>
2024\ No newline at end of file
2025
2026=== modified file '0.1/ambiance/js/yuidoc-theme/partials/events.handlebars'
2027--- 0.1/ambiance/js/yuidoc-theme/partials/events.handlebars 2013-10-17 16:34:23 +0000
2028+++ 0.1/ambiance/js/yuidoc-theme/partials/events.handlebars 2013-11-03 22:06:55 +0000
2029@@ -31,5 +31,4 @@
2030 {{/params}}
2031 </ul>
2032 {{/if}}
2033-</div>
2034-
2035+</div>
2036\ No newline at end of file
2037
2038=== modified file '0.1/ambiance/js/yuidoc-theme/partials/files.handlebars'
2039--- 0.1/ambiance/js/yuidoc-theme/partials/files.handlebars 2013-10-17 16:34:23 +0000
2040+++ 0.1/ambiance/js/yuidoc-theme/partials/files.handlebars 2013-11-03 22:06:55 +0000
2041@@ -2,5 +2,4 @@
2042
2043 <pre class="code prettyprint linenums">
2044 {{fileData}}
2045-</pre>
2046-
2047+</pre>
2048\ No newline at end of file
2049
2050=== modified file '0.1/ambiance/js/yuidoc-theme/partials/index.handlebars'
2051--- 0.1/ambiance/js/yuidoc-theme/partials/index.handlebars 2013-10-31 21:09:16 +0000
2052+++ 0.1/ambiance/js/yuidoc-theme/partials/index.handlebars 2013-11-03 22:06:55 +0000
2053@@ -1,43 +1,41 @@
2054-<h4>Welcome to Ubuntu HTML5 API Docs version 0.1</h4>
2055-
2056 <p>These pages provide reference docs for the Ubunbtu HTML5 framework.</p>
2057
2058 <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>
2059
2060-<h4>Ubuntu HTML5 widgets</h4>
2061+<h2>Ubuntu HTML5 widgets</h2>
2062
2063 <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>
2064 <p>Each widget has its HTML part, a corresponding JavaScript object (many of which provide additional methods), and CSS styles.</p>
2065
2066-<h4>What you need to know</h4>
2067+<h2>What you need to know</h2>
2068
2069 <p>To write Ubuntu HTML5 apps, you need to know:</p>
2070
2071-<ul>
2072+<ol>
2073 <li>How to <em>declare</em> each widget type in HTML</li>
2074 <li>How to acces the JavaScript widget objects and use their methods</li>
2075 <li>How to initialize the Ubuntu HTML5 framework at app load time</li>
2076-</ul>
2077+</ol>
2078
2079 <p>These topics are introduced here and explained in the class documentation.</p>
2080
2081-<h4>Elements and special attributes</h4>
2082+<h2>Elements and special attributes</h2>
2083
2084 <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>
2085
2086 </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>
2087
2088-<h4><em>id</em> attributes</h4>
2089+<h2><em>id</em> attributes</h2>
2090
2091 <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>
2092
2093-<h4>JavaScript classes and methods</h4>
2094+<h2>JavaScript classes and methods</h2>
2095
2096 <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>
2097
2098 <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>
2099
2100-<h4>How these docs are organized</h4>
2101+<h2>How these docs are organized</h2>
2102
2103 <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>
2104
2105@@ -45,10 +43,10 @@
2106
2107 <p>Then, an Ubuntu HTML5 app is structured as a PageStack of Pages, so be sure to visit those classes.</p>
2108
2109-<h4>Ubuntu HTML5 CSS</h4>
2110+<h2>Ubuntu HTML5 CSS</h2>
2111
2112 <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>
2113
2114-<h4>Let's grow this!</h4>
2115+<h2>Let's grow this!</h2>
2116
2117-<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>
2118+<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>
2119\ No newline at end of file
2120
2121=== modified file '0.1/ambiance/js/yuidoc-theme/partials/method.handlebars'
2122--- 0.1/ambiance/js/yuidoc-theme/partials/method.handlebars 2013-10-17 16:34:23 +0000
2123+++ 0.1/ambiance/js/yuidoc-theme/partials/method.handlebars 2013-11-03 22:06:55 +0000
2124@@ -1,18 +1,26 @@
2125 <a name="methods_{{name}}"></a>
2126-<div class="method item{{#if access}} {{access}}{{/if}}">
2127- {{#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}}
2128- <br>
2129+
2130+<div class="method {{#if access}} {{access}}{{/if}}">
2131+ {{#if final}}
2132+ <code>final</code>
2133+ {{/if}}
2134+ {{#if returnType}}{{#crossLink returnType}}{{/crossLink}} {{/if}}
2135+
2136+ <h3>`{{name}}` ( `{{paramsList}} ` ) {{#if access}}<em>`/* {{access}} method */`</em>{{/if}}</h3>
2137+
2138 <span class="foundat">
2139 {{#if overwritten_from}}
2140- Defined in <a href="{{overwritten_from/class}}.html#method_{{overwritten_from/name}}">{{overwritten_from/class}}</a> but overwritten locally:
2141+ Defined in <a href="{{overwritten_from/class}}.html#method_{{overwritten_from/name}}">{{overwritten_from/class}}</a> but overwritten locally:
2142 {{else}}
2143 {{#if extended_from}} Defined in <a href="{{extended_from}}.html#method_{{name}}">{{extended_from}}</a>: {{/if}}
2144 {{/if}}
2145 <a href="../{{foundAt}}">`{{file}}:{{line}}`</a>
2146- </span><br>
2147+ </span>
2148+
2149 {{{methodDescription}}}
2150+
2151 {{#if params}}
2152- <strong>Parameters:</strong>
2153+ <h3>Parameters</h3>
2154 <ul class="params">
2155 {{#params}}
2156 <li>
2157@@ -46,11 +54,14 @@
2158 {{/if}}
2159 {{#if return}}
2160 {{#return}}
2161- <br><div class="returns"><strong>Returns:</strong> {{#if type}}&lt;{{#crossLink type}}{{/crossLink}}&gt; {{/if}}{{{description}}}</div>
2162+ <br /><div class="returns"><strong>Returns:</strong> {{#if type}}&lt;{{#crossLink type}}{{/crossLink}}&gt; {{/if}}{{{description}}}</div>
2163 {{/return}}
2164 {{/if}}
2165+
2166+ <br />
2167 {{#if example}}
2168- <h5>Example</h5>
2169+ <h3>Example</h3>
2170 {{{example}}}
2171 {{/if}}
2172-</div>
2173+
2174+</div>
2175\ No newline at end of file
2176
2177=== modified file '0.1/ambiance/js/yuidoc-theme/partials/module.handlebars'
2178--- 0.1/ambiance/js/yuidoc-theme/partials/module.handlebars 2013-10-17 16:34:23 +0000
2179+++ 0.1/ambiance/js/yuidoc-theme/partials/module.handlebars 2013-11-03 22:06:55 +0000
2180@@ -1,4 +1,3 @@
2181-
2182 <h2>{{moduleName}}</h2>
2183 <div class="intro">{{{moduleDescription}}}</div>
2184
2185@@ -25,4 +24,4 @@
2186 </div>
2187 </div>
2188 <br><br>
2189-<span class="foundat">Module description found: <a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>
2190+<span class="foundat">Module description found: <a href="../{{foundAt}}">`{{file}}:{{line}}`</a></span>
2191\ No newline at end of file
2192
2193=== modified file '0.1/ambiance/js/yuidoc-theme/partials/props.handlebars'
2194--- 0.1/ambiance/js/yuidoc-theme/partials/props.handlebars 2013-10-17 16:34:23 +0000
2195+++ 0.1/ambiance/js/yuidoc-theme/partials/props.handlebars 2013-11-03 22:06:55 +0000
2196@@ -7,4 +7,4 @@
2197 <h5>Example</h5>
2198 {{{example}}}
2199 {{/if}}
2200-</div>
2201+</div>
2202\ No newline at end of file
2203
2204=== modified file '0.1/ambiance/js/yuidoc-theme/partials/sidebar.handlebars'
2205--- 0.1/ambiance/js/yuidoc-theme/partials/sidebar.handlebars 2013-10-17 16:34:23 +0000
2206+++ 0.1/ambiance/js/yuidoc-theme/partials/sidebar.handlebars 2013-11-03 22:06:55 +0000
2207@@ -1,105 +1,79 @@
2208-<div id="modules" class="sidebox">
2209- <div class="hd">
2210- <h2 class="no-toc">Modules</h2>
2211- </div>
2212- <div class="bd">
2213- <ul>
2214- {{#modules}}
2215- <li><a href="{{../projectRoot}}modules/{{name}}.html">{{displayName}}</a>
2216- {{#if submodules}}
2217- <ul>
2218- {{#submodules}}
2219- <li><a href="{{../../../projectRoot}}modules/{{../name}}.html#{{displayName}}">{{displayName}}</a></li>
2220- {{/submodules}}
2221- </ul>
2222- {{/if}}
2223+<div class="toc">
2224+ <h3 class="no-toc">Modules</h3>
2225+ <ul>
2226+ {{#modules}}
2227+ <li>
2228+ <a href="{{../projectRoot}}modules/{{name}}.html">{{displayName}}</a>
2229+ {{#if submodules}}
2230+ <ul>
2231+ {{#submodules}}
2232+ <li>
2233+ <a href="{{../../../projectRoot}}modules/{{../name}}.html#{{displayName}}">{{displayName}}</a>
2234 </li>
2235- {{/modules}}
2236- </ul>
2237- </div>
2238-</div>
2239-
2240-<div id="classes" class="sidebox">
2241- <div class="hd">
2242- <h2 class="no-toc">Classes</h2>
2243- </div>
2244- <div class="bd">
2245- <ul>
2246- {{#classes}}
2247- <li><a href="{{../projectRoot}}classes/{{name}}.html">{{displayName}}</a></li>
2248- {{/classes}}
2249- </ul>
2250- </div>
2251-</div>
2252-
2253-{{#if methods}}
2254-<div id="methods-on-page" class="sidebox on-page">
2255- <div class="hd">
2256- <h2 class="no-toc">Methods On Page</h2>
2257- </div>
2258- <div class="bd">
2259- <ul>
2260- {{#methods}}
2261- <li><a href="#methods_{{name}}">{{name}}</a></li>
2262- {{/methods}}
2263- </ul>
2264- </div>
2265-</div>
2266-{{/if}}
2267-
2268-{{#if events}}
2269-<div id="events-on-page" class="sidebox on-page">
2270- <div class="hd">
2271- <h2 class="no-toc">Events On Page</h2>
2272- </div>
2273- <div class="bd">
2274- <ul>
2275- {{#events}}
2276- <li><a href="#events_{{name}}">{{name}}</a></li>
2277- {{/events}}
2278- </ul>
2279- </div>
2280-</div>
2281-{{/if}}
2282-
2283-{{#if props}}
2284-<div id="props-on-page" class="sidebox">
2285- <div class="hd">
2286- <h2 class="no-toc">Props On Page</h2>
2287- </div>
2288- <div class="bd">
2289- <ul>
2290- {{#events}}
2291- <li><a href="#props_{{name}}">{{name}}</a></li>
2292- {{/events}}
2293- </ul>
2294- </div>
2295-</div>
2296-{{/if}}
2297-
2298-{{#if attributes}}
2299-<div id="attrs-on-page" class="sidebox on-page">
2300- <div class="hd">
2301- <h2 class="no-toc">Attributes On Page</h2>
2302- </div>
2303- <div class="bd">
2304- <ul>
2305- {{#events}}
2306- <li><a href="#attrs_{{name}}">{{name}}</a></li>
2307- {{/events}}
2308- </ul>
2309- </div>
2310-</div>
2311-{{/if}}
2312-
2313-{{#if fileTree}}
2314-<div id="fileTree" class="sidebox">
2315- <div class="hd">
2316- <h2 class="no-toc">Files</h2>
2317- </div>
2318- <div class="bd">
2319- {{#buildFileTree fileTree}}{{/buildFileTree}}
2320- </div>
2321-</div>
2322-{{/if}}
2323-
2324+ {{/submodules}}
2325+ </ul>
2326+ {{/if}}
2327+ </li>
2328+ {{/modules}}
2329+ </ul>
2330+ <br>
2331+
2332+ <h3 class="no-toc">Classes</h3>
2333+ <ul>
2334+ {{#classes}}
2335+ <li>
2336+ <a href="{{../projectRoot}}classes/{{name}}.html">{{displayName}}</a>
2337+ </li>
2338+ {{/classes}}
2339+ </ul>
2340+ <br>
2341+
2342+ {{#if methods}}
2343+ <h3 class="no-toc">Methods</h3>
2344+ <ul>
2345+ {{#methods}}
2346+ <li>
2347+ <a href="#methods_{{name}}">{{name}}</a>
2348+ </li>
2349+ {{/methods}}
2350+ </ul>
2351+ <br>
2352+ {{/if}}
2353+
2354+
2355+ {{#if events}}
2356+ <h3 class="no-toc">Events On Page</h3>
2357+ <ul>
2358+ {{#events}}
2359+ <li>
2360+ <a href="#events_{{name}}">{{name}}</a>
2361+ </li>
2362+ {{/events}}
2363+ </ul>
2364+ <br>
2365+ {{/if}}
2366+
2367+ {{#if props}}
2368+ <h3 class="no-toc">Props On Page</h3>
2369+ <ul>
2370+ {{#events}}
2371+ <li>
2372+ <a href="#props_{{name}}">{{name}}</a>
2373+ </li>
2374+ {{/events}}
2375+ </ul>
2376+ <br>
2377+ {{/if}}
2378+
2379+ {{#if attributes}}
2380+ <h3 class="no-toc">Attributes On Page</h3>
2381+ <ul>
2382+ {{#events}}
2383+ <li>
2384+ <a href="#attrs_{{name}}">{{name}}</a>
2385+ </li>
2386+ {{/events}}
2387+ </ul>
2388+ <br>
2389+ {{/if}}
2390+</div>
2391\ No newline at end of file
2392
2393=== modified file 'package.json'
2394--- package.json 2013-06-18 23:18:49 +0000
2395+++ package.json 2013-11-03 22:06:55 +0000
2396@@ -9,6 +9,7 @@
2397 "grunt-contrib-uglify": "~0.1.1",
2398 "grunt-contrib-cssmin": "~0.4.1",
2399 "grunt-contrib-jshint": "~0.1.0",
2400- "grunt-contrib-compress": "~0.3.3"
2401+ "grunt-contrib-compress": "~0.3.3",
2402+ "yuidocjs": "~0.3.46"
2403 }
2404 }

Subscribers

People subscribed via source and target branches