Merge lp:~nskaggs/ubuntu-ui-toolkit/aphelperdocs-staging into lp:ubuntu-ui-toolkit/staging

Proposed by Nicholas Skaggs
Status: Merged
Approved by: Tim Peeters
Approved revision: 1386
Merged at revision: 1396
Proposed branch: lp:~nskaggs/ubuntu-ui-toolkit/aphelperdocs-staging
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 877 lines (+805/-0)
10 files modified
README (+16/-0)
debian/control (+1/-0)
debian/rules (+3/-0)
debian/ubuntu-ui-toolkit-autopilot.docs (+2/-0)
documentation/autopilot-helpers/Makefile (+177/-0)
documentation/autopilot-helpers/_static/nature.css (+211/-0)
documentation/autopilot-helpers/_templates/layout.html (+28/-0)
documentation/autopilot-helpers/conf.py (+340/-0)
documentation/autopilot-helpers/index.rst (+17/-0)
documentation/autopilot-helpers/ubuntuuitoolkit.rst (+10/-0)
To merge this branch: bzr merge lp:~nskaggs/ubuntu-ui-toolkit/aphelperdocs-staging
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Tim Peeters Approve
Zoltan Balogh packaging Pending
Leo Arias autopilot doc coverage Pending
Review via email: mp+246439@code.launchpad.net

This proposal supersedes a proposal from 2015-01-13.

Commit message

Re-add autopilot helper documentation and update

Description of the change

Re-add autopilot helper documentation and update. I placed the resulting sphinx documentation in ubuntu-ui-toolkit-autopilot, which is in universe and can safely depend on sphinx. I also added a json build to the docs so they can be integrated into the developer.ubuntu.com API website easily.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

bah; sphinx isn't a build depends. Perhaps I can't do things this way since we are building ubuntu-ui-toolkit?

1381. By Nicholas Skaggs

move sphinx to build-depends

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

sphinx-build -b singlehtml documentation/autopilot-helpers documentation/autopilot-helpers/_build/html
make[1]: sphinx-build: Command not found.

it seems not.

1382. By Nicholas Skaggs

add makefile

1383. By Nicholas Skaggs

move build depends back

1384. By Nicholas Skaggs

rebase to trunk

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1385. By Nicholas Skaggs

pep8

1386. By Nicholas Skaggs

fix for pyflakes

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

This is ready now for proper review. No packaging issues, mainline exceptions or other should remain.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Tim Peeters (tpeeters) wrote :

Is Sphinx the common thing we use for all autopilot docs?

review: Needs Information
Revision history for this message
Tim Peeters (tpeeters) wrote :

Looks good, thanks!

I would like to get a second opinion from Zoltan about the packaging. Perhaps we should include a build target for for the toolkit that generates these docs, and maybe we need to package them as well?

Revision history for this message
Tim Peeters (tpeeters) :
review: Approve
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Yes, having another package is an option. Something like ubuntu-ui-toolkit-autopilot-docs. However, autopilot itself ships with it's docs as part of the primary package, so I think we can follow their example here.

If you do wish to have another package specifically for this I worry folks won't install it and will miss the documentation.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

And yes, sphinx is common for all python projects in general.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Per our conversation on IRC Zoltan, I filed a bug to capture your concerns.

https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1417718

Revision history for this message
Tim Peeters (tpeeters) wrote :

thanks, happroving

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README'
2--- README 2014-03-17 08:53:32 +0000
3+++ README 2015-01-26 16:22:53 +0000
4@@ -50,3 +50,19 @@
5 Once built, you may view the documentation by opening
6 documentation/html/overview-ubuntu-sdk.html
7 in your favorite web browser.
8+
9+Autopilot SDK Helpers Documentation (Sphinx docs):
10+++++++++++++++++++++++++++++++++++++++++++++++++++
11+
12+To build the Autopilot SDK Helpers documentation, you need to install sphinx.
13+After installation, change directory to documentation/autopilot-helpers
14+and executing make.
15+
16+ * $ sudo apt-get install python3-sphinx
17+
18+ * $ cd documentation/autopilot-helpers
19+
20+ * $ make singlehtml
21+
22+ * Once built, you may view the documentation by opening
23+ `_build/singlehtml/index.html` in your favorite web browser.
24
25=== modified file 'debian/control'
26--- debian/control 2015-01-19 08:50:05 +0000
27+++ debian/control 2015-01-26 16:22:53 +0000
28@@ -45,6 +45,7 @@
29 locales,
30 suru-icon-theme,
31 uuid-runtime,
32+ python3-sphinx,
33 Standards-Version: 3.9.4
34 Homepage: https://launchpad.net/ubuntu-ui-toolkit
35 # If you aren't a member of ~ubuntu-sdk-team but need to upload packaging
36
37=== modified file 'debian/rules'
38--- debian/rules 2014-11-27 14:36:38 +0000
39+++ debian/rules 2015-01-26 16:22:53 +0000
40@@ -34,6 +34,9 @@
41 dh_auto_build --parallel -- docs
42
43 override_dh_install:
44+ dh_auto_build -- docs
45+ sphinx-build -b singlehtml documentation/autopilot-helpers documentation/autopilot-helpers/_build/html
46+ sphinx-build -b json documentation/autopilot-helpers documentation/autopilot-helpers/_build/json
47 mkdir -p debian/tmp/`qmake -query QT_INSTALL_DOCS`/qch
48 mkdir -p debian/tmp/usr/share/ubuntu-ui-toolkit/doc
49 cp -r $(CURDIR)/documentation/*qch debian/tmp/`qmake -query QT_INSTALL_DOCS`/qch
50
51=== added file 'debian/ubuntu-ui-toolkit-autopilot.docs'
52--- debian/ubuntu-ui-toolkit-autopilot.docs 1970-01-01 00:00:00 +0000
53+++ debian/ubuntu-ui-toolkit-autopilot.docs 2015-01-26 16:22:53 +0000
54@@ -0,0 +1,2 @@
55+documentation/autopilot-helpers/_build/html
56+documentation/autopilot-helpers/_build/json
57
58=== added directory 'documentation/autopilot-helpers'
59=== added file 'documentation/autopilot-helpers/Makefile'
60--- documentation/autopilot-helpers/Makefile 1970-01-01 00:00:00 +0000
61+++ documentation/autopilot-helpers/Makefile 2015-01-26 16:22:53 +0000
62@@ -0,0 +1,177 @@
63+# Makefile for Sphinx documentation
64+#
65+
66+# You can set these variables from the command line.
67+SPHINXOPTS =
68+SPHINXBUILD = sphinx-build
69+PAPER =
70+BUILDDIR = _build
71+
72+# User-friendly check for sphinx-build
73+ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
74+$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
75+endif
76+
77+# Internal variables.
78+PAPEROPT_a4 = -D latex_paper_size=a4
79+PAPEROPT_letter = -D latex_paper_size=letter
80+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
81+# the i18n builder cannot share the environment and doctrees with the others
82+I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
83+
84+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
85+
86+help:
87+ @echo "Please use \`make <target>' where <target> is one of"
88+ @echo " html to make standalone HTML files"
89+ @echo " dirhtml to make HTML files named index.html in directories"
90+ @echo " singlehtml to make a single large HTML file"
91+ @echo " pickle to make pickle files"
92+ @echo " json to make JSON files"
93+ @echo " htmlhelp to make HTML files and a HTML help project"
94+ @echo " qthelp to make HTML files and a qthelp project"
95+ @echo " devhelp to make HTML files and a Devhelp project"
96+ @echo " epub to make an epub"
97+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
98+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
99+ @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
100+ @echo " text to make text files"
101+ @echo " man to make manual pages"
102+ @echo " texinfo to make Texinfo files"
103+ @echo " info to make Texinfo files and run them through makeinfo"
104+ @echo " gettext to make PO message catalogs"
105+ @echo " changes to make an overview of all changed/added/deprecated items"
106+ @echo " xml to make Docutils-native XML files"
107+ @echo " pseudoxml to make pseudoxml-XML files for display purposes"
108+ @echo " linkcheck to check all external links for integrity"
109+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
110+
111+clean:
112+ rm -rf $(BUILDDIR)/*
113+
114+html:
115+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
116+ @echo
117+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
118+
119+dirhtml:
120+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
121+ @echo
122+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
123+
124+singlehtml:
125+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
126+ @echo
127+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
128+
129+pickle:
130+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
131+ @echo
132+ @echo "Build finished; now you can process the pickle files."
133+
134+json:
135+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
136+ @echo
137+ @echo "Build finished; now you can process the JSON files."
138+
139+htmlhelp:
140+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
141+ @echo
142+ @echo "Build finished; now you can run HTML Help Workshop with the" \
143+ ".hhp project file in $(BUILDDIR)/htmlhelp."
144+
145+qthelp:
146+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
147+ @echo
148+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
149+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
150+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/sdkhelpers.qhcp"
151+ @echo "To view the help file:"
152+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/sdkhelpers.qhc"
153+
154+devhelp:
155+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
156+ @echo
157+ @echo "Build finished."
158+ @echo "To view the help file:"
159+ @echo "# mkdir -p $$HOME/.local/share/devhelp/sdkhelpers"
160+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/sdkhelpers"
161+ @echo "# devhelp"
162+
163+epub:
164+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
165+ @echo
166+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
167+
168+latex:
169+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
170+ @echo
171+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
172+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
173+ "(use \`make latexpdf' here to do that automatically)."
174+
175+latexpdf:
176+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
177+ @echo "Running LaTeX files through pdflatex..."
178+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
179+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
180+
181+latexpdfja:
182+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
183+ @echo "Running LaTeX files through platex and dvipdfmx..."
184+ $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
185+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
186+
187+text:
188+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
189+ @echo
190+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
191+
192+man:
193+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
194+ @echo
195+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
196+
197+texinfo:
198+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
199+ @echo
200+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
201+ @echo "Run \`make' in that directory to run these through makeinfo" \
202+ "(use \`make info' here to do that automatically)."
203+
204+info:
205+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
206+ @echo "Running Texinfo files through makeinfo..."
207+ make -C $(BUILDDIR)/texinfo info
208+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
209+
210+gettext:
211+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
212+ @echo
213+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
214+
215+changes:
216+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
217+ @echo
218+ @echo "The overview file is in $(BUILDDIR)/changes."
219+
220+linkcheck:
221+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
222+ @echo
223+ @echo "Link check complete; look for any errors in the above output " \
224+ "or in $(BUILDDIR)/linkcheck/output.txt."
225+
226+doctest:
227+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
228+ @echo "Testing of doctests in the sources finished, look at the " \
229+ "results in $(BUILDDIR)/doctest/output.txt."
230+
231+xml:
232+ $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
233+ @echo
234+ @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
235+
236+pseudoxml:
237+ $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
238+ @echo
239+ @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
240
241=== added directory 'documentation/autopilot-helpers/_static'
242=== added file 'documentation/autopilot-helpers/_static/favicon.ico'
243Binary files documentation/autopilot-helpers/_static/favicon.ico 1970-01-01 00:00:00 +0000 and documentation/autopilot-helpers/_static/favicon.ico 2015-01-26 16:22:53 +0000 differ
244=== added file 'documentation/autopilot-helpers/_static/nature.css'
245--- documentation/autopilot-helpers/_static/nature.css 1970-01-01 00:00:00 +0000
246+++ documentation/autopilot-helpers/_static/nature.css 2015-01-26 16:22:53 +0000
247@@ -0,0 +1,211 @@
248+/*
249+ Copyright 2015 Canonical Ltd.
250+*/
251+
252+ @import url(basic.css);
253+
254+body {
255+ font-family:Ubuntu, "DejaVu Sans", "Trebuchet MS", sans-serif;
256+ font-size:100%;
257+ background-color:#2C001E;
258+ margin:0;
259+ padding:0;
260+ }
261+
262+div.documentwrapper {
263+ float:left;
264+ width:100%;
265+}
266+
267+div.bodywrapper {
268+ margin:0 0 0 0;
269+}
270+
271+hr {
272+ border:1px solid #B1B4B6;
273+}
274+
275+div.body {
276+ background-color:#FFF;
277+ color:#3E4349;
278+ font-size:.9em;
279+ padding:0 30px 30px;
280+}
281+
282+div.footer {
283+ color:#CCC;
284+ width:100%;
285+ text-align:center;
286+ font-size:75%;
287+ padding:13px 0;
288+}
289+
290+div.footer a {
291+ color:#444;
292+ text-decoration:underline;
293+}
294+
295+div.related {
296+ background-color:#DD4814;
297+ line-height:32px;
298+ color:#fff;
299+ font-size:.9em;
300+}
301+
302+div.related a {
303+ color:#EEE;
304+}
305+
306+div.sphinxsidebar {
307+ font-size:.75em;
308+ line-height:1.5em;
309+}
310+
311+div.sphinxsidebarwrapper {
312+ padding:20px 0;
313+}
314+
315+div.sphinxsidebar h3,
316+div.sphinxsidebar h4 {
317+ font-family:Ubuntu, "DejaVu Sans", "Trebuchet MS", sans-serif;
318+ color:#222;
319+ font-size:1.2em;
320+ font-weight:400;
321+ background-color:#ddd;
322+ margin:0;
323+ padding:5px 10px;
324+}
325+
326+div.sphinxsidebar p {
327+ color:#444;
328+ padding:2px 10px;
329+}
330+
331+div.sphinxsidebar ul {
332+ color:#000;
333+ margin:10px 5px;
334+ padding:0;
335+}
336+
337+div.sphinxsidebar input {
338+ border:1px solid #ccc;
339+ font-family:Ubuntu, "DejaVu Sans", "Trebuchet MS", sans-serif;
340+ font-size:1em;
341+}
342+
343+div.sphinxsidebar input[type=text] {
344+ margin-left:5px;
345+}
346+
347+a {
348+ color:#5E2750;
349+ text-decoration:none;
350+}
351+
352+a:hover {
353+ color:#DD4814;
354+ text-decoration:underline;
355+}
356+
357+div.body h1 {
358+ font-family:Ubuntu, "DejaVu Sans", "Trebuchet MS", sans-serif;
359+ font-weight:bold;
360+ font-size:200%;
361+ color:#444;
362+ margin:20px 0 10px;
363+ padding:5px 0 5px 10px;
364+}
365+
366+div.body h2 {
367+ font-family:Ubuntu, "DejaVu Sans", "Trebuchet MS", sans-serif;
368+ font-size:130%;
369+ background-color:#CCC;
370+ margin:20px 0 10px;
371+ padding:5px 0 5px 10px;
372+}
373+
374+div.body h6 {
375+ font-family:Ubuntu, "DejaVu Sans", "Trebuchet MS", sans-serif;
376+ background-color:#BED4EB;
377+ font-weight:400;
378+ color:#333;
379+ margin:30px 0 10px;
380+ padding:5px 0 5px 10px;
381+}
382+
383+a.headerlink {
384+ text-decoration:none;
385+ padding:0 4px;
386+}
387+
388+a.headerlink:hover {
389+ background-color:#AEA79F;
390+ color:#FFF;
391+}
392+
393+div.body p,div.body dd,div.body li {
394+ line-height:1.5em;
395+}
396+
397+div.highlight {
398+ background-color:#FFF;
399+}
400+
401+div.note {
402+ background-color:#eee;
403+ border:1px solid #ccc;
404+}
405+
406+div.seealso {
407+ background-color:#ffc;
408+ border:1px solid #ff6;
409+}
410+
411+div.warning {
412+ background-color:#ffe4e4;
413+ border:1px solid #f66;
414+}
415+
416+p.admonition-title:after {
417+ content:":";
418+}
419+
420+pre {
421+ background-color:#EFEFEF;
422+ color:#000;
423+ line-height:1.1em;
424+ border:1px solid #C6C9CB;
425+ font-size:1.2em;
426+ font-family:"Ubuntu Mono", Monaco, Consolas, "DejaVu Sans Mono", "Lucida Console", monospace;
427+ margin:1.5em 0;
428+ padding:6px;
429+}
430+
431+tt {
432+ background-color:#EFEFEF;
433+ color:#222;
434+ font-size:1.1em;
435+ font-family:"Ubuntu Mono", Monaco, Consolas, "DejaVu Sans Mono", "Lucida Console", monospace;
436+}
437+
438+.viewcode-back {
439+ font-family:Ubuntu, "DejaVu Sans", "Trebuchet MS", sans-serif;
440+}
441+
442+div.viewcode-block:target {
443+ background-color:#f4debf;
444+ border-top:1px solid #ac9;
445+ border-bottom:1px solid #ac9;
446+}
447+
448+div.document,div.topic {
449+ background-color:#eee;
450+}
451+
452+div.sphinxsidebar h3 a,div.sphinxsidebar a {
453+ color:#444;
454+}
455+
456+div.admonition p.admonition-title + p,p.admonition-title {
457+ display:inline;
458+}
459
460=== added directory 'documentation/autopilot-helpers/_templates'
461=== added file 'documentation/autopilot-helpers/_templates/layout.html'
462--- documentation/autopilot-helpers/_templates/layout.html 1970-01-01 00:00:00 +0000
463+++ documentation/autopilot-helpers/_templates/layout.html 2015-01-26 16:22:53 +0000
464@@ -0,0 +1,28 @@
465+<!--
466+ Copyright 2015 Canonical Ltd.
467+-->
468+
469+{#
470+ default/layout.html
471+ ~~~~~~~~~~~~~~~~~~~
472+
473+ Sphinx layout template for the default theme.
474+
475+ :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
476+ :license: BSD, see LICENSE for details.
477+#}
478+{% extends "basic/layout.html" %}
479+
480+{%- block content %}
481+<div class="document">
482+ {%- block document %}
483+ <div class="documentwrapper">
484+ {%- if render_sidebar %}
485+ <div class="bodywrapper">
486+ {%- endif %}
487+ <div class="body">
488+ {% block body %} {% endblock %}
489+ </div>
490+ </div>
491+ {%- endblock %}
492+{%- endblock %}
493
494=== added file 'documentation/autopilot-helpers/conf.py'
495--- documentation/autopilot-helpers/conf.py 1970-01-01 00:00:00 +0000
496+++ documentation/autopilot-helpers/conf.py 2015-01-26 16:22:53 +0000
497@@ -0,0 +1,340 @@
498+# -*- coding: utf-8 -*-
499+#
500+# ubuntu-ui-toolkit-autopilot documentation build configuration file.
501+#
502+# This file is execfile()d with the current directory set to its
503+# containing dir.
504+#
505+# Note that not all possible configuration values are present in this
506+# autogenerated file.
507+#
508+# All configuration values have a default; values that are commented out
509+# serve to show the default.
510+
511+import sys
512+assert sys
513+import os
514+assert os
515+
516+# If extensions (or modules to document with autodoc) are in another directory,
517+# add these directories to sys.path here. If the directory is relative to the
518+# documentation root, use os.path.abspath to make it absolute, like shown here.
519+# sys.path.insert(0, os.path.abspath('.'))
520+
521+# -- General configuration ------------------------------------------------
522+
523+# If your documentation needs a minimal Sphinx version, state it here.
524+# needs_sphinx = '1.0'
525+
526+# Add any Sphinx extension module names here, as strings. They can be
527+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
528+# ones.
529+extensions = [
530+ 'sphinx.ext.autodoc',
531+ 'sphinx.ext.doctest',
532+ 'sphinx.ext.todo',
533+ 'sphinx.ext.viewcode',
534+]
535+
536+# Add any paths that contain templates here, relative to this directory.
537+templates_path = ['_templates']
538+
539+# The suffix of source filenames.
540+source_suffix = '.rst'
541+
542+# The encoding of source files.
543+# source_encoding = 'utf-8-sig'
544+
545+# The master toctree document.
546+master_doc = 'index'
547+
548+# General information about the project.
549+project = u'ubuntu-ui-toolkit-autopilot'
550+copyright = u'2015, Canonical'
551+
552+# The version info for the project you're documenting, acts as replacement for
553+# |version| and |release|, also used in various other places throughout the
554+# built documents.
555+#
556+# The short X.Y version.
557+version = '15.04'
558+# The full version, including alpha/beta/rc tags.
559+release = '15.04'
560+
561+# The language for content autogenerated by Sphinx. Refer to documentation
562+# for a list of supported languages.
563+# language = None
564+
565+# There are two options for replacing |today|: either, you set today to some
566+# non-false value, then it is used:
567+# today = ''
568+# Else, today_fmt is used as the format for a strftime call.
569+# today_fmt = '%B %d, %Y'
570+
571+# List of patterns, relative to source directory, that match files and
572+# directories to ignore when looking for source files.
573+exclude_patterns = ['_build']
574+
575+# The reST default role (used for this markup: `text`) to use for all
576+# documents.
577+# default_role = None
578+
579+# If true, '()' will be appended to :func: etc. cross-reference text.
580+# add_function_parentheses = True
581+
582+# If true, the current module name will be prepended to all description
583+# unit titles (such as .. function::).
584+# add_module_names = True
585+
586+# If true, sectionauthor and moduleauthor directives will be shown in the
587+# output. They are ignored by default.
588+# show_authors = False
589+
590+# The name of the Pygments (syntax highlighting) style to use.
591+pygments_style = 'sphinx'
592+
593+# A list of ignored prefixes for module index sorting.
594+# modindex_common_prefix = []
595+
596+# If true, keep warnings as "system message" paragraphs in the built documents.
597+# keep_warnings = False
598+
599+
600+# -- Options for HTML output ----------------------------------------------
601+
602+# The theme to use for HTML and HTML Help pages. See the documentation for
603+# a list of builtin themes.
604+html_theme = 'default'
605+
606+# Theme options are theme-specific and customize the look and feel of a theme
607+# further. For a list of options available for each theme, see the
608+# documentation.
609+# html_theme_options = {}
610+
611+# Add any paths that contain custom themes here, relative to this directory.
612+# html_theme_path = []
613+
614+# The name for this set of Sphinx documents. If None, it defaults to
615+# "<project> v<release> documentation".
616+# html_title = None
617+
618+# A shorter title for the navigation bar. Default is the same as html_title.
619+# html_short_title = None
620+
621+# The name of an image file (relative to this directory) to place at the top
622+# of the sidebar.
623+# html_logo = None
624+
625+html_favicon = './images/favicon.ico'
626+
627+# Add any paths that contain custom static files (such as style sheets) here,
628+# relative to this directory. They are copied after the builtin static files,
629+# so a file named "default.css" will overwrite the builtin "default.css".
630+html_static_path = ['_static']
631+
632+# Add any extra paths that contain custom files (such as robots.txt or
633+# .htaccess) here, relative to this directory. These files are copied
634+# directly to the root of the documentation.
635+# html_extra_path = []
636+
637+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
638+# using the given strftime format.
639+# html_last_updated_fmt = '%b %d, %Y'
640+
641+# If true, SmartyPants will be used to convert quotes and dashes to
642+# typographically correct entities.
643+# html_use_smartypants = True
644+
645+# Custom sidebar templates, maps document names to template names.
646+# html_sidebars = {}
647+
648+html_domain_indices = True
649+# Additional templates that should be rendered to pages, maps page names to
650+# template names.
651+html_use_index = True
652+# html_additional_pages = {}
653+
654+# If false, no module index is generated.
655+# html_domain_indices = True
656+
657+html_show_sourcelink = False
658+# If false, no index is generated.
659+# html_use_index = True
660+html_show_sphinx = False
661+
662+# If true, the index is split into individual pages for each letter.
663+html_show_copyright = True
664+# html_split_index = False
665+
666+# If true, links to the reST sources are added to the pages.
667+# html_show_sourcelink = True
668+
669+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
670+# html_show_sphinx = True
671+
672+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
673+# html_show_copyright = True
674+
675+# If true, an OpenSearch description file will be output, and all pages will
676+# contain a <link> tag referring to it. The value of this option must be the
677+# base URL from which the finished HTML is served.
678+# html_use_opensearch = ''
679+
680+# This is the file name suffix for HTML files (e.g. ".xhtml").
681+# html_file_suffix = None
682+
683+# Output file base name for HTML help builder.
684+htmlhelp_basename = 'ubuntu-ui-toolkit-autopilotdoc'
685+
686+
687+# -- Options for LaTeX output ---------------------------------------------
688+
689+latex_elements = {
690+ # The paper size ('letterpaper' or 'a4paper').
691+ # 'papersize': 'letterpaper',
692+
693+ # The font size ('10pt', '11pt' or '12pt').
694+ # 'pointsize': '10pt',
695+
696+ # Additional stuff for the LaTeX preamble.
697+ # 'preamble': '',
698+}
699+
700+# Grouping the document tree into LaTeX files. List of tuples
701+# (source start file, target name, title,
702+# author, documentclass [howto, manual, or own class]).
703+latex_documents = [
704+ ('index', 'ubuntu-ui-toolkit-autopilot.tex',
705+ u'ubuntu-ui-toolkit-autopilot Documentation',
706+ u'authors', 'manual'),
707+]
708+
709+# The name of an image file (relative to this directory) to place at the top of
710+# the title page.
711+# latex_logo = None
712+
713+# For "manual" documents, if this is true, then toplevel headings are parts,
714+# not chapters.
715+# latex_use_parts = False
716+
717+# If true, show page references after internal links.
718+# latex_show_pagerefs = False
719+
720+# If true, show URL addresses after external links.
721+# latex_show_urls = False
722+
723+# Documents to append as an appendix to all manuals.
724+# latex_appendices = []
725+
726+# If false, no module index is generated.
727+# latex_domain_indices = True
728+
729+
730+# -- Options for manual page output ---------------------------------------
731+
732+# One entry per manual page. List of tuples
733+# (source start file, name, description, authors, manual section).
734+man_pages = [
735+ ('index', 'ubuntu-ui-toolkit-autopilot',
736+ u'ubuntu-ui-toolkit-autopilot Documentation',
737+ [u'authors'], 1)
738+]
739+
740+# If true, show URL addresses after external links.
741+# man_show_urls = False
742+
743+
744+# -- Options for Texinfo output -------------------------------------------
745+
746+# Grouping the document tree into Texinfo files. List of tuples
747+# (source start file, target name, title, author,
748+# dir menu entry, description, category)
749+texinfo_documents = [
750+ ('index', 'ubuntu-ui-toolkit-autopilot',
751+ u'ubuntu-ui-toolkit-autopilot Documentation',
752+ u'authors', 'ubuntu-ui-toolkit-autopilot',
753+ 'An autopilot emulator for the ubuntu sdk',
754+ 'Miscellaneous'),
755+]
756+
757+# Documents to append as an appendix to all manuals.
758+# texinfo_appendices = []
759+
760+# If false, no module index is generated.
761+# texinfo_domain_indices = True
762+
763+# How to display URL addresses: 'footnote', 'no', or 'inline'.
764+# texinfo_show_urls = 'footnote'
765+
766+# If true, do not generate a @detailmenu in the "Top" node's menu.
767+# texinfo_no_detailmenu = False
768+
769+
770+# -- Options for Epub output ----------------------------------------------
771+
772+# Bibliographic Dublin Core info.
773+epub_title = u'ubuntu-ui-toolkit-autopilot'
774+epub_author = u'authors'
775+epub_publisher = u'Canonical'
776+epub_copyright = u'2015, Canonical'
777+
778+# The basename for the epub file. It defaults to the project name.
779+# epub_basename = u'ubuntu-ui-toolkit-autopilot'
780+
781+# The HTML theme for the epub output. Since the default themes are not
782+# optimized for small screen space, using the same theme for HTML and
783+# epub output is usually not wise. This defaults to 'epub', a theme
784+# designed to save visual space.
785+# epub_theme = 'epub'
786+
787+# The language of the text. It defaults to the language option
788+# or en if the language is not set.
789+# epub_language = ''
790+
791+# The scheme of the identifier. Typical schemes are ISBN or URL.
792+# epub_scheme = ''
793+
794+# The unique identifier of the text. This can be a ISBN number
795+# or the project homepage.
796+# epub_identifier = ''
797+
798+# A unique identification for the text.
799+# epub_uid = ''
800+
801+# A tuple containing the cover image and cover page html template filenames.
802+# epub_cover = ()
803+
804+# A sequence of (type, uri, title) tuples for the guide element of content.opf.
805+# epub_guide = ()
806+
807+# HTML files that should be inserted before the pages created by sphinx.
808+# The format is a list of tuples containing the path and title.
809+# epub_pre_files = []
810+
811+# HTML files shat should be inserted after the pages created by sphinx.
812+# The format is a list of tuples containing the path and title.
813+# epub_post_files = []
814+
815+# A list of files that should not be packed into the epub file.
816+epub_exclude_files = ['search.html']
817+
818+# The depth of the table of contents in toc.ncx.
819+# epub_tocdepth = 3
820+
821+# Allow duplicate toc entries.
822+# epub_tocdup = True
823+
824+# Choose between 'default' and 'includehidden'.
825+# epub_tocscope = 'default'
826+
827+# Fix unsupported image types using the PIL.
828+# epub_fix_images = False
829+
830+# Scale large images.
831+# epub_max_image_width = 0
832+
833+# How to display URL addresses: 'footnote', 'no', or 'inline'.
834+# epub_show_urls = 'inline'
835+
836+# If false, no index is generated.
837+# epub_use_index = True
838
839=== added directory 'documentation/autopilot-helpers/images'
840=== added file 'documentation/autopilot-helpers/images/favicon.ico'
841Binary files documentation/autopilot-helpers/images/favicon.ico 1970-01-01 00:00:00 +0000 and documentation/autopilot-helpers/images/favicon.ico 2015-01-26 16:22:53 +0000 differ
842=== added file 'documentation/autopilot-helpers/index.rst'
843--- documentation/autopilot-helpers/index.rst 1970-01-01 00:00:00 +0000
844+++ documentation/autopilot-helpers/index.rst 2015-01-26 16:22:53 +0000
845@@ -0,0 +1,17 @@
846+.. ubuntu-ui-toolkit-autopilot documentation master file, created by
847+ sphinx-quickstart on Thu Jan 8 12:39:43 2015.
848+ You can adapt this file completely to your liking, but it should at least
849+ contain the root `toctree` directive.
850+
851+Welcome to ubuntu-ui-toolkit-autopilot's documentation!
852+======================================
853+
854+Contents:
855+
856+.. toctree::
857+ :maxdepth: 2
858+
859+ ubuntuuitoolkit
860+
861+* :ref:`genindex`
862+
863
864=== added file 'documentation/autopilot-helpers/ubuntuuitoolkit.rst'
865--- documentation/autopilot-helpers/ubuntuuitoolkit.rst 1970-01-01 00:00:00 +0000
866+++ documentation/autopilot-helpers/ubuntuuitoolkit.rst 2015-01-26 16:22:53 +0000
867@@ -0,0 +1,10 @@
868+ubuntuuitoolkit Package
869+=======================
870+
871+:mod:`custom proxy object` Module
872+---------------------------------
873+
874+.. automodule:: ubuntuuitoolkit
875+ :members:
876+ :undoc-members:
877+ :show-inheritance:

Subscribers

People subscribed via source and target branches