├── LICENSE
├── README.rst
├── layout.html
├── static
├── adctheme.css
├── breadcrumb_background.png
├── documentation.png
├── header_sm_mid.png
├── mobile.css
├── scrn1.png
├── scrn2.png
├── searchfield_leftcap.png
├── searchfield_repeat.png
├── searchfield_rightcap.png
├── title_background.png
├── toc.js
├── triangle_closed.png
├── triangle_left.png
└── triangle_open.png
├── test
├── Makefile
├── _build
│ ├── doctrees
│ │ ├── environment.pickle
│ │ ├── index.doctree
│ │ ├── models.doctree
│ │ ├── sample.doctree
│ │ └── sphinx.doctree
│ └── html
│ │ ├── .buildinfo
│ │ ├── _sources
│ │ ├── index.txt
│ │ ├── models.txt
│ │ ├── sample.txt
│ │ └── sphinx.txt
│ │ ├── _static
│ │ ├── adctheme.css
│ │ ├── ajax-loader.gif
│ │ ├── basic.css
│ │ ├── breadcrumb_background.png
│ │ ├── comment-bright.png
│ │ ├── comment-close.png
│ │ ├── comment.png
│ │ ├── default.css
│ │ ├── doctools.js
│ │ ├── documentation.png
│ │ ├── down-pressed.png
│ │ ├── down.png
│ │ ├── file.png
│ │ ├── header_sm_mid.png
│ │ ├── jquery.js
│ │ ├── minus.png
│ │ ├── mobile.css
│ │ ├── plus.png
│ │ ├── pygments.css
│ │ ├── scrn1.png
│ │ ├── scrn2.png
│ │ ├── searchfield_leftcap.png
│ │ ├── searchfield_repeat.png
│ │ ├── searchfield_rightcap.png
│ │ ├── searchtools.js
│ │ ├── sidebar.js
│ │ ├── title_background.png
│ │ ├── toc.js
│ │ ├── triangle_closed.png
│ │ ├── triangle_left.png
│ │ ├── triangle_open.png
│ │ ├── underscore.js
│ │ ├── up-pressed.png
│ │ ├── up.png
│ │ └── websupport.js
│ │ ├── genindex.html
│ │ ├── index.html
│ │ ├── models.html
│ │ ├── objects.inv
│ │ ├── sample.html
│ │ ├── search.html
│ │ ├── searchindex.js
│ │ └── sphinx.html
├── conf.py
├── index.rst
├── make.bat
├── models.rst
├── sample.rst
└── sphinx.rst
└── theme.conf
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2009, Corey Oordt
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without modification,
5 | are permitted provided that the following conditions are met:
6 |
7 | * Redistributions of source code must retain the above copyright notice,
8 | this list of conditions and the following disclaimer.
9 | * Redistributions in binary form must reproduce the above copyright notice,
10 | this list of conditions and the following disclaimer in the documentation
11 | and/or other materials provided with the distribution.
12 | * Neither the name of Corey Oordt nor the names of its contributors
13 | may be used to endorse or promote products derived from this software
14 | without specific prior written permission.
15 |
16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
/README.rst:
--------------------------------------------------------------------------------
1 | ==============
2 | How To Install
3 | ==============
4 |
5 | Install in Sphinx
6 | -----------------
7 |
8 | Copy this directory into the ``sphinx/themes`` directory where Sphinx is installed. For example, a standard install of sphinx on Mac OS X is at ``/Library/Python/2.6/site-packages/``
9 |
10 | Install Somewhere Else
11 | ----------------------
12 |
13 | If you want to install this theme somewhere else, you will have to modify the ``conf.py`` file. ::
14 |
15 | templates_path = ['/absolute/path/to/dir/','relative/path/']
16 |
17 | Install Directly in Your Documentation
18 | --------------------------------------
19 |
20 | If you want to include the files directly in the documentation, so another person can build your documentation, it is easy.
21 |
22 | 1. Copy over everything in the ``static`` directory into the ``_static`` directory of your documentation's source folder.
23 |
24 | 2. Copy the ``layout.html`` file into the ``_templates`` directory of your documentation's source folder.
25 |
26 | 3. Alter your ``conf.py`` ::
27 |
28 | html_theme = 'basic'
29 | html_style = 'adctheme.css'
30 |
31 | instead of ``'ADCtheme'``.
32 |
33 |
34 | Making Sphinx Use the Theme
35 | ---------------------------
36 |
37 | If you aren't installing the files directly into your documentation, edit the ``conf.py`` file and make the following setting: ::
38 |
39 | html_theme = 'ADCtheme'
40 |
41 | Screen Shots
42 | ------------
43 |
44 | .. image:: https://github.com/coordt/ADCtheme/raw/master/static/scrn1.png
45 |
46 | .. image:: https://github.com/coordt/ADCtheme/raw/master/static/scrn2.png
47 |
48 | To Do
49 | -----
50 |
51 | * Gotta get the javascript working so the Table of Contents is hide-able.
52 | * Probably lots of css cleanup.
--------------------------------------------------------------------------------
/layout.html:
--------------------------------------------------------------------------------
1 | {% extends "basic/layout.html" %}
2 | {%- block doctype -%}
3 |
5 | {%- endblock %}
6 | {%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %}
7 | {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
8 | {%- block linktags %}
9 | {%- if hasdoc('about') %}
10 |
11 | {%- endif %}
12 | {%- if hasdoc('genindex') %}
13 |
14 | {%- endif %}
15 | {%- if hasdoc('search') %}
16 |
17 | {%- endif %}
18 | {%- if hasdoc('copyright') %}
19 |
20 | {%- endif %}
21 |
22 | {%- if parents %}
23 |
24 | {%- endif %}
25 | {%- if next %}
26 |
27 | {%- endif %}
28 | {%- if prev %}
29 |
30 | {%- endif %}
31 |
32 | {%- endblock %}
33 | {%- block extrahead %} {% endblock %}
34 | {%- block header %}{% endblock %}
35 | {%- block relbar1 %}
36 |
39 |
50 | {% endblock %}
51 |
52 | {%- block sidebar1 %}
53 | {%- if not embedded %}{% if not theme_nosidebar|tobool %}
54 |
104 | {%- endif %}{% endif %}
105 |
106 | {% endblock %}
107 | {%- block document %}
108 |
109 | {%- if not embedded %}{% if not theme_nosidebar|tobool %}
110 |
111 | {%- endif %}{% endif %}
112 |
113 | {% block body %} {% endblock %}
114 |
115 | {%- if not embedded %}{% if not theme_nosidebar|tobool %}
116 |
117 | {%- endif %}{% endif %}
118 |
119 |
133 | {%- endblock %}
134 | {%- block sidebar2 %}{% endblock %}
135 | {%- block relbar2 %}{% endblock %}
136 | {%- block footer %}
137 |
138 | {%- for parent in parents %}
139 |
{{ parent.title|safe }}
140 | {%- endfor %}
141 | {{ title|safe|e }}
142 |
143 |
144 |
145 | {%- endblock %}
146 |
--------------------------------------------------------------------------------
/static/adctheme.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Sphinx stylesheet -- basic theme
3 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 | */
5 | /* -- main layout ----------------------------------------------------------- */
6 |
7 | .clearer {
8 | clear: both;
9 | }
10 |
11 | /* -- header ---------------------------------------------------------------- */
12 |
13 | #header #title {
14 | background:#29334F url(title_background.png) repeat-x scroll 0 0;
15 | border-bottom:1px solid #B6B6B6;
16 | height:25px;
17 | overflow:hidden;
18 | }
19 | #headerButtons {
20 | position: absolute;
21 | list-style: none outside;
22 | top: 26px;
23 | left: 0;
24 | right: 0;
25 | margin: 0;
26 | padding: 0;
27 | border-top: 1px solid #2B334F;
28 | border-bottom: 1px solid #EDEDED;
29 | height: 20px;
30 | font-size: .6em;
31 | overflow: hidden;
32 | background-color: #D8D8D8;
33 | }
34 |
35 | #headerButtons li {
36 | background-repeat:no-repeat;
37 | display:inline;
38 | margin-top:0;
39 | padding:0;
40 | }
41 |
42 | .headerButton {
43 | display: inline;
44 | height:20px;
45 | }
46 |
47 | .headerButton a {
48 | text-decoration: none;
49 | float: right;
50 | height: 20px;
51 | padding: 4px 15px;
52 | border-left: 1px solid #ACACAC;
53 | font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
54 | color: black;
55 | }
56 | .headerButton a:hover {
57 | color: white;
58 | background-color: #787878;
59 |
60 | }
61 |
62 | li#toc_button {
63 | text-align:left;
64 | }
65 |
66 | li#toc_button .headerButton a {
67 | width:198px;
68 | padding-top: 4px;
69 | font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
70 | color: black;
71 | float: left;
72 | padding-left:15px;
73 | border-right:1px solid #ACACAC;
74 | background:transparent url(triangle_open.png) no-repeat scroll 4px 6px;
75 | }
76 |
77 | li#toc_button .headerButton a:hover {
78 | background-color: #787878;
79 | color: white;
80 | }
81 |
82 | li#page_buttons {
83 | position:absolute;
84 | right:0;
85 | }
86 |
87 | #breadcrumbs {
88 | color: black;
89 | background-image:url(breadcrumb_background.png);
90 | border-top:1px solid #2B334F;
91 | bottom:0;
92 | font-size:.8em;
93 | height:15px;
94 | left:0;
95 | overflow:hidden;
96 | padding:3px 10px 0;
97 | position:absolute;
98 | right:0;
99 | white-space:nowrap;
100 | z-index:901;
101 | }
102 | #breadcrumbs a {
103 | color: black;
104 | text-decoration: none;
105 | }
106 | #breadcrumbs a:hover {
107 | text-decoration: underline;
108 | }
109 | #breadcrumbs img {
110 | padding-left: 3px;
111 | }
112 | /* -- sidebar --------------------------------------------------------------- */
113 | #sphinxsidebar {
114 | position: absolute;
115 | top: 84px;
116 | bottom: 19px;
117 | left: 0px;
118 | width: 229px;
119 | background-color: #E4EBF7;
120 | border-right: 1px solid #ACACAC;
121 | border-top: 1px solid #2B334F;
122 | overflow-x: hidden;
123 | overflow-y: auto;
124 | padding: 0px 0px 0px 0px;
125 | font-size:.9em;
126 | }
127 |
128 | div.sphinxsidebarwrapper {
129 | padding: 10px 5px 0 10px;
130 | }
131 |
132 | #sphinxsidebar li {
133 | margin: 0px;
134 | padding: 0px;
135 | font-weight: normal;
136 | margin: 0px 0px 7px 0px;
137 | overflow: hidden;
138 | text-overflow: ellipsis;
139 | font-size: .9em;
140 | }
141 |
142 | #sphinxsidebar ul {
143 | list-style: none;
144 | margin: 0px 0px 0px 0px;
145 | padding: 0px 5px 0px 5px;
146 | }
147 |
148 | #sphinxsidebar ul ul,
149 | #sphinxsidebar ul.want-points {
150 | list-style: square;
151 | }
152 |
153 | #sphinxsidebar ul ul {
154 | margin-top: 0;
155 | margin-bottom: 0;
156 | }
157 |
158 | #sphinxsidebar form {
159 | margin-top: 10px;
160 | }
161 |
162 | #sphinxsidebar input {
163 | border: 1px solid #787878;
164 | font-family: sans-serif;
165 | font-size: 1em;
166 | }
167 |
168 | img {
169 | border: 0;
170 | }
171 |
172 | #sphinxsidebar li.toctree-l1 a {
173 | font-weight: bold;
174 | color: #000;
175 | text-decoration: none;
176 | }
177 |
178 | #sphinxsidebar li.toctree-l2 a {
179 | font-weight: bold;
180 | color: #4f4f4f;
181 | text-decoration: none;
182 | }
183 |
184 | /* -- search page ----------------------------------------------------------- */
185 |
186 | ul.search {
187 | margin: 10px 0 0 20px;
188 | padding: 0;
189 | }
190 |
191 | ul.search li {
192 | padding: 5px 0 5px 20px;
193 | background-image: url(file.png);
194 | background-repeat: no-repeat;
195 | background-position: 0 7px;
196 | }
197 |
198 | ul.search li a {
199 | font-weight: bold;
200 | }
201 |
202 | ul.search li div.context {
203 | color: #888;
204 | margin: 2px 0 0 30px;
205 | text-align: left;
206 | }
207 |
208 | ul.keywordmatches li.goodmatch a {
209 | font-weight: bold;
210 | }
211 | #sphinxsidebar input.prettysearch {border:none;}
212 | input.searchbutton {
213 | float: right;
214 | }
215 | .search-wrapper {width: 100%; height: 25px;}
216 | .search-wrapper input.prettysearch { border: none; width:200px; height: 16px; background: url(searchfield_repeat.png) center top repeat-x; border: 0px; margin: 0; padding: 3px 0 0 0; font: 11px "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif; }
217 | .search-wrapper input.prettysearch { width: 184px; margin-left: 20px; *margin-top:-1px; *margin-right:-2px; *margin-left:10px; }
218 | .search-wrapper .search-left { display: block; position: absolute; width: 20px; height: 19px; background: url(searchfield_leftcap.png) left top no-repeat; }
219 | .search-wrapper .search-right { display: block; position: relative; left: 204px; top: -19px; width: 10px; height: 19px; background: url(searchfield_rightcap.png) right top no-repeat; }
220 |
221 | /* -- index page ------------------------------------------------------------ */
222 |
223 | table.contentstable {
224 | width: 90%;
225 | }
226 |
227 | table.contentstable p.biglink {
228 | line-height: 150%;
229 | }
230 |
231 | a.biglink {
232 | font-size: 1.3em;
233 | }
234 |
235 | span.linkdescr {
236 | font-style: italic;
237 | padding-top: 5px;
238 | font-size: .9em;
239 | }
240 |
241 | /* -- general index --------------------------------------------------------- */
242 |
243 | table.indextable td {
244 | text-align: left;
245 | vertical-align: top;
246 | }
247 |
248 | table.indextable dl, table.indextable dd {
249 | margin-top: 0;
250 | margin-bottom: 0;
251 | }
252 |
253 | table.indextable tr.pcap {
254 | height: 10px;
255 | }
256 |
257 | table.indextable tr.cap {
258 | margin-top: 10px;
259 | background-color: #f2f2f2;
260 | }
261 |
262 | img.toggler {
263 | margin-right: 3px;
264 | margin-top: 3px;
265 | cursor: pointer;
266 | }
267 |
268 | /* -- general body styles --------------------------------------------------- */
269 | .document {
270 | border-top:1px solid #2B334F;
271 | overflow:auto;
272 | padding-left:2em;
273 | padding-right:2em;
274 | position:absolute;
275 | z-index:1;
276 | top:84px;
277 | bottom:19px;
278 | right:0;
279 | left:230px;
280 | }
281 |
282 | a.headerlink {
283 | visibility: hidden;
284 | }
285 |
286 | h1:hover > a.headerlink,
287 | h2:hover > a.headerlink,
288 | h3:hover > a.headerlink,
289 | h4:hover > a.headerlink,
290 | h5:hover > a.headerlink,
291 | h6:hover > a.headerlink,
292 | dt:hover > a.headerlink {
293 | visibility: visible;
294 | }
295 |
296 | div.body p.caption {
297 | text-align: inherit;
298 | }
299 |
300 | div.body td {
301 | text-align: left;
302 | }
303 |
304 | .field-list ul {
305 | padding-left: 1em;
306 | }
307 |
308 | .first {
309 | margin-top: 0 !important;
310 | }
311 |
312 | .rubric {
313 | margin-top: 30px;
314 | font-weight: bold;
315 | }
316 |
317 | /* -- sidebars -------------------------------------------------------------- */
318 |
319 | /*div.sidebar {
320 | margin: 0 0 0.5em 1em;
321 | border: 1px solid #ddb;
322 | padding: 7px 7px 0 7px;
323 | background-color: #ffe;
324 | width: 40%;
325 | float: right;
326 | }
327 |
328 | p.sidebar-title {
329 | font-weight: bold;
330 | }
331 | */
332 | /* -- topics ---------------------------------------------------------------- */
333 |
334 | div.topic {
335 | border: 1px solid #ccc;
336 | padding: 7px 7px 0 7px;
337 | margin: 10px 0 10px 0;
338 | }
339 |
340 | p.topic-title {
341 | font-size: 1.1em;
342 | font-weight: bold;
343 | margin-top: 10px;
344 | }
345 |
346 | /* -- admonitions ----------------------------------------------------------- */
347 | .admonition {
348 | border: 1px solid #a1a5a9;
349 | background-color: #f7f7f7;
350 | margin: 20px;
351 | padding: 0 8px 7px 9px;
352 | text-align: left;
353 | }
354 | .warning {
355 | background-color:#f5dbe0;
356 | border:1px solid #6f0925;
357 | margin:30px;
358 | }
359 |
360 | .warning .admonition-title {
361 | font-weight: bold;
362 | color: #6f0925;
363 | }
364 | .admonition p {
365 | font: 12px 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif;
366 | margin-top: 7px;
367 | margin-bottom: 0;
368 | }
369 |
370 | div.admonition dt {
371 | font-weight: bold;
372 | }
373 |
374 | div.admonition dl {
375 | margin-bottom: 0;
376 | }
377 |
378 | .admonition-title {
379 | margin: 0 10px 5px 0;
380 | font-weight: bold;
381 | padding-top: 3px;
382 | }
383 |
384 | div.body p.centered {
385 | text-align: center;
386 | margin-top: 25px;
387 | }
388 |
389 | /* -- tables ---------------------------------------------------------------- */
390 |
391 | table.docutils {
392 | border-collapse: collapse;
393 | border: 1px solid #919699;
394 | padding:8px;
395 | text-align:left;
396 | vertical-align:top;
397 | }
398 |
399 | table.docutils td, table.docutils th {
400 | padding: 8px;
401 | text-align: left;
402 | vertical-align: top;
403 | border-bottom: 1px solid #919699;
404 | }
405 |
406 | table.docutils th {
407 | text-align: left;
408 | font-weight: bold;
409 | background-color: #CCC;
410 | }
411 |
412 | table.footnote td, table.footnote th {
413 | border: 0 !important;
414 | }
415 |
416 | th {
417 | text-align: left;
418 | padding-right: 5px;
419 | }
420 |
421 | /* -- other body styles ----------------------------------------------------- */
422 |
423 | dl {
424 | margin-bottom: 15px;
425 | }
426 |
427 | dd p {
428 | margin-top: 0px;
429 | font-size: 1em;
430 | }
431 |
432 | dd ul, dd table {
433 | margin-bottom: 10px;
434 | }
435 |
436 | dd {
437 | margin-top: 3px;
438 | margin-bottom: 10px;
439 | margin-left: 30px;
440 | font-size: 1em;
441 | }
442 |
443 | dt:target, .highlight {
444 | background-color: #fbe54e;
445 | }
446 |
447 | dl.glossary dt {
448 | font-weight: bold;
449 | font-size: 0.8em;
450 | }
451 |
452 | dl.glossary dd {
453 | font-size:1em;
454 | }
455 |
456 | table.field-list {
457 | border: none;
458 | border-top: 1px solid #D6E0E5;
459 | margin-left: 2.5em;
460 | margin-bottom: 2.5em;
461 | }
462 | table.field-list tr {
463 | background: white;
464 | }
465 | table.field-list td {
466 | padding: .667em;
467 | text-align: left;
468 | vertical-align: top;
469 | border-bottom: 1px solid #D6E0E5;
470 | }
471 | table.field-list td p {
472 | font-size: .9em;
473 | }
474 | table.field-list th {
475 | font-weight: bold;
476 | background: white;
477 | font-size: .9em;
478 | text-align: left;
479 | vertical-align: top;
480 | border-bottom: 1px solid #D6E0E5;
481 |
482 | }
483 |
484 | ul.auto-toc {
485 | list-style-type: none;
486 | }
487 |
488 | .field-list ul {
489 | vertical-align: top;
490 | margin: 0;
491 | padding-bottom: 0;
492 | list-style: none inside;
493 | }
494 |
495 | .field-list ul li {
496 | margin-top: 0;
497 | }
498 |
499 | .field-list p {
500 | margin: 0;
501 | }
502 |
503 | .refcount {
504 | color: #060;
505 | }
506 |
507 | .optional {
508 | font-size: 1.3em;
509 | }
510 |
511 | .versionmodified {
512 | font-style: italic;
513 | }
514 |
515 | .system-message {
516 | background-color: #fda;
517 | padding: 5px;
518 | border: 3px solid red;
519 | }
520 |
521 | .footnote:target {
522 | background-color: #ffa
523 | }
524 |
525 | /* -- code displays --------------------------------------------------------- */
526 |
527 | pre {
528 | overflow: auto;
529 | background-color:#F1F5F9;
530 | border:1px solid #C9D1D7;
531 | border-spacing:0;
532 | font-family:"Bitstream Vera Sans Mono",Monaco,"Lucida Console",Courier,Consolas,monospace;
533 | font-size:.9em;
534 | padding: 10px;
535 | }
536 |
537 | td.linenos pre {
538 | padding: 5px 0px;
539 | border: 0;
540 | background-color: transparent;
541 | color: #aaa;
542 | }
543 |
544 | table.highlighttable {
545 | margin-left: 0.5em;
546 | }
547 |
548 | table.highlighttable td {
549 | padding: 0 0.5em 0 0.5em;
550 | }
551 |
552 | tt {
553 | font-family:"Bitstream Vera Sans Mono",Monaco,"Lucida Console",Courier,Consolas,monospace;
554 |
555 | }
556 |
557 | tt.descname {
558 | background-color: transparent;
559 | font-weight: bold;
560 | font-size: 1em;
561 | }
562 |
563 | tt.descclassname {
564 | background-color: transparent;
565 | }
566 |
567 | tt.xref, a tt {
568 | background-color: transparent;
569 | font-weight: bold;
570 | }
571 |
572 | h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
573 | background-color: transparent;
574 | }
575 |
576 | /* -- math display ---------------------------------------------------------- */
577 |
578 | img.math {
579 | vertical-align: middle;
580 | }
581 |
582 | div.body div.math p {
583 | text-align: center;
584 | }
585 |
586 | span.eqno {
587 | float: right;
588 | }
589 |
590 | /* -- printout stylesheet --------------------------------------------------- */
591 |
592 | @media print {
593 | div.document,
594 | div.documentwrapper,
595 | div.bodywrapper {
596 | margin: 0;
597 | width: 100%;
598 | }
599 |
600 | div.sphinxsidebar,
601 | div.related,
602 | div.footer,
603 | #top-link {
604 | display: none;
605 | }
606 | }
607 |
608 | body {
609 | font: 14px 'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;
610 | }
611 |
612 | dl.class dt {
613 | padding: 3px;
614 | /* border-top: 2px solid #999;*/
615 | }
616 |
617 | em.property {
618 | font-style: normal;
619 | }
620 |
621 | dl.class dd p {
622 | margin-top: 6px;
623 | }
624 |
625 | dl.class dd dl.exception dt {
626 | padding: 3px;
627 | background-color: #FFD6D6;
628 | border-top: none;
629 | }
630 |
631 | dl.class dd dl.method dt, dl.class dd dl.classmethod dt, dl.class dd dl.staticmethod dt,
632 | dl.class dd dl.attribute dt {
633 | padding: 3px;
634 | background-color: #e9e9e9;
635 | border-top: none;
636 |
637 | }
638 |
639 | dl.function dt {
640 | padding: 3px;
641 | border-top: 2px solid #999;
642 | }
643 |
644 | ul {
645 | list-style-image:none;
646 | list-style-position:outside;
647 | list-style-type:square;
648 | margin:0 0 0 15px;
649 | padding:0 0 12px 6px;
650 | }
651 | #docstitle {
652 | height: 36px;
653 | background-image: url(header_sm_mid.png);
654 | left: 0;
655 | top: 0;
656 | position: absolute;
657 | width: 100%;
658 | }
659 | #docstitle p {
660 | padding:7px 0 0 45px;
661 | margin: 0;
662 | color: white;
663 | text-shadow:0 1px 0 #787878;
664 | background: transparent url(documentation.png) no-repeat scroll 10px 3px;
665 | height: 36px;
666 | font-size: 1.2em;
667 | }
668 | #header {
669 | height:45px;
670 | left:0;
671 | position:absolute;
672 | right:0;
673 | top:36px;
674 | z-index:900;
675 | }
676 |
677 | #header h1 {
678 | font-size:.85em;
679 | margin:0;
680 | padding:5px 0 0 10px;
681 | text-shadow:0 1px 0 #D5D5D5;
682 | white-space:nowrap;
683 | }
684 |
685 | #doctitle + h1, .section h1:first-child {
686 | padding-top: 24px;
687 | }
688 |
689 | h1 {
690 | margin-top:1em;
691 | margin-top: 0;
692 | margin-bottom: 1.15em;
693 | font: 215% 'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;
694 | font-weight: normal;
695 | color: black;
696 | }
697 |
698 | h1 a:link {
699 | color: black;
700 | }
701 |
702 | .footer {
703 | border-top:1px solid #DDDDDD;
704 | clear:both;
705 | padding-top:9px;
706 | width:100%;
707 | font-size:10px;
708 | }
709 |
710 | p {
711 | -x-system-font:none;
712 | font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
713 | font-size:1em;
714 | font-size-adjust:none;
715 | font-stretch:normal;
716 | font-style:normal;
717 | font-variant:normal;
718 | font-weight:normal;
719 | line-height:normal;
720 | margin-bottom:10px;
721 | margin-top:0;
722 | }
723 |
724 | h2 {
725 | margin-top: 1.75em;
726 | font-size: 187%;
727 | font-weight: normal;
728 | color: #3C4C6C;
729 | padding-bottom: 2px;
730 | }
731 |
732 | h2 a:link {
733 | color: #3C4C6C;
734 | }
735 |
736 | h3 {
737 | color:black;
738 | font-weight: normal;
739 | font-size: 145%;
740 | margin-bottom:0.25em;
741 | margin-top:1.5em;
742 | }
743 |
744 | h3 a:link {
745 | color: black;
746 | }
747 |
748 | h4 {
749 | margin-top: 2em;
750 | margin-bottom: .5em;
751 | font-size: 125%;
752 | font-weight: normal;
753 | color: black;
754 | }
755 |
756 | h4 a:link {
757 | color: black;
758 | }
759 |
760 | h5 {
761 | margin-top: 1.538em;
762 | margin-bottom: .5em;
763 | padding: 0;
764 | font-size: 100%;
765 | color: #000;
766 | }
767 |
768 | h5 a:link {
769 | color: black;
770 | }
771 |
772 | a:link:hover {
773 | color:#093D92;
774 | text-decoration:underline;
775 | }
776 |
777 | a:link {
778 | color:#093D92;
779 | text-decoration:none;
780 | }
781 |
782 | ol {
783 | list-style-position:outside;
784 | list-style-type:decimal;
785 | margin:0 0 0 30px;
786 | padding:0 0 12px 6px;
787 | }
788 | .arabic { list-style: decimal;}
789 | .loweralpha { list-style: lower-alpha;}
790 | .lowerroman { list-style: lower-roman;}
791 | .upperalpha{ list-style: upper-alpha;}
792 | .upperroman { list-style: upper-roman;}
793 |
794 | li {
795 | margin-top:7px;
796 | font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
797 | font-size:12px;
798 | font-size-adjust:none;
799 | font-stretch:normal;
800 | font-style:normal;
801 | font-variant:normal;
802 | font-weight:normal;
803 | line-height:normal;
804 | }
805 | li p {
806 | margin-top:8px;
807 | }
808 |
809 | .accelerator {text-decoration: underline;}
--------------------------------------------------------------------------------
/static/breadcrumb_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/breadcrumb_background.png
--------------------------------------------------------------------------------
/static/documentation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/documentation.png
--------------------------------------------------------------------------------
/static/header_sm_mid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/header_sm_mid.png
--------------------------------------------------------------------------------
/static/mobile.css:
--------------------------------------------------------------------------------
1 | /*
2 | * CSS adjustments (overrides) for mobile browsers that cannot handle
3 | * fix-positioned div's very well.
4 | * This makes long pages scrollable on mobile browsers.
5 | */
6 |
7 | #breadcrumbs {
8 | display: none !important;
9 | }
10 |
11 | .document {
12 | bottom: inherit !important;
13 | }
14 |
15 | #sphinxsidebar {
16 | bottom: inherit !important;
17 | }
18 |
--------------------------------------------------------------------------------
/static/scrn1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/scrn1.png
--------------------------------------------------------------------------------
/static/scrn2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/scrn2.png
--------------------------------------------------------------------------------
/static/searchfield_leftcap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/searchfield_leftcap.png
--------------------------------------------------------------------------------
/static/searchfield_repeat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/searchfield_repeat.png
--------------------------------------------------------------------------------
/static/searchfield_rightcap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/searchfield_rightcap.png
--------------------------------------------------------------------------------
/static/title_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/title_background.png
--------------------------------------------------------------------------------
/static/toc.js:
--------------------------------------------------------------------------------
1 | var TOC = {
2 | load: function () {
3 | $('#toc_button').click(TOC.toggle);
4 | },
5 |
6 | toggle: function () {
7 | if ($('#sphinxsidebar').toggle().is(':hidden')) {
8 | $('div.document').css('left', "0px");
9 | $('toc_button').removeClass("open");
10 | } else {
11 | $('div.document').css('left', "230px");
12 | $('#toc_button').addClass("open");
13 | }
14 | return $('#sphinxsidebar');
15 | }
16 | };
17 |
18 | $(document).ready(function () {
19 | TOC.load();
20 | });
--------------------------------------------------------------------------------
/static/triangle_closed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/triangle_closed.png
--------------------------------------------------------------------------------
/static/triangle_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/triangle_left.png
--------------------------------------------------------------------------------
/static/triangle_open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/static/triangle_open.png
--------------------------------------------------------------------------------
/test/Makefile:
--------------------------------------------------------------------------------
1 | # Makefile for Sphinx documentation
2 | #
3 |
4 | # You can set these variables from the command line.
5 | SPHINXOPTS =
6 | SPHINXBUILD = sphinx-build
7 | PAPER =
8 | BUILDDIR = _build
9 |
10 | # Internal variables.
11 | PAPEROPT_a4 = -D latex_paper_size=a4
12 | PAPEROPT_letter = -D latex_paper_size=letter
13 | ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
14 | # the i18n builder cannot share the environment and doctrees with the others
15 | I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
16 |
17 | .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
18 |
19 | help:
20 | @echo "Please use \`make ' where is one of"
21 | @echo " html to make standalone HTML files"
22 | @echo " dirhtml to make HTML files named index.html in directories"
23 | @echo " singlehtml to make a single large HTML file"
24 | @echo " pickle to make pickle files"
25 | @echo " json to make JSON files"
26 | @echo " htmlhelp to make HTML files and a HTML help project"
27 | @echo " qthelp to make HTML files and a qthelp project"
28 | @echo " devhelp to make HTML files and a Devhelp project"
29 | @echo " epub to make an epub"
30 | @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
31 | @echo " latexpdf to make LaTeX files and run them through pdflatex"
32 | @echo " text to make text files"
33 | @echo " man to make manual pages"
34 | @echo " texinfo to make Texinfo files"
35 | @echo " info to make Texinfo files and run them through makeinfo"
36 | @echo " gettext to make PO message catalogs"
37 | @echo " changes to make an overview of all changed/added/deprecated items"
38 | @echo " linkcheck to check all external links for integrity"
39 | @echo " doctest to run all doctests embedded in the documentation (if enabled)"
40 |
41 | clean:
42 | -rm -rf $(BUILDDIR)/*
43 |
44 | html:
45 | $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
46 | @echo
47 | @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
48 |
49 | dirhtml:
50 | $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
51 | @echo
52 | @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
53 |
54 | singlehtml:
55 | $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
56 | @echo
57 | @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
58 |
59 | pickle:
60 | $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
61 | @echo
62 | @echo "Build finished; now you can process the pickle files."
63 |
64 | json:
65 | $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
66 | @echo
67 | @echo "Build finished; now you can process the JSON files."
68 |
69 | htmlhelp:
70 | $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
71 | @echo
72 | @echo "Build finished; now you can run HTML Help Workshop with the" \
73 | ".hhp project file in $(BUILDDIR)/htmlhelp."
74 |
75 | qthelp:
76 | $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
77 | @echo
78 | @echo "Build finished; now you can run "qcollectiongenerator" with the" \
79 | ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
80 | @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/ADCThemeTest.qhcp"
81 | @echo "To view the help file:"
82 | @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/ADCThemeTest.qhc"
83 |
84 | devhelp:
85 | $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
86 | @echo
87 | @echo "Build finished."
88 | @echo "To view the help file:"
89 | @echo "# mkdir -p $$HOME/.local/share/devhelp/ADCThemeTest"
90 | @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/ADCThemeTest"
91 | @echo "# devhelp"
92 |
93 | epub:
94 | $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
95 | @echo
96 | @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
97 |
98 | latex:
99 | $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
100 | @echo
101 | @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
102 | @echo "Run \`make' in that directory to run these through (pdf)latex" \
103 | "(use \`make latexpdf' here to do that automatically)."
104 |
105 | latexpdf:
106 | $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
107 | @echo "Running LaTeX files through pdflatex..."
108 | $(MAKE) -C $(BUILDDIR)/latex all-pdf
109 | @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
110 |
111 | text:
112 | $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
113 | @echo
114 | @echo "Build finished. The text files are in $(BUILDDIR)/text."
115 |
116 | man:
117 | $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
118 | @echo
119 | @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
120 |
121 | texinfo:
122 | $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
123 | @echo
124 | @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
125 | @echo "Run \`make' in that directory to run these through makeinfo" \
126 | "(use \`make info' here to do that automatically)."
127 |
128 | info:
129 | $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
130 | @echo "Running Texinfo files through makeinfo..."
131 | make -C $(BUILDDIR)/texinfo info
132 | @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
133 |
134 | gettext:
135 | $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
136 | @echo
137 | @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
138 |
139 | changes:
140 | $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
141 | @echo
142 | @echo "The overview file is in $(BUILDDIR)/changes."
143 |
144 | linkcheck:
145 | $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
146 | @echo
147 | @echo "Link check complete; look for any errors in the above output " \
148 | "or in $(BUILDDIR)/linkcheck/output.txt."
149 |
150 | doctest:
151 | $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
152 | @echo "Testing of doctests in the sources finished, look at the " \
153 | "results in $(BUILDDIR)/doctest/output.txt."
154 |
--------------------------------------------------------------------------------
/test/_build/doctrees/environment.pickle:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/doctrees/environment.pickle
--------------------------------------------------------------------------------
/test/_build/doctrees/index.doctree:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/doctrees/index.doctree
--------------------------------------------------------------------------------
/test/_build/doctrees/models.doctree:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/doctrees/models.doctree
--------------------------------------------------------------------------------
/test/_build/doctrees/sample.doctree:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/doctrees/sample.doctree
--------------------------------------------------------------------------------
/test/_build/doctrees/sphinx.doctree:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/doctrees/sphinx.doctree
--------------------------------------------------------------------------------
/test/_build/html/.buildinfo:
--------------------------------------------------------------------------------
1 | # Sphinx build info version 1
2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3 | config: 7dd3d8e33284f4e67e07331ba328ed43
4 | tags: fbb0d17656682115ca4d033fb2f83ba1
5 |
--------------------------------------------------------------------------------
/test/_build/html/_sources/index.txt:
--------------------------------------------------------------------------------
1 | .. ADC Theme Test documentation master file, created by
2 | sphinx-quickstart on Mon Dec 24 09:23:39 2012.
3 | You can adapt this file completely to your liking, but it should at least
4 | contain the root `toctree` directive.
5 |
6 | Welcome to ADC Theme Test's documentation!
7 | ==========================================
8 |
9 | Contents:
10 |
11 | .. toctree::
12 | :maxdepth: 2
13 |
14 | sample
15 | models
16 | sphinx
17 |
18 |
19 | Indices and tables
20 | ==================
21 |
22 | * :ref:`genindex`
23 | * :ref:`modindex`
24 | * :ref:`search`
25 |
26 |
--------------------------------------------------------------------------------
/test/_build/html/_sources/models.txt:
--------------------------------------------------------------------------------
1 | ===============
2 | Model Reference
3 | ===============
4 |
5 |
6 | Data
7 | ====
8 |
9 | .. py:data:: MAJOR_VERSION
10 |
11 | The major version.
12 |
13 |
14 | Exception
15 | =========
16 |
17 | .. py:exception:: ExceptionName
18 |
19 | A major exception
20 |
21 | Function
22 | ========
23 |
24 | .. py:function:: format_exception(etype, value, tb[, limit=None])
25 |
26 | Format the exception with a traceback.
27 |
28 | :param etype: exception type
29 | :param value: exception value
30 | :param tb: traceback object
31 | :param limit: maximum number of stack frames to show
32 | :type limit: integer or None
33 | :rtype: list of strings
34 |
35 |
36 | Decorator
37 | =========
38 |
39 | .. py:decorator:: removename
40 |
41 | Remove name of the decorated function.
42 |
43 | .. py:decorator:: setnewname(name)
44 |
45 | Set name of the decorated function to *name*.
46 |
47 | ModelName
48 | =========
49 |
50 | .. py:class:: ModelName
51 |
52 | .. py:attribute:: parent
53 |
54 | :py:class:`TreeForeignKey` ``(self)``
55 |
56 | The category's parent category. Leave this blank for an root category.
57 |
58 | .. py:attribute:: name
59 |
60 | **Required** ``CharField(100)``
61 |
62 | The name of the category.
63 |
64 | .. py:attribute:: slug
65 |
66 | **Required** ``SlugField``
67 |
68 | URL-friendly title. It is automatically generated from the title.
69 |
70 | .. py:attribute:: active
71 |
72 | **Required** ``BooleanField`` *default:* ``True``
73 |
74 | Is this item active. If it is inactive, all children are set to inactive as well.
75 |
76 | .. py:method:: format_exception(etype, value, tb[, limit=None])
77 |
78 | Format the exception with a traceback.
79 |
80 | :param etype: exception type
81 | :param value: exception value
82 | :param tb: traceback object
83 | :param limit: maximum number of stack frames to show
84 | :type limit: integer or None
85 | :rtype: list of strings
86 |
87 | .. py:staticmethod:: static_format_exception(etype, value, tb[, limit=None])
88 |
89 | Format the exception with a traceback.
90 |
91 | :param etype: exception type
92 | :param value: exception value
93 | :param tb: traceback object
94 | :param limit: maximum number of stack frames to show
95 | :type limit: integer or None
96 | :rtype: list of strings
97 |
98 | .. py:classmethod:: class_format_exception(etype, value, tb[, limit=None])
99 |
100 | Format the exception with a traceback.
101 |
102 | :param etype: exception type
103 | :param value: exception value
104 | :param tb: traceback object
105 | :param limit: maximum number of stack frames to show
106 | :type limit: integer or None
107 | :rtype: list of strings
108 |
--------------------------------------------------------------------------------
/test/_build/html/_sources/sphinx.txt:
--------------------------------------------------------------------------------
1 | =====================
2 | Sphinx specific stuff
3 | =====================
4 |
5 | note
6 | ====
7 |
8 | .. note::
9 |
10 | This function is not suitable for sending spam e-mails.
11 |
12 | warning
13 | =======
14 |
15 | .. warning::
16 |
17 | This function causes radioactive leaks and kills puppies.
18 |
19 | versionadded
20 | ============
21 |
22 | .. versionadded:: 2.5
23 | The *spam* parameter.
24 |
25 | versionchanged
26 | ==============
27 |
28 | .. versionchanged:: 2.6
29 | Now sends all spam back to sender.
30 |
31 | deprecated
32 | ==========
33 |
34 | .. deprecated:: 3.1
35 | Use :func:`spam` instead.
36 |
37 | seealso
38 | =======
39 |
40 | .. seealso::
41 |
42 | Module :py:mod:`zipfile`
43 | Documentation of the :py:mod:`zipfile` standard module.
44 |
45 | `GNU tar manual, Basic Tar Format `_
46 | Documentation for tar archive files, including GNU tar extensions.
47 |
48 | rubric
49 | ======
50 |
51 | .. rubric:: Rubric title
52 |
53 | centered
54 | ========
55 |
56 | .. centered:: LICENSE AGREEMENT
57 |
58 | hlist
59 | =====
60 |
61 | .. hlist::
62 | :columns: 3
63 |
64 | * A list of
65 | * short items
66 | * that should be
67 | * displayed
68 | * horizontally
69 |
70 | glossary
71 | ========
72 |
73 | .. glossary::
74 |
75 | environment
76 | A structure where information about all documents under the root is
77 | saved, and used for cross-referencing. The environment is pickled
78 | after the parsing stage, so that successive runs only need to read
79 | and parse new and changed documents.
80 |
81 | source directory
82 | The directory which, including its subdirectories, contains all
83 | source files for one Sphinx project.
84 |
85 | productionlist
86 | ==============
87 |
88 | .. productionlist::
89 | try_stmt: try1_stmt | try2_stmt
90 | try1_stmt: "try" ":" `suite`
91 | : ("except" [`expression` ["," `target`]] ":" `suite`)+
92 | : ["else" ":" `suite`]
93 | : ["finally" ":" `suite`]
94 | try2_stmt: "try" ":" `suite`
95 | : "finally" ":" `suite`
96 |
97 | code-block
98 | ==========
99 |
100 | .. code-block:: python
101 | :emphasize-lines: 3,5
102 |
103 | def some_function():
104 | interesting = False
105 | print 'This line is highlighted.'
106 | print 'This one is not...'
107 | print '...but this one is.'
108 |
109 | abbr
110 | ====
111 |
112 | Example: :abbr:`LIFO (last-in, first-out)`.
113 |
114 | command
115 | =======
116 |
117 | The name of an OS-level command, such as :command:`rm` or :command:`rm -Rf /`
118 |
119 | dfn
120 | ===
121 |
122 | Mark the defining instance of a :dfn:`term` in the text. (No index entries are generated.)
123 |
124 | guilabel
125 | ========
126 |
127 | An accelerator key for the GUI label can be included using an ampersand; this will be stripped and displayed underlined in the output (example: :guilabel:`&Cancel`)
128 |
129 | kbd
130 | ===
131 |
132 | the same sequence should be marked as :kbd:`Control-x Control-f`
133 |
134 |
135 | mailheader
136 | ==========
137 |
138 | example: :mailheader:`Content-Type`
139 |
140 | manpage
141 | =======
142 |
143 | A reference to a Unix manual page including the section, e.g. :manpage:`ls(1)`.
144 |
145 | menuselection
146 | =============
147 |
148 | For example, to mark the selection “Start > Programs”, use this markup: :menuselection:`Start --> Programs`
149 |
150 |
151 | sectionauthor
152 | =============
153 |
154 | .. sectionauthor:: Guido van Rossum
155 |
156 |
--------------------------------------------------------------------------------
/test/_build/html/_static/adctheme.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Sphinx stylesheet -- basic theme
3 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 | */
5 | /* -- main layout ----------------------------------------------------------- */
6 |
7 | .clearer {
8 | clear: both;
9 | }
10 |
11 | /* -- header ---------------------------------------------------------------- */
12 |
13 | #header #title {
14 | background:#29334F url(title_background.png) repeat-x scroll 0 0;
15 | border-bottom:1px solid #B6B6B6;
16 | height:25px;
17 | overflow:hidden;
18 | }
19 | #headerButtons {
20 | position: absolute;
21 | list-style: none outside;
22 | top: 26px;
23 | left: 0;
24 | right: 0;
25 | margin: 0;
26 | padding: 0;
27 | border-top: 1px solid #2B334F;
28 | border-bottom: 1px solid #EDEDED;
29 | height: 20px;
30 | font-size: .6em;
31 | overflow: hidden;
32 | background-color: #D8D8D8;
33 | }
34 |
35 | #headerButtons li {
36 | background-repeat:no-repeat;
37 | display:inline;
38 | margin-top:0;
39 | padding:0;
40 | }
41 |
42 | .headerButton {
43 | display: inline;
44 | height:20px;
45 | }
46 |
47 | .headerButton a {
48 | text-decoration: none;
49 | float: right;
50 | height: 20px;
51 | padding: 4px 15px;
52 | border-left: 1px solid #ACACAC;
53 | font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
54 | color: black;
55 | }
56 | .headerButton a:hover {
57 | color: white;
58 | background-color: #787878;
59 |
60 | }
61 |
62 | li#toc_button {
63 | text-align:left;
64 | }
65 |
66 | li#toc_button .headerButton a {
67 | width:198px;
68 | padding-top: 4px;
69 | font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
70 | color: black;
71 | float: left;
72 | padding-left:15px;
73 | border-right:1px solid #ACACAC;
74 | background:transparent url(triangle_open.png) no-repeat scroll 4px 6px;
75 | }
76 |
77 | li#toc_button .headerButton a:hover {
78 | background-color: #787878;
79 | color: white;
80 | }
81 |
82 | li#page_buttons {
83 | position:absolute;
84 | right:0;
85 | }
86 |
87 | #breadcrumbs {
88 | color: black;
89 | background-image:url(breadcrumb_background.png);
90 | border-top:1px solid #2B334F;
91 | bottom:0;
92 | font-size:.8em;
93 | height:15px;
94 | left:0;
95 | overflow:hidden;
96 | padding:3px 10px 0;
97 | position:absolute;
98 | right:0;
99 | white-space:nowrap;
100 | z-index:901;
101 | }
102 | #breadcrumbs a {
103 | color: black;
104 | text-decoration: none;
105 | }
106 | #breadcrumbs a:hover {
107 | text-decoration: underline;
108 | }
109 | #breadcrumbs img {
110 | padding-left: 3px;
111 | }
112 | /* -- sidebar --------------------------------------------------------------- */
113 | #sphinxsidebar {
114 | position: absolute;
115 | top: 84px;
116 | bottom: 19px;
117 | left: 0px;
118 | width: 229px;
119 | background-color: #E4EBF7;
120 | border-right: 1px solid #ACACAC;
121 | border-top: 1px solid #2B334F;
122 | overflow-x: hidden;
123 | overflow-y: auto;
124 | padding: 0px 0px 0px 0px;
125 | font-size:.9em;
126 | }
127 |
128 | div.sphinxsidebarwrapper {
129 | padding: 10px 5px 0 10px;
130 | }
131 |
132 | #sphinxsidebar li {
133 | margin: 0px;
134 | padding: 0px;
135 | font-weight: normal;
136 | margin: 0px 0px 7px 0px;
137 | overflow: hidden;
138 | text-overflow: ellipsis;
139 | font-size: .9em;
140 | }
141 |
142 | #sphinxsidebar ul {
143 | list-style: none;
144 | margin: 0px 0px 0px 0px;
145 | padding: 0px 5px 0px 5px;
146 | }
147 |
148 | #sphinxsidebar ul ul,
149 | #sphinxsidebar ul.want-points {
150 | list-style: square;
151 | }
152 |
153 | #sphinxsidebar ul ul {
154 | margin-top: 0;
155 | margin-bottom: 0;
156 | }
157 |
158 | #sphinxsidebar form {
159 | margin-top: 10px;
160 | }
161 |
162 | #sphinxsidebar input {
163 | border: 1px solid #787878;
164 | font-family: sans-serif;
165 | font-size: 1em;
166 | }
167 |
168 | img {
169 | border: 0;
170 | }
171 |
172 | #sphinxsidebar li.toctree-l1 a {
173 | font-weight: bold;
174 | color: #000;
175 | text-decoration: none;
176 | }
177 |
178 | #sphinxsidebar li.toctree-l2 a {
179 | font-weight: bold;
180 | color: #4f4f4f;
181 | text-decoration: none;
182 | }
183 |
184 | /* -- search page ----------------------------------------------------------- */
185 |
186 | ul.search {
187 | margin: 10px 0 0 20px;
188 | padding: 0;
189 | }
190 |
191 | ul.search li {
192 | padding: 5px 0 5px 20px;
193 | background-image: url(file.png);
194 | background-repeat: no-repeat;
195 | background-position: 0 7px;
196 | }
197 |
198 | ul.search li a {
199 | font-weight: bold;
200 | }
201 |
202 | ul.search li div.context {
203 | color: #888;
204 | margin: 2px 0 0 30px;
205 | text-align: left;
206 | }
207 |
208 | ul.keywordmatches li.goodmatch a {
209 | font-weight: bold;
210 | }
211 | #sphinxsidebar input.prettysearch {border:none;}
212 | input.searchbutton {
213 | float: right;
214 | }
215 | .search-wrapper {width: 100%; height: 25px;}
216 | .search-wrapper input.prettysearch { border: none; width:200px; height: 16px; background: url(searchfield_repeat.png) center top repeat-x; border: 0px; margin: 0; padding: 3px 0 0 0; font: 11px "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif; }
217 | .search-wrapper input.prettysearch { width: 184px; margin-left: 20px; *margin-top:-1px; *margin-right:-2px; *margin-left:10px; }
218 | .search-wrapper .search-left { display: block; position: absolute; width: 20px; height: 19px; background: url(searchfield_leftcap.png) left top no-repeat; }
219 | .search-wrapper .search-right { display: block; position: relative; left: 204px; top: -19px; width: 10px; height: 19px; background: url(searchfield_rightcap.png) right top no-repeat; }
220 |
221 | /* -- index page ------------------------------------------------------------ */
222 |
223 | table.contentstable {
224 | width: 90%;
225 | }
226 |
227 | table.contentstable p.biglink {
228 | line-height: 150%;
229 | }
230 |
231 | a.biglink {
232 | font-size: 1.3em;
233 | }
234 |
235 | span.linkdescr {
236 | font-style: italic;
237 | padding-top: 5px;
238 | font-size: .9em;
239 | }
240 |
241 | /* -- general index --------------------------------------------------------- */
242 |
243 | table.indextable td {
244 | text-align: left;
245 | vertical-align: top;
246 | }
247 |
248 | table.indextable dl, table.indextable dd {
249 | margin-top: 0;
250 | margin-bottom: 0;
251 | }
252 |
253 | table.indextable tr.pcap {
254 | height: 10px;
255 | }
256 |
257 | table.indextable tr.cap {
258 | margin-top: 10px;
259 | background-color: #f2f2f2;
260 | }
261 |
262 | img.toggler {
263 | margin-right: 3px;
264 | margin-top: 3px;
265 | cursor: pointer;
266 | }
267 |
268 | /* -- general body styles --------------------------------------------------- */
269 | .document {
270 | border-top:1px solid #2B334F;
271 | overflow:auto;
272 | padding-left:2em;
273 | padding-right:2em;
274 | position:absolute;
275 | z-index:1;
276 | top:84px;
277 | bottom:19px;
278 | right:0;
279 | left:230px;
280 | }
281 |
282 | a.headerlink {
283 | visibility: hidden;
284 | }
285 |
286 | h1:hover > a.headerlink,
287 | h2:hover > a.headerlink,
288 | h3:hover > a.headerlink,
289 | h4:hover > a.headerlink,
290 | h5:hover > a.headerlink,
291 | h6:hover > a.headerlink,
292 | dt:hover > a.headerlink {
293 | visibility: visible;
294 | }
295 |
296 | div.body p.caption {
297 | text-align: inherit;
298 | }
299 |
300 | div.body td {
301 | text-align: left;
302 | }
303 |
304 | .field-list ul {
305 | padding-left: 1em;
306 | }
307 |
308 | .first {
309 | margin-top: 0 !important;
310 | }
311 |
312 | .rubric {
313 | margin-top: 30px;
314 | font-weight: bold;
315 | }
316 |
317 | /* -- sidebars -------------------------------------------------------------- */
318 |
319 | /*div.sidebar {
320 | margin: 0 0 0.5em 1em;
321 | border: 1px solid #ddb;
322 | padding: 7px 7px 0 7px;
323 | background-color: #ffe;
324 | width: 40%;
325 | float: right;
326 | }
327 |
328 | p.sidebar-title {
329 | font-weight: bold;
330 | }
331 | */
332 | /* -- topics ---------------------------------------------------------------- */
333 |
334 | div.topic {
335 | border: 1px solid #ccc;
336 | padding: 7px 7px 0 7px;
337 | margin: 10px 0 10px 0;
338 | }
339 |
340 | p.topic-title {
341 | font-size: 1.1em;
342 | font-weight: bold;
343 | margin-top: 10px;
344 | }
345 |
346 | /* -- admonitions ----------------------------------------------------------- */
347 | .admonition {
348 | border: 1px solid #a1a5a9;
349 | background-color: #f7f7f7;
350 | margin: 20px;
351 | padding: 0 8px 7px 9px;
352 | text-align: left;
353 | }
354 | .warning {
355 | background-color:#f5dbe0;
356 | border:1px solid #6f0925;
357 | margin:30px;
358 | }
359 |
360 | .warning .admonition-title {
361 | font-weight: bold;
362 | color: #6f0925;
363 | }
364 | .admonition p {
365 | font: 12px 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif;
366 | margin-top: 7px;
367 | margin-bottom: 0;
368 | }
369 |
370 | div.admonition dt {
371 | font-weight: bold;
372 | }
373 |
374 | div.admonition dl {
375 | margin-bottom: 0;
376 | }
377 |
378 | .admonition-title {
379 | margin: 0 10px 5px 0;
380 | font-weight: bold;
381 | padding-top: 3px;
382 | }
383 |
384 | div.body p.centered {
385 | text-align: center;
386 | margin-top: 25px;
387 | }
388 |
389 | /* -- tables ---------------------------------------------------------------- */
390 |
391 | table.docutils {
392 | border-collapse: collapse;
393 | border: 1px solid #919699;
394 | padding:8px;
395 | text-align:left;
396 | vertical-align:top;
397 | }
398 |
399 | table.docutils td, table.docutils th {
400 | padding: 8px;
401 | text-align: left;
402 | vertical-align: top;
403 | border-bottom: 1px solid #919699;
404 | }
405 |
406 | table.docutils th {
407 | text-align: left;
408 | font-weight: bold;
409 | background-color: #CCC;
410 | }
411 |
412 | table.footnote td, table.footnote th {
413 | border: 0 !important;
414 | }
415 |
416 | th {
417 | text-align: left;
418 | padding-right: 5px;
419 | }
420 |
421 | /* -- other body styles ----------------------------------------------------- */
422 |
423 | dl {
424 | margin-bottom: 15px;
425 | }
426 |
427 | dd p {
428 | margin-top: 0px;
429 | font-size: 1em;
430 | }
431 |
432 | dd ul, dd table {
433 | margin-bottom: 10px;
434 | }
435 |
436 | dd {
437 | margin-top: 3px;
438 | margin-bottom: 10px;
439 | margin-left: 30px;
440 | font-size: 1em;
441 | }
442 |
443 | dt:target, .highlight {
444 | background-color: #fbe54e;
445 | }
446 |
447 | dl.glossary dt {
448 | font-weight: bold;
449 | font-size: 0.8em;
450 | }
451 |
452 | dl.glossary dd {
453 | font-size:1em;
454 | }
455 |
456 | table.field-list {
457 | border: none;
458 | border-top: 1px solid #D6E0E5;
459 | margin-left: 2.5em;
460 | margin-bottom: 2.5em;
461 | }
462 | table.field-list tr {
463 | background: white;
464 | }
465 | table.field-list td {
466 | padding: .667em;
467 | text-align: left;
468 | vertical-align: top;
469 | border-bottom: 1px solid #D6E0E5;
470 | }
471 | table.field-list td p {
472 | font-size: .9em;
473 | }
474 | table.field-list th {
475 | font-weight: bold;
476 | background: white;
477 | font-size: .9em;
478 | text-align: left;
479 | vertical-align: top;
480 | border-bottom: 1px solid #D6E0E5;
481 |
482 | }
483 |
484 | ul.auto-toc {
485 | list-style-type: none;
486 | }
487 |
488 | .field-list ul {
489 | vertical-align: top;
490 | margin: 0;
491 | padding-bottom: 0;
492 | list-style: none inside;
493 | }
494 |
495 | .field-list ul li {
496 | margin-top: 0;
497 | }
498 |
499 | .field-list p {
500 | margin: 0;
501 | }
502 |
503 | .refcount {
504 | color: #060;
505 | }
506 |
507 | .optional {
508 | font-size: 1.3em;
509 | }
510 |
511 | .versionmodified {
512 | font-style: italic;
513 | }
514 |
515 | .system-message {
516 | background-color: #fda;
517 | padding: 5px;
518 | border: 3px solid red;
519 | }
520 |
521 | .footnote:target {
522 | background-color: #ffa
523 | }
524 |
525 | /* -- code displays --------------------------------------------------------- */
526 |
527 | pre {
528 | overflow: auto;
529 | background-color:#F1F5F9;
530 | border:1px solid #C9D1D7;
531 | border-spacing:0;
532 | font-family:"Bitstream Vera Sans Mono",Monaco,"Lucida Console",Courier,Consolas,monospace;
533 | font-size:.9em;
534 | padding: 10px;
535 | }
536 |
537 | td.linenos pre {
538 | padding: 5px 0px;
539 | border: 0;
540 | background-color: transparent;
541 | color: #aaa;
542 | }
543 |
544 | table.highlighttable {
545 | margin-left: 0.5em;
546 | }
547 |
548 | table.highlighttable td {
549 | padding: 0 0.5em 0 0.5em;
550 | }
551 |
552 | tt {
553 | font-family:"Bitstream Vera Sans Mono",Monaco,"Lucida Console",Courier,Consolas,monospace;
554 |
555 | }
556 |
557 | tt.descname {
558 | background-color: transparent;
559 | font-weight: bold;
560 | font-size: 1em;
561 | }
562 |
563 | tt.descclassname {
564 | background-color: transparent;
565 | }
566 |
567 | tt.xref, a tt {
568 | background-color: transparent;
569 | font-weight: bold;
570 | }
571 |
572 | h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
573 | background-color: transparent;
574 | }
575 |
576 | /* -- math display ---------------------------------------------------------- */
577 |
578 | img.math {
579 | vertical-align: middle;
580 | }
581 |
582 | div.body div.math p {
583 | text-align: center;
584 | }
585 |
586 | span.eqno {
587 | float: right;
588 | }
589 |
590 | /* -- printout stylesheet --------------------------------------------------- */
591 |
592 | @media print {
593 | div.document,
594 | div.documentwrapper,
595 | div.bodywrapper {
596 | margin: 0;
597 | width: 100%;
598 | }
599 |
600 | div.sphinxsidebar,
601 | div.related,
602 | div.footer,
603 | #top-link {
604 | display: none;
605 | }
606 | }
607 |
608 | body {
609 | font: 14px 'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;
610 | }
611 |
612 | dl.class dt {
613 | padding: 3px;
614 | /* border-top: 2px solid #999;*/
615 | }
616 |
617 | em.property {
618 | font-style: normal;
619 | }
620 |
621 | dl.class dd p {
622 | margin-top: 6px;
623 | }
624 |
625 | dl.class dd dl.exception dt {
626 | padding: 3px;
627 | background-color: #FFD6D6;
628 | border-top: none;
629 | }
630 |
631 | dl.class dd dl.method dt, dl.class dd dl.classmethod dt, dl.class dd dl.staticmethod dt,
632 | dl.class dd dl.attribute dt {
633 | padding: 3px;
634 | background-color: #e9e9e9;
635 | border-top: none;
636 |
637 | }
638 |
639 | dl.function dt {
640 | padding: 3px;
641 | border-top: 2px solid #999;
642 | }
643 |
644 | ul {
645 | list-style-image:none;
646 | list-style-position:outside;
647 | list-style-type:square;
648 | margin:0 0 0 15px;
649 | padding:0 0 12px 6px;
650 | }
651 | #docstitle {
652 | height: 36px;
653 | background-image: url(header_sm_mid.png);
654 | left: 0;
655 | top: 0;
656 | position: absolute;
657 | width: 100%;
658 | }
659 | #docstitle p {
660 | padding:7px 0 0 45px;
661 | margin: 0;
662 | color: white;
663 | text-shadow:0 1px 0 #787878;
664 | background: transparent url(documentation.png) no-repeat scroll 10px 3px;
665 | height: 36px;
666 | font-size: 1.2em;
667 | }
668 | #header {
669 | height:45px;
670 | left:0;
671 | position:absolute;
672 | right:0;
673 | top:36px;
674 | z-index:900;
675 | }
676 |
677 | #header h1 {
678 | font-size:.85em;
679 | margin:0;
680 | padding:5px 0 0 10px;
681 | text-shadow:0 1px 0 #D5D5D5;
682 | white-space:nowrap;
683 | }
684 |
685 | #doctitle + h1, .section h1:first-child {
686 | padding-top: 24px;
687 | }
688 |
689 | h1 {
690 | margin-top:1em;
691 | margin-top: 0;
692 | margin-bottom: 1.15em;
693 | font: 215% 'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;
694 | font-weight: normal;
695 | color: black;
696 | }
697 |
698 | h1 a:link {
699 | color: black;
700 | }
701 |
702 | .footer {
703 | border-top:1px solid #DDDDDD;
704 | clear:both;
705 | padding-top:9px;
706 | width:100%;
707 | font-size:10px;
708 | }
709 |
710 | p {
711 | -x-system-font:none;
712 | font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
713 | font-size:1em;
714 | font-size-adjust:none;
715 | font-stretch:normal;
716 | font-style:normal;
717 | font-variant:normal;
718 | font-weight:normal;
719 | line-height:normal;
720 | margin-bottom:10px;
721 | margin-top:0;
722 | }
723 |
724 | h2 {
725 | margin-top: 1.75em;
726 | font-size: 187%;
727 | font-weight: normal;
728 | color: #3C4C6C;
729 | padding-bottom: 2px;
730 | }
731 |
732 | h2 a:link {
733 | color: #3C4C6C;
734 | }
735 |
736 | h3 {
737 | color:black;
738 | font-weight: normal;
739 | font-size: 145%;
740 | margin-bottom:0.25em;
741 | margin-top:1.5em;
742 | }
743 |
744 | h3 a:link {
745 | color: black;
746 | }
747 |
748 | h4 {
749 | margin-top: 2em;
750 | margin-bottom: .5em;
751 | font-size: 125%;
752 | font-weight: normal;
753 | color: black;
754 | }
755 |
756 | h4 a:link {
757 | color: black;
758 | }
759 |
760 | h5 {
761 | margin-top: 1.538em;
762 | margin-bottom: .5em;
763 | padding: 0;
764 | font-size: 100%;
765 | color: #000;
766 | }
767 |
768 | h5 a:link {
769 | color: black;
770 | }
771 |
772 | a:link:hover {
773 | color:#093D92;
774 | text-decoration:underline;
775 | }
776 |
777 | a:link {
778 | color:#093D92;
779 | text-decoration:none;
780 | }
781 |
782 | ol {
783 | list-style-position:outside;
784 | list-style-type:decimal;
785 | margin:0 0 0 30px;
786 | padding:0 0 12px 6px;
787 | }
788 | .arabic { list-style: decimal;}
789 | .loweralpha { list-style: lower-alpha;}
790 | .lowerroman { list-style: lower-roman;}
791 | .upperalpha{ list-style: upper-alpha;}
792 | .upperroman { list-style: upper-roman;}
793 |
794 | li {
795 | margin-top:7px;
796 | font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
797 | font-size:12px;
798 | font-size-adjust:none;
799 | font-stretch:normal;
800 | font-style:normal;
801 | font-variant:normal;
802 | font-weight:normal;
803 | line-height:normal;
804 | }
805 | li p {
806 | margin-top:8px;
807 | }
808 |
809 | .accelerator {text-decoration: underline;}
--------------------------------------------------------------------------------
/test/_build/html/_static/ajax-loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/ajax-loader.gif
--------------------------------------------------------------------------------
/test/_build/html/_static/basic.css:
--------------------------------------------------------------------------------
1 | /*
2 | * basic.css
3 | * ~~~~~~~~~
4 | *
5 | * Sphinx stylesheet -- basic theme.
6 | *
7 | * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8 | * :license: BSD, see LICENSE for details.
9 | *
10 | */
11 |
12 | /* -- main layout ----------------------------------------------------------- */
13 |
14 | div.clearer {
15 | clear: both;
16 | }
17 |
18 | /* -- relbar ---------------------------------------------------------------- */
19 |
20 | div.related {
21 | width: 100%;
22 | font-size: 90%;
23 | }
24 |
25 | div.related h3 {
26 | display: none;
27 | }
28 |
29 | div.related ul {
30 | margin: 0;
31 | padding: 0 0 0 10px;
32 | list-style: none;
33 | }
34 |
35 | div.related li {
36 | display: inline;
37 | }
38 |
39 | div.related li.right {
40 | float: right;
41 | margin-right: 5px;
42 | }
43 |
44 | /* -- sidebar --------------------------------------------------------------- */
45 |
46 | div.sphinxsidebarwrapper {
47 | padding: 10px 5px 0 10px;
48 | }
49 |
50 | div.sphinxsidebar {
51 | float: left;
52 | width: 230px;
53 | margin-left: -100%;
54 | font-size: 90%;
55 | }
56 |
57 | div.sphinxsidebar ul {
58 | list-style: none;
59 | }
60 |
61 | div.sphinxsidebar ul ul,
62 | div.sphinxsidebar ul.want-points {
63 | margin-left: 20px;
64 | list-style: square;
65 | }
66 |
67 | div.sphinxsidebar ul ul {
68 | margin-top: 0;
69 | margin-bottom: 0;
70 | }
71 |
72 | div.sphinxsidebar form {
73 | margin-top: 10px;
74 | }
75 |
76 | div.sphinxsidebar input {
77 | border: 1px solid #98dbcc;
78 | font-family: sans-serif;
79 | font-size: 1em;
80 | }
81 |
82 | div.sphinxsidebar #searchbox input[type="text"] {
83 | width: 170px;
84 | }
85 |
86 | div.sphinxsidebar #searchbox input[type="submit"] {
87 | width: 30px;
88 | }
89 |
90 | img {
91 | border: 0;
92 | }
93 |
94 | /* -- search page ----------------------------------------------------------- */
95 |
96 | ul.search {
97 | margin: 10px 0 0 20px;
98 | padding: 0;
99 | }
100 |
101 | ul.search li {
102 | padding: 5px 0 5px 20px;
103 | background-image: url(file.png);
104 | background-repeat: no-repeat;
105 | background-position: 0 7px;
106 | }
107 |
108 | ul.search li a {
109 | font-weight: bold;
110 | }
111 |
112 | ul.search li div.context {
113 | color: #888;
114 | margin: 2px 0 0 30px;
115 | text-align: left;
116 | }
117 |
118 | ul.keywordmatches li.goodmatch a {
119 | font-weight: bold;
120 | }
121 |
122 | /* -- index page ------------------------------------------------------------ */
123 |
124 | table.contentstable {
125 | width: 90%;
126 | }
127 |
128 | table.contentstable p.biglink {
129 | line-height: 150%;
130 | }
131 |
132 | a.biglink {
133 | font-size: 1.3em;
134 | }
135 |
136 | span.linkdescr {
137 | font-style: italic;
138 | padding-top: 5px;
139 | font-size: 90%;
140 | }
141 |
142 | /* -- general index --------------------------------------------------------- */
143 |
144 | table.indextable {
145 | width: 100%;
146 | }
147 |
148 | table.indextable td {
149 | text-align: left;
150 | vertical-align: top;
151 | }
152 |
153 | table.indextable dl, table.indextable dd {
154 | margin-top: 0;
155 | margin-bottom: 0;
156 | }
157 |
158 | table.indextable tr.pcap {
159 | height: 10px;
160 | }
161 |
162 | table.indextable tr.cap {
163 | margin-top: 10px;
164 | background-color: #f2f2f2;
165 | }
166 |
167 | img.toggler {
168 | margin-right: 3px;
169 | margin-top: 3px;
170 | cursor: pointer;
171 | }
172 |
173 | div.modindex-jumpbox {
174 | border-top: 1px solid #ddd;
175 | border-bottom: 1px solid #ddd;
176 | margin: 1em 0 1em 0;
177 | padding: 0.4em;
178 | }
179 |
180 | div.genindex-jumpbox {
181 | border-top: 1px solid #ddd;
182 | border-bottom: 1px solid #ddd;
183 | margin: 1em 0 1em 0;
184 | padding: 0.4em;
185 | }
186 |
187 | /* -- general body styles --------------------------------------------------- */
188 |
189 | a.headerlink {
190 | visibility: hidden;
191 | }
192 |
193 | h1:hover > a.headerlink,
194 | h2:hover > a.headerlink,
195 | h3:hover > a.headerlink,
196 | h4:hover > a.headerlink,
197 | h5:hover > a.headerlink,
198 | h6:hover > a.headerlink,
199 | dt:hover > a.headerlink {
200 | visibility: visible;
201 | }
202 |
203 | div.body p.caption {
204 | text-align: inherit;
205 | }
206 |
207 | div.body td {
208 | text-align: left;
209 | }
210 |
211 | .field-list ul {
212 | padding-left: 1em;
213 | }
214 |
215 | .first {
216 | margin-top: 0 !important;
217 | }
218 |
219 | p.rubric {
220 | margin-top: 30px;
221 | font-weight: bold;
222 | }
223 |
224 | img.align-left, .figure.align-left, object.align-left {
225 | clear: left;
226 | float: left;
227 | margin-right: 1em;
228 | }
229 |
230 | img.align-right, .figure.align-right, object.align-right {
231 | clear: right;
232 | float: right;
233 | margin-left: 1em;
234 | }
235 |
236 | img.align-center, .figure.align-center, object.align-center {
237 | display: block;
238 | margin-left: auto;
239 | margin-right: auto;
240 | }
241 |
242 | .align-left {
243 | text-align: left;
244 | }
245 |
246 | .align-center {
247 | text-align: center;
248 | }
249 |
250 | .align-right {
251 | text-align: right;
252 | }
253 |
254 | /* -- sidebars -------------------------------------------------------------- */
255 |
256 | div.sidebar {
257 | margin: 0 0 0.5em 1em;
258 | border: 1px solid #ddb;
259 | padding: 7px 7px 0 7px;
260 | background-color: #ffe;
261 | width: 40%;
262 | float: right;
263 | }
264 |
265 | p.sidebar-title {
266 | font-weight: bold;
267 | }
268 |
269 | /* -- topics ---------------------------------------------------------------- */
270 |
271 | div.topic {
272 | border: 1px solid #ccc;
273 | padding: 7px 7px 0 7px;
274 | margin: 10px 0 10px 0;
275 | }
276 |
277 | p.topic-title {
278 | font-size: 1.1em;
279 | font-weight: bold;
280 | margin-top: 10px;
281 | }
282 |
283 | /* -- admonitions ----------------------------------------------------------- */
284 |
285 | div.admonition {
286 | margin-top: 10px;
287 | margin-bottom: 10px;
288 | padding: 7px;
289 | }
290 |
291 | div.admonition dt {
292 | font-weight: bold;
293 | }
294 |
295 | div.admonition dl {
296 | margin-bottom: 0;
297 | }
298 |
299 | p.admonition-title {
300 | margin: 0px 10px 5px 0px;
301 | font-weight: bold;
302 | }
303 |
304 | div.body p.centered {
305 | text-align: center;
306 | margin-top: 25px;
307 | }
308 |
309 | /* -- tables ---------------------------------------------------------------- */
310 |
311 | table.docutils {
312 | border: 0;
313 | border-collapse: collapse;
314 | }
315 |
316 | table.docutils td, table.docutils th {
317 | padding: 1px 8px 1px 5px;
318 | border-top: 0;
319 | border-left: 0;
320 | border-right: 0;
321 | border-bottom: 1px solid #aaa;
322 | }
323 |
324 | table.field-list td, table.field-list th {
325 | border: 0 !important;
326 | }
327 |
328 | table.footnote td, table.footnote th {
329 | border: 0 !important;
330 | }
331 |
332 | th {
333 | text-align: left;
334 | padding-right: 5px;
335 | }
336 |
337 | table.citation {
338 | border-left: solid 1px gray;
339 | margin-left: 1px;
340 | }
341 |
342 | table.citation td {
343 | border-bottom: none;
344 | }
345 |
346 | /* -- other body styles ----------------------------------------------------- */
347 |
348 | ol.arabic {
349 | list-style: decimal;
350 | }
351 |
352 | ol.loweralpha {
353 | list-style: lower-alpha;
354 | }
355 |
356 | ol.upperalpha {
357 | list-style: upper-alpha;
358 | }
359 |
360 | ol.lowerroman {
361 | list-style: lower-roman;
362 | }
363 |
364 | ol.upperroman {
365 | list-style: upper-roman;
366 | }
367 |
368 | dl {
369 | margin-bottom: 15px;
370 | }
371 |
372 | dd p {
373 | margin-top: 0px;
374 | }
375 |
376 | dd ul, dd table {
377 | margin-bottom: 10px;
378 | }
379 |
380 | dd {
381 | margin-top: 3px;
382 | margin-bottom: 10px;
383 | margin-left: 30px;
384 | }
385 |
386 | dt:target, .highlighted {
387 | background-color: #fbe54e;
388 | }
389 |
390 | dl.glossary dt {
391 | font-weight: bold;
392 | font-size: 1.1em;
393 | }
394 |
395 | .field-list ul {
396 | margin: 0;
397 | padding-left: 1em;
398 | }
399 |
400 | .field-list p {
401 | margin: 0;
402 | }
403 |
404 | .refcount {
405 | color: #060;
406 | }
407 |
408 | .optional {
409 | font-size: 1.3em;
410 | }
411 |
412 | .versionmodified {
413 | font-style: italic;
414 | }
415 |
416 | .system-message {
417 | background-color: #fda;
418 | padding: 5px;
419 | border: 3px solid red;
420 | }
421 |
422 | .footnote:target {
423 | background-color: #ffa;
424 | }
425 |
426 | .line-block {
427 | display: block;
428 | margin-top: 1em;
429 | margin-bottom: 1em;
430 | }
431 |
432 | .line-block .line-block {
433 | margin-top: 0;
434 | margin-bottom: 0;
435 | margin-left: 1.5em;
436 | }
437 |
438 | .guilabel, .menuselection {
439 | font-family: sans-serif;
440 | }
441 |
442 | .accelerator {
443 | text-decoration: underline;
444 | }
445 |
446 | .classifier {
447 | font-style: oblique;
448 | }
449 |
450 | abbr, acronym {
451 | border-bottom: dotted 1px;
452 | cursor: help;
453 | }
454 |
455 | /* -- code displays --------------------------------------------------------- */
456 |
457 | pre {
458 | overflow: auto;
459 | overflow-y: hidden; /* fixes display issues on Chrome browsers */
460 | }
461 |
462 | td.linenos pre {
463 | padding: 5px 0px;
464 | border: 0;
465 | background-color: transparent;
466 | color: #aaa;
467 | }
468 |
469 | table.highlighttable {
470 | margin-left: 0.5em;
471 | }
472 |
473 | table.highlighttable td {
474 | padding: 0 0.5em 0 0.5em;
475 | }
476 |
477 | tt.descname {
478 | background-color: transparent;
479 | font-weight: bold;
480 | font-size: 1.2em;
481 | }
482 |
483 | tt.descclassname {
484 | background-color: transparent;
485 | }
486 |
487 | tt.xref, a tt {
488 | background-color: transparent;
489 | font-weight: bold;
490 | }
491 |
492 | h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
493 | background-color: transparent;
494 | }
495 |
496 | .viewcode-link {
497 | float: right;
498 | }
499 |
500 | .viewcode-back {
501 | float: right;
502 | font-family: sans-serif;
503 | }
504 |
505 | div.viewcode-block:target {
506 | margin: -1px -10px;
507 | padding: 0 10px;
508 | }
509 |
510 | /* -- math display ---------------------------------------------------------- */
511 |
512 | img.math {
513 | vertical-align: middle;
514 | }
515 |
516 | div.body div.math p {
517 | text-align: center;
518 | }
519 |
520 | span.eqno {
521 | float: right;
522 | }
523 |
524 | /* -- printout stylesheet --------------------------------------------------- */
525 |
526 | @media print {
527 | div.document,
528 | div.documentwrapper,
529 | div.bodywrapper {
530 | margin: 0 !important;
531 | width: 100%;
532 | }
533 |
534 | div.sphinxsidebar,
535 | div.related,
536 | div.footer,
537 | #top-link {
538 | display: none;
539 | }
540 | }
--------------------------------------------------------------------------------
/test/_build/html/_static/breadcrumb_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/breadcrumb_background.png
--------------------------------------------------------------------------------
/test/_build/html/_static/comment-bright.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/comment-bright.png
--------------------------------------------------------------------------------
/test/_build/html/_static/comment-close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/comment-close.png
--------------------------------------------------------------------------------
/test/_build/html/_static/comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/comment.png
--------------------------------------------------------------------------------
/test/_build/html/_static/default.css:
--------------------------------------------------------------------------------
1 | /*
2 | * default.css_t
3 | * ~~~~~~~~~~~~~
4 | *
5 | * Sphinx stylesheet -- default theme.
6 | *
7 | * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8 | * :license: BSD, see LICENSE for details.
9 | *
10 | */
11 |
12 | @import url("basic.css");
13 |
14 | /* -- page layout ----------------------------------------------------------- */
15 |
16 | body {
17 | font-family: sans-serif;
18 | font-size: 100%;
19 | background-color: #11303d;
20 | color: #000;
21 | margin: 0;
22 | padding: 0;
23 | }
24 |
25 | div.document {
26 | background-color: #1c4e63;
27 | }
28 |
29 | div.documentwrapper {
30 | float: left;
31 | width: 100%;
32 | }
33 |
34 | div.bodywrapper {
35 | margin: 0 0 0 230px;
36 | }
37 |
38 | div.body {
39 | background-color: #ffffff;
40 | color: #000000;
41 | padding: 0 20px 30px 20px;
42 | }
43 |
44 | div.footer {
45 | color: #ffffff;
46 | width: 100%;
47 | padding: 9px 0 9px 0;
48 | text-align: center;
49 | font-size: 75%;
50 | }
51 |
52 | div.footer a {
53 | color: #ffffff;
54 | text-decoration: underline;
55 | }
56 |
57 | div.related {
58 | background-color: #133f52;
59 | line-height: 30px;
60 | color: #ffffff;
61 | }
62 |
63 | div.related a {
64 | color: #ffffff;
65 | }
66 |
67 | div.sphinxsidebar {
68 | }
69 |
70 | div.sphinxsidebar h3 {
71 | font-family: 'Trebuchet MS', sans-serif;
72 | color: #ffffff;
73 | font-size: 1.4em;
74 | font-weight: normal;
75 | margin: 0;
76 | padding: 0;
77 | }
78 |
79 | div.sphinxsidebar h3 a {
80 | color: #ffffff;
81 | }
82 |
83 | div.sphinxsidebar h4 {
84 | font-family: 'Trebuchet MS', sans-serif;
85 | color: #ffffff;
86 | font-size: 1.3em;
87 | font-weight: normal;
88 | margin: 5px 0 0 0;
89 | padding: 0;
90 | }
91 |
92 | div.sphinxsidebar p {
93 | color: #ffffff;
94 | }
95 |
96 | div.sphinxsidebar p.topless {
97 | margin: 5px 10px 10px 10px;
98 | }
99 |
100 | div.sphinxsidebar ul {
101 | margin: 10px;
102 | padding: 0;
103 | color: #ffffff;
104 | }
105 |
106 | div.sphinxsidebar a {
107 | color: #98dbcc;
108 | }
109 |
110 | div.sphinxsidebar input {
111 | border: 1px solid #98dbcc;
112 | font-family: sans-serif;
113 | font-size: 1em;
114 | }
115 |
116 |
117 |
118 | /* -- hyperlink styles ------------------------------------------------------ */
119 |
120 | a {
121 | color: #355f7c;
122 | text-decoration: none;
123 | }
124 |
125 | a:visited {
126 | color: #355f7c;
127 | text-decoration: none;
128 | }
129 |
130 | a:hover {
131 | text-decoration: underline;
132 | }
133 |
134 |
135 |
136 | /* -- body styles ----------------------------------------------------------- */
137 |
138 | div.body h1,
139 | div.body h2,
140 | div.body h3,
141 | div.body h4,
142 | div.body h5,
143 | div.body h6 {
144 | font-family: 'Trebuchet MS', sans-serif;
145 | background-color: #f2f2f2;
146 | font-weight: normal;
147 | color: #20435c;
148 | border-bottom: 1px solid #ccc;
149 | margin: 20px -20px 10px -20px;
150 | padding: 3px 0 3px 10px;
151 | }
152 |
153 | div.body h1 { margin-top: 0; font-size: 200%; }
154 | div.body h2 { font-size: 160%; }
155 | div.body h3 { font-size: 140%; }
156 | div.body h4 { font-size: 120%; }
157 | div.body h5 { font-size: 110%; }
158 | div.body h6 { font-size: 100%; }
159 |
160 | a.headerlink {
161 | color: #c60f0f;
162 | font-size: 0.8em;
163 | padding: 0 4px 0 4px;
164 | text-decoration: none;
165 | }
166 |
167 | a.headerlink:hover {
168 | background-color: #c60f0f;
169 | color: white;
170 | }
171 |
172 | div.body p, div.body dd, div.body li {
173 | text-align: justify;
174 | line-height: 130%;
175 | }
176 |
177 | div.admonition p.admonition-title + p {
178 | display: inline;
179 | }
180 |
181 | div.admonition p {
182 | margin-bottom: 5px;
183 | }
184 |
185 | div.admonition pre {
186 | margin-bottom: 5px;
187 | }
188 |
189 | div.admonition ul, div.admonition ol {
190 | margin-bottom: 5px;
191 | }
192 |
193 | div.note {
194 | background-color: #eee;
195 | border: 1px solid #ccc;
196 | }
197 |
198 | div.seealso {
199 | background-color: #ffc;
200 | border: 1px solid #ff6;
201 | }
202 |
203 | div.topic {
204 | background-color: #eee;
205 | }
206 |
207 | div.warning {
208 | background-color: #ffe4e4;
209 | border: 1px solid #f66;
210 | }
211 |
212 | p.admonition-title {
213 | display: inline;
214 | }
215 |
216 | p.admonition-title:after {
217 | content: ":";
218 | }
219 |
220 | pre {
221 | padding: 5px;
222 | background-color: #eeffcc;
223 | color: #333333;
224 | line-height: 120%;
225 | border: 1px solid #ac9;
226 | border-left: none;
227 | border-right: none;
228 | }
229 |
230 | tt {
231 | background-color: #ecf0f3;
232 | padding: 0 1px 0 1px;
233 | font-size: 0.95em;
234 | }
235 |
236 | th {
237 | background-color: #ede;
238 | }
239 |
240 | .warning tt {
241 | background: #efc2c2;
242 | }
243 |
244 | .note tt {
245 | background: #d6d6d6;
246 | }
247 |
248 | .viewcode-back {
249 | font-family: sans-serif;
250 | }
251 |
252 | div.viewcode-block:target {
253 | background-color: #f4debf;
254 | border-top: 1px solid #ac9;
255 | border-bottom: 1px solid #ac9;
256 | }
--------------------------------------------------------------------------------
/test/_build/html/_static/doctools.js:
--------------------------------------------------------------------------------
1 | /*
2 | * doctools.js
3 | * ~~~~~~~~~~~
4 | *
5 | * Sphinx JavaScript utilities for all documentation.
6 | *
7 | * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8 | * :license: BSD, see LICENSE for details.
9 | *
10 | */
11 |
12 | /**
13 | * select a different prefix for underscore
14 | */
15 | $u = _.noConflict();
16 |
17 | /**
18 | * make the code below compatible with browsers without
19 | * an installed firebug like debugger
20 | if (!window.console || !console.firebug) {
21 | var names = ["log", "debug", "info", "warn", "error", "assert", "dir",
22 | "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace",
23 | "profile", "profileEnd"];
24 | window.console = {};
25 | for (var i = 0; i < names.length; ++i)
26 | window.console[names[i]] = function() {};
27 | }
28 | */
29 |
30 | /**
31 | * small helper function to urldecode strings
32 | */
33 | jQuery.urldecode = function(x) {
34 | return decodeURIComponent(x).replace(/\+/g, ' ');
35 | }
36 |
37 | /**
38 | * small helper function to urlencode strings
39 | */
40 | jQuery.urlencode = encodeURIComponent;
41 |
42 | /**
43 | * This function returns the parsed url parameters of the
44 | * current request. Multiple values per key are supported,
45 | * it will always return arrays of strings for the value parts.
46 | */
47 | jQuery.getQueryParameters = function(s) {
48 | if (typeof s == 'undefined')
49 | s = document.location.search;
50 | var parts = s.substr(s.indexOf('?') + 1).split('&');
51 | var result = {};
52 | for (var i = 0; i < parts.length; i++) {
53 | var tmp = parts[i].split('=', 2);
54 | var key = jQuery.urldecode(tmp[0]);
55 | var value = jQuery.urldecode(tmp[1]);
56 | if (key in result)
57 | result[key].push(value);
58 | else
59 | result[key] = [value];
60 | }
61 | return result;
62 | };
63 |
64 | /**
65 | * small function to check if an array contains
66 | * a given item.
67 | */
68 | jQuery.contains = function(arr, item) {
69 | for (var i = 0; i < arr.length; i++) {
70 | if (arr[i] == item)
71 | return true;
72 | }
73 | return false;
74 | };
75 |
76 | /**
77 | * highlight a given string on a jquery object by wrapping it in
78 | * span elements with the given class name.
79 | */
80 | jQuery.fn.highlightText = function(text, className) {
81 | function highlight(node) {
82 | if (node.nodeType == 3) {
83 | var val = node.nodeValue;
84 | var pos = val.toLowerCase().indexOf(text);
85 | if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) {
86 | var span = document.createElement("span");
87 | span.className = className;
88 | span.appendChild(document.createTextNode(val.substr(pos, text.length)));
89 | node.parentNode.insertBefore(span, node.parentNode.insertBefore(
90 | document.createTextNode(val.substr(pos + text.length)),
91 | node.nextSibling));
92 | node.nodeValue = val.substr(0, pos);
93 | }
94 | }
95 | else if (!jQuery(node).is("button, select, textarea")) {
96 | jQuery.each(node.childNodes, function() {
97 | highlight(this);
98 | });
99 | }
100 | }
101 | return this.each(function() {
102 | highlight(this);
103 | });
104 | };
105 |
106 | /**
107 | * Small JavaScript module for the documentation.
108 | */
109 | var Documentation = {
110 |
111 | init : function() {
112 | this.fixFirefoxAnchorBug();
113 | this.highlightSearchWords();
114 | this.initIndexTable();
115 | },
116 |
117 | /**
118 | * i18n support
119 | */
120 | TRANSLATIONS : {},
121 | PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; },
122 | LOCALE : 'unknown',
123 |
124 | // gettext and ngettext don't access this so that the functions
125 | // can safely bound to a different name (_ = Documentation.gettext)
126 | gettext : function(string) {
127 | var translated = Documentation.TRANSLATIONS[string];
128 | if (typeof translated == 'undefined')
129 | return string;
130 | return (typeof translated == 'string') ? translated : translated[0];
131 | },
132 |
133 | ngettext : function(singular, plural, n) {
134 | var translated = Documentation.TRANSLATIONS[singular];
135 | if (typeof translated == 'undefined')
136 | return (n == 1) ? singular : plural;
137 | return translated[Documentation.PLURALEXPR(n)];
138 | },
139 |
140 | addTranslations : function(catalog) {
141 | for (var key in catalog.messages)
142 | this.TRANSLATIONS[key] = catalog.messages[key];
143 | this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')');
144 | this.LOCALE = catalog.locale;
145 | },
146 |
147 | /**
148 | * add context elements like header anchor links
149 | */
150 | addContextElements : function() {
151 | $('div[id] > :header:first').each(function() {
152 | $('').
153 | attr('href', '#' + this.id).
154 | attr('title', _('Permalink to this headline')).
155 | appendTo(this);
156 | });
157 | $('dt[id]').each(function() {
158 | $('').
159 | attr('href', '#' + this.id).
160 | attr('title', _('Permalink to this definition')).
161 | appendTo(this);
162 | });
163 | },
164 |
165 | /**
166 | * workaround a firefox stupidity
167 | */
168 | fixFirefoxAnchorBug : function() {
169 | if (document.location.hash && $.browser.mozilla)
170 | window.setTimeout(function() {
171 | document.location.href += '';
172 | }, 10);
173 | },
174 |
175 | /**
176 | * highlight the search words provided in the url in the text
177 | */
178 | highlightSearchWords : function() {
179 | var params = $.getQueryParameters();
180 | var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : [];
181 | if (terms.length) {
182 | var body = $('div.body');
183 | window.setTimeout(function() {
184 | $.each(terms, function() {
185 | body.highlightText(this.toLowerCase(), 'highlighted');
186 | });
187 | }, 10);
188 | $('' + _('Hide Search Matches') + '
')
190 | .appendTo($('#searchbox'));
191 | }
192 | },
193 |
194 | /**
195 | * init the domain index toggle buttons
196 | */
197 | initIndexTable : function() {
198 | var togglers = $('img.toggler').click(function() {
199 | var src = $(this).attr('src');
200 | var idnum = $(this).attr('id').substr(7);
201 | $('tr.cg-' + idnum).toggle();
202 | if (src.substr(-9) == 'minus.png')
203 | $(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
204 | else
205 | $(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
206 | }).css('display', '');
207 | if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) {
208 | togglers.click();
209 | }
210 | },
211 |
212 | /**
213 | * helper function to hide the search marks again
214 | */
215 | hideSearchWords : function() {
216 | $('#searchbox .highlight-link').fadeOut(300);
217 | $('span.highlighted').removeClass('highlighted');
218 | },
219 |
220 | /**
221 | * make the url absolute
222 | */
223 | makeURL : function(relativeURL) {
224 | return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL;
225 | },
226 |
227 | /**
228 | * get the current relative url
229 | */
230 | getCurrentURL : function() {
231 | var path = document.location.pathname;
232 | var parts = path.split(/\//);
233 | $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
234 | if (this == '..')
235 | parts.pop();
236 | });
237 | var url = parts.join('/');
238 | return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
239 | }
240 | };
241 |
242 | // quick alias for translations
243 | _ = Documentation.gettext;
244 |
245 | $(document).ready(function() {
246 | Documentation.init();
247 | });
248 |
--------------------------------------------------------------------------------
/test/_build/html/_static/documentation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/documentation.png
--------------------------------------------------------------------------------
/test/_build/html/_static/down-pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/down-pressed.png
--------------------------------------------------------------------------------
/test/_build/html/_static/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/down.png
--------------------------------------------------------------------------------
/test/_build/html/_static/file.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/file.png
--------------------------------------------------------------------------------
/test/_build/html/_static/header_sm_mid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/header_sm_mid.png
--------------------------------------------------------------------------------
/test/_build/html/_static/minus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/minus.png
--------------------------------------------------------------------------------
/test/_build/html/_static/mobile.css:
--------------------------------------------------------------------------------
1 | /*
2 | * CSS adjustments (overrides) for mobile browsers that cannot handle
3 | * fix-positioned div's very well.
4 | * This makes long pages scrollable on mobile browsers.
5 | */
6 |
7 | #breadcrumbs {
8 | display: none !important;
9 | }
10 |
11 | .document {
12 | bottom: inherit !important;
13 | }
14 |
15 | #sphinxsidebar {
16 | bottom: inherit !important;
17 | }
18 |
--------------------------------------------------------------------------------
/test/_build/html/_static/plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/plus.png
--------------------------------------------------------------------------------
/test/_build/html/_static/pygments.css:
--------------------------------------------------------------------------------
1 | .highlight .hll { background-color: #ffffcc }
2 | .highlight { background: #eeffcc; }
3 | .highlight .c { color: #408090; font-style: italic } /* Comment */
4 | .highlight .err { border: 1px solid #FF0000 } /* Error */
5 | .highlight .k { color: #007020; font-weight: bold } /* Keyword */
6 | .highlight .o { color: #666666 } /* Operator */
7 | .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
8 | .highlight .cp { color: #007020 } /* Comment.Preproc */
9 | .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
10 | .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
11 | .highlight .gd { color: #A00000 } /* Generic.Deleted */
12 | .highlight .ge { font-style: italic } /* Generic.Emph */
13 | .highlight .gr { color: #FF0000 } /* Generic.Error */
14 | .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
15 | .highlight .gi { color: #00A000 } /* Generic.Inserted */
16 | .highlight .go { color: #303030 } /* Generic.Output */
17 | .highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
18 | .highlight .gs { font-weight: bold } /* Generic.Strong */
19 | .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
20 | .highlight .gt { color: #0040D0 } /* Generic.Traceback */
21 | .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
22 | .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
23 | .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
24 | .highlight .kp { color: #007020 } /* Keyword.Pseudo */
25 | .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
26 | .highlight .kt { color: #902000 } /* Keyword.Type */
27 | .highlight .m { color: #208050 } /* Literal.Number */
28 | .highlight .s { color: #4070a0 } /* Literal.String */
29 | .highlight .na { color: #4070a0 } /* Name.Attribute */
30 | .highlight .nb { color: #007020 } /* Name.Builtin */
31 | .highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
32 | .highlight .no { color: #60add5 } /* Name.Constant */
33 | .highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
34 | .highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
35 | .highlight .ne { color: #007020 } /* Name.Exception */
36 | .highlight .nf { color: #06287e } /* Name.Function */
37 | .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
38 | .highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
39 | .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
40 | .highlight .nv { color: #bb60d5 } /* Name.Variable */
41 | .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
42 | .highlight .w { color: #bbbbbb } /* Text.Whitespace */
43 | .highlight .mf { color: #208050 } /* Literal.Number.Float */
44 | .highlight .mh { color: #208050 } /* Literal.Number.Hex */
45 | .highlight .mi { color: #208050 } /* Literal.Number.Integer */
46 | .highlight .mo { color: #208050 } /* Literal.Number.Oct */
47 | .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
48 | .highlight .sc { color: #4070a0 } /* Literal.String.Char */
49 | .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
50 | .highlight .s2 { color: #4070a0 } /* Literal.String.Double */
51 | .highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
52 | .highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
53 | .highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
54 | .highlight .sx { color: #c65d09 } /* Literal.String.Other */
55 | .highlight .sr { color: #235388 } /* Literal.String.Regex */
56 | .highlight .s1 { color: #4070a0 } /* Literal.String.Single */
57 | .highlight .ss { color: #517918 } /* Literal.String.Symbol */
58 | .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
59 | .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
60 | .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
61 | .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
62 | .highlight .il { color: #208050 } /* Literal.Number.Integer.Long */
--------------------------------------------------------------------------------
/test/_build/html/_static/scrn1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/scrn1.png
--------------------------------------------------------------------------------
/test/_build/html/_static/scrn2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/scrn2.png
--------------------------------------------------------------------------------
/test/_build/html/_static/searchfield_leftcap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/searchfield_leftcap.png
--------------------------------------------------------------------------------
/test/_build/html/_static/searchfield_repeat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/searchfield_repeat.png
--------------------------------------------------------------------------------
/test/_build/html/_static/searchfield_rightcap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/searchfield_rightcap.png
--------------------------------------------------------------------------------
/test/_build/html/_static/searchtools.js:
--------------------------------------------------------------------------------
1 | /*
2 | * searchtools.js_t
3 | * ~~~~~~~~~~~~~~~~
4 | *
5 | * Sphinx JavaScript utilties for the full-text search.
6 | *
7 | * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8 | * :license: BSD, see LICENSE for details.
9 | *
10 | */
11 |
12 | /**
13 | * helper function to return a node containing the
14 | * search summary for a given text. keywords is a list
15 | * of stemmed words, hlwords is the list of normal, unstemmed
16 | * words. the first one is used to find the occurance, the
17 | * latter for highlighting it.
18 | */
19 |
20 | jQuery.makeSearchSummary = function(text, keywords, hlwords) {
21 | var textLower = text.toLowerCase();
22 | var start = 0;
23 | $.each(keywords, function() {
24 | var i = textLower.indexOf(this.toLowerCase());
25 | if (i > -1)
26 | start = i;
27 | });
28 | start = Math.max(start - 120, 0);
29 | var excerpt = ((start > 0) ? '...' : '') +
30 | $.trim(text.substr(start, 240)) +
31 | ((start + 240 - text.length) ? '...' : '');
32 | var rv = $('
').text(excerpt);
33 | $.each(hlwords, function() {
34 | rv = rv.highlightText(this, 'highlighted');
35 | });
36 | return rv;
37 | }
38 |
39 |
40 | /**
41 | * Porter Stemmer
42 | */
43 | var Stemmer = function() {
44 |
45 | var step2list = {
46 | ational: 'ate',
47 | tional: 'tion',
48 | enci: 'ence',
49 | anci: 'ance',
50 | izer: 'ize',
51 | bli: 'ble',
52 | alli: 'al',
53 | entli: 'ent',
54 | eli: 'e',
55 | ousli: 'ous',
56 | ization: 'ize',
57 | ation: 'ate',
58 | ator: 'ate',
59 | alism: 'al',
60 | iveness: 'ive',
61 | fulness: 'ful',
62 | ousness: 'ous',
63 | aliti: 'al',
64 | iviti: 'ive',
65 | biliti: 'ble',
66 | logi: 'log'
67 | };
68 |
69 | var step3list = {
70 | icate: 'ic',
71 | ative: '',
72 | alize: 'al',
73 | iciti: 'ic',
74 | ical: 'ic',
75 | ful: '',
76 | ness: ''
77 | };
78 |
79 | var c = "[^aeiou]"; // consonant
80 | var v = "[aeiouy]"; // vowel
81 | var C = c + "[^aeiouy]*"; // consonant sequence
82 | var V = v + "[aeiou]*"; // vowel sequence
83 |
84 | var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0
85 | var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1
86 | var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1
87 | var s_v = "^(" + C + ")?" + v; // vowel in stem
88 |
89 | this.stemWord = function (w) {
90 | var stem;
91 | var suffix;
92 | var firstch;
93 | var origword = w;
94 |
95 | if (w.length < 3)
96 | return w;
97 |
98 | var re;
99 | var re2;
100 | var re3;
101 | var re4;
102 |
103 | firstch = w.substr(0,1);
104 | if (firstch == "y")
105 | w = firstch.toUpperCase() + w.substr(1);
106 |
107 | // Step 1a
108 | re = /^(.+?)(ss|i)es$/;
109 | re2 = /^(.+?)([^s])s$/;
110 |
111 | if (re.test(w))
112 | w = w.replace(re,"$1$2");
113 | else if (re2.test(w))
114 | w = w.replace(re2,"$1$2");
115 |
116 | // Step 1b
117 | re = /^(.+?)eed$/;
118 | re2 = /^(.+?)(ed|ing)$/;
119 | if (re.test(w)) {
120 | var fp = re.exec(w);
121 | re = new RegExp(mgr0);
122 | if (re.test(fp[1])) {
123 | re = /.$/;
124 | w = w.replace(re,"");
125 | }
126 | }
127 | else if (re2.test(w)) {
128 | var fp = re2.exec(w);
129 | stem = fp[1];
130 | re2 = new RegExp(s_v);
131 | if (re2.test(stem)) {
132 | w = stem;
133 | re2 = /(at|bl|iz)$/;
134 | re3 = new RegExp("([^aeiouylsz])\\1$");
135 | re4 = new RegExp("^" + C + v + "[^aeiouwxy]$");
136 | if (re2.test(w))
137 | w = w + "e";
138 | else if (re3.test(w)) {
139 | re = /.$/;
140 | w = w.replace(re,"");
141 | }
142 | else if (re4.test(w))
143 | w = w + "e";
144 | }
145 | }
146 |
147 | // Step 1c
148 | re = /^(.+?)y$/;
149 | if (re.test(w)) {
150 | var fp = re.exec(w);
151 | stem = fp[1];
152 | re = new RegExp(s_v);
153 | if (re.test(stem))
154 | w = stem + "i";
155 | }
156 |
157 | // Step 2
158 | re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
159 | if (re.test(w)) {
160 | var fp = re.exec(w);
161 | stem = fp[1];
162 | suffix = fp[2];
163 | re = new RegExp(mgr0);
164 | if (re.test(stem))
165 | w = stem + step2list[suffix];
166 | }
167 |
168 | // Step 3
169 | re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;
170 | if (re.test(w)) {
171 | var fp = re.exec(w);
172 | stem = fp[1];
173 | suffix = fp[2];
174 | re = new RegExp(mgr0);
175 | if (re.test(stem))
176 | w = stem + step3list[suffix];
177 | }
178 |
179 | // Step 4
180 | re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;
181 | re2 = /^(.+?)(s|t)(ion)$/;
182 | if (re.test(w)) {
183 | var fp = re.exec(w);
184 | stem = fp[1];
185 | re = new RegExp(mgr1);
186 | if (re.test(stem))
187 | w = stem;
188 | }
189 | else if (re2.test(w)) {
190 | var fp = re2.exec(w);
191 | stem = fp[1] + fp[2];
192 | re2 = new RegExp(mgr1);
193 | if (re2.test(stem))
194 | w = stem;
195 | }
196 |
197 | // Step 5
198 | re = /^(.+?)e$/;
199 | if (re.test(w)) {
200 | var fp = re.exec(w);
201 | stem = fp[1];
202 | re = new RegExp(mgr1);
203 | re2 = new RegExp(meq1);
204 | re3 = new RegExp("^" + C + v + "[^aeiouwxy]$");
205 | if (re.test(stem) || (re2.test(stem) && !(re3.test(stem))))
206 | w = stem;
207 | }
208 | re = /ll$/;
209 | re2 = new RegExp(mgr1);
210 | if (re.test(w) && re2.test(w)) {
211 | re = /.$/;
212 | w = w.replace(re,"");
213 | }
214 |
215 | // and turn initial Y back to y
216 | if (firstch == "y")
217 | w = firstch.toLowerCase() + w.substr(1);
218 | return w;
219 | }
220 | }
221 |
222 |
223 | /**
224 | * Search Module
225 | */
226 | var Search = {
227 |
228 | _index : null,
229 | _queued_query : null,
230 | _pulse_status : -1,
231 |
232 | init : function() {
233 | var params = $.getQueryParameters();
234 | if (params.q) {
235 | var query = params.q[0];
236 | $('input[name="q"]')[0].value = query;
237 | this.performSearch(query);
238 | }
239 | },
240 |
241 | loadIndex : function(url) {
242 | $.ajax({type: "GET", url: url, data: null, success: null,
243 | dataType: "script", cache: true});
244 | },
245 |
246 | setIndex : function(index) {
247 | var q;
248 | this._index = index;
249 | if ((q = this._queued_query) !== null) {
250 | this._queued_query = null;
251 | Search.query(q);
252 | }
253 | },
254 |
255 | hasIndex : function() {
256 | return this._index !== null;
257 | },
258 |
259 | deferQuery : function(query) {
260 | this._queued_query = query;
261 | },
262 |
263 | stopPulse : function() {
264 | this._pulse_status = 0;
265 | },
266 |
267 | startPulse : function() {
268 | if (this._pulse_status >= 0)
269 | return;
270 | function pulse() {
271 | Search._pulse_status = (Search._pulse_status + 1) % 4;
272 | var dotString = '';
273 | for (var i = 0; i < Search._pulse_status; i++)
274 | dotString += '.';
275 | Search.dots.text(dotString);
276 | if (Search._pulse_status > -1)
277 | window.setTimeout(pulse, 500);
278 | };
279 | pulse();
280 | },
281 |
282 | /**
283 | * perform a search for something
284 | */
285 | performSearch : function(query) {
286 | // create the required interface elements
287 | this.out = $('#search-results');
288 | this.title = $('' + _('Searching') + ' ').appendTo(this.out);
289 | this.dots = $(' ').appendTo(this.title);
290 | this.status = $('
').appendTo(this.out);
291 | this.output = $('').appendTo(this.out);
292 |
293 | $('#search-progress').text(_('Preparing search...'));
294 | this.startPulse();
295 |
296 | // index already loaded, the browser was quick!
297 | if (this.hasIndex())
298 | this.query(query);
299 | else
300 | this.deferQuery(query);
301 | },
302 |
303 | query : function(query) {
304 | var stopwords = ["and","then","into","it","as","are","in","if","for","no","there","their","was","is","be","to","that","but","they","not","such","with","by","a","on","these","of","will","this","near","the","or","at"];
305 |
306 | // Stem the searchterms and add them to the correct list
307 | var stemmer = new Stemmer();
308 | var searchterms = [];
309 | var excluded = [];
310 | var hlterms = [];
311 | var tmp = query.split(/\s+/);
312 | var objectterms = [];
313 | for (var i = 0; i < tmp.length; i++) {
314 | if (tmp[i] != "") {
315 | objectterms.push(tmp[i].toLowerCase());
316 | }
317 |
318 | if ($u.indexOf(stopwords, tmp[i]) != -1 || tmp[i].match(/^\d+$/) ||
319 | tmp[i] == "") {
320 | // skip this "word"
321 | continue;
322 | }
323 | // stem the word
324 | var word = stemmer.stemWord(tmp[i]).toLowerCase();
325 | // select the correct list
326 | if (word[0] == '-') {
327 | var toAppend = excluded;
328 | word = word.substr(1);
329 | }
330 | else {
331 | var toAppend = searchterms;
332 | hlterms.push(tmp[i].toLowerCase());
333 | }
334 | // only add if not already in the list
335 | if (!$.contains(toAppend, word))
336 | toAppend.push(word);
337 | };
338 | var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" "));
339 |
340 | // console.debug('SEARCH: searching for:');
341 | // console.info('required: ', searchterms);
342 | // console.info('excluded: ', excluded);
343 |
344 | // prepare search
345 | var filenames = this._index.filenames;
346 | var titles = this._index.titles;
347 | var terms = this._index.terms;
348 | var fileMap = {};
349 | var files = null;
350 | // different result priorities
351 | var importantResults = [];
352 | var objectResults = [];
353 | var regularResults = [];
354 | var unimportantResults = [];
355 | $('#search-progress').empty();
356 |
357 | // lookup as object
358 | for (var i = 0; i < objectterms.length; i++) {
359 | var others = [].concat(objectterms.slice(0,i),
360 | objectterms.slice(i+1, objectterms.length))
361 | var results = this.performObjectSearch(objectterms[i], others);
362 | // Assume first word is most likely to be the object,
363 | // other words more likely to be in description.
364 | // Therefore put matches for earlier words first.
365 | // (Results are eventually used in reverse order).
366 | objectResults = results[0].concat(objectResults);
367 | importantResults = results[1].concat(importantResults);
368 | unimportantResults = results[2].concat(unimportantResults);
369 | }
370 |
371 | // perform the search on the required terms
372 | for (var i = 0; i < searchterms.length; i++) {
373 | var word = searchterms[i];
374 | // no match but word was a required one
375 | if ((files = terms[word]) == null)
376 | break;
377 | if (files.length == undefined) {
378 | files = [files];
379 | }
380 | // create the mapping
381 | for (var j = 0; j < files.length; j++) {
382 | var file = files[j];
383 | if (file in fileMap)
384 | fileMap[file].push(word);
385 | else
386 | fileMap[file] = [word];
387 | }
388 | }
389 |
390 | // now check if the files don't contain excluded terms
391 | for (var file in fileMap) {
392 | var valid = true;
393 |
394 | // check if all requirements are matched
395 | if (fileMap[file].length != searchterms.length)
396 | continue;
397 |
398 | // ensure that none of the excluded terms is in the
399 | // search result.
400 | for (var i = 0; i < excluded.length; i++) {
401 | if (terms[excluded[i]] == file ||
402 | $.contains(terms[excluded[i]] || [], file)) {
403 | valid = false;
404 | break;
405 | }
406 | }
407 |
408 | // if we have still a valid result we can add it
409 | // to the result list
410 | if (valid)
411 | regularResults.push([filenames[file], titles[file], '', null]);
412 | }
413 |
414 | // delete unused variables in order to not waste
415 | // memory until list is retrieved completely
416 | delete filenames, titles, terms;
417 |
418 | // now sort the regular results descending by title
419 | regularResults.sort(function(a, b) {
420 | var left = a[1].toLowerCase();
421 | var right = b[1].toLowerCase();
422 | return (left > right) ? -1 : ((left < right) ? 1 : 0);
423 | });
424 |
425 | // combine all results
426 | var results = unimportantResults.concat(regularResults)
427 | .concat(objectResults).concat(importantResults);
428 |
429 | // print the results
430 | var resultCount = results.length;
431 | function displayNextItem() {
432 | // results left, load the summary and display it
433 | if (results.length) {
434 | var item = results.pop();
435 | var listItem = $(' ');
436 | if (DOCUMENTATION_OPTIONS.FILE_SUFFIX == '') {
437 | // dirhtml builder
438 | var dirname = item[0] + '/';
439 | if (dirname.match(/\/index\/$/)) {
440 | dirname = dirname.substring(0, dirname.length-6);
441 | } else if (dirname == 'index/') {
442 | dirname = '';
443 | }
444 | listItem.append($(' ').attr('href',
445 | DOCUMENTATION_OPTIONS.URL_ROOT + dirname +
446 | highlightstring + item[2]).html(item[1]));
447 | } else {
448 | // normal html builders
449 | listItem.append($(' ').attr('href',
450 | item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX +
451 | highlightstring + item[2]).html(item[1]));
452 | }
453 | if (item[3]) {
454 | listItem.append($(' (' + item[3] + ') '));
455 | Search.output.append(listItem);
456 | listItem.slideDown(5, function() {
457 | displayNextItem();
458 | });
459 | } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
460 | $.get(DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' +
461 | item[0] + '.txt', function(data) {
462 | if (data != '') {
463 | listItem.append($.makeSearchSummary(data, searchterms, hlterms));
464 | Search.output.append(listItem);
465 | }
466 | listItem.slideDown(5, function() {
467 | displayNextItem();
468 | });
469 | }, "text");
470 | } else {
471 | // no source available, just display title
472 | Search.output.append(listItem);
473 | listItem.slideDown(5, function() {
474 | displayNextItem();
475 | });
476 | }
477 | }
478 | // search finished, update title and status message
479 | else {
480 | Search.stopPulse();
481 | Search.title.text(_('Search Results'));
482 | if (!resultCount)
483 | Search.status.text(_('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.'));
484 | else
485 | Search.status.text(_('Search finished, found %s page(s) matching the search query.').replace('%s', resultCount));
486 | Search.status.fadeIn(500);
487 | }
488 | }
489 | displayNextItem();
490 | },
491 |
492 | performObjectSearch : function(object, otherterms) {
493 | var filenames = this._index.filenames;
494 | var objects = this._index.objects;
495 | var objnames = this._index.objnames;
496 | var titles = this._index.titles;
497 |
498 | var importantResults = [];
499 | var objectResults = [];
500 | var unimportantResults = [];
501 |
502 | for (var prefix in objects) {
503 | for (var name in objects[prefix]) {
504 | var fullname = (prefix ? prefix + '.' : '') + name;
505 | if (fullname.toLowerCase().indexOf(object) > -1) {
506 | var match = objects[prefix][name];
507 | var objname = objnames[match[1]][2];
508 | var title = titles[match[0]];
509 | // If more than one term searched for, we require other words to be
510 | // found in the name/title/description
511 | if (otherterms.length > 0) {
512 | var haystack = (prefix + ' ' + name + ' ' +
513 | objname + ' ' + title).toLowerCase();
514 | var allfound = true;
515 | for (var i = 0; i < otherterms.length; i++) {
516 | if (haystack.indexOf(otherterms[i]) == -1) {
517 | allfound = false;
518 | break;
519 | }
520 | }
521 | if (!allfound) {
522 | continue;
523 | }
524 | }
525 | var descr = objname + _(', in ') + title;
526 | anchor = match[3];
527 | if (anchor == '')
528 | anchor = fullname;
529 | else if (anchor == '-')
530 | anchor = objnames[match[1]][1] + '-' + fullname;
531 | result = [filenames[match[0]], fullname, '#'+anchor, descr];
532 | switch (match[2]) {
533 | case 1: objectResults.push(result); break;
534 | case 0: importantResults.push(result); break;
535 | case 2: unimportantResults.push(result); break;
536 | }
537 | }
538 | }
539 | }
540 |
541 | // sort results descending
542 | objectResults.sort(function(a, b) {
543 | return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
544 | });
545 |
546 | importantResults.sort(function(a, b) {
547 | return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
548 | });
549 |
550 | unimportantResults.sort(function(a, b) {
551 | return (a[1] > b[1]) ? -1 : ((a[1] < b[1]) ? 1 : 0);
552 | });
553 |
554 | return [importantResults, objectResults, unimportantResults]
555 | }
556 | }
557 |
558 | $(document).ready(function() {
559 | Search.init();
560 | });
--------------------------------------------------------------------------------
/test/_build/html/_static/sidebar.js:
--------------------------------------------------------------------------------
1 | /*
2 | * sidebar.js
3 | * ~~~~~~~~~~
4 | *
5 | * This script makes the Sphinx sidebar collapsible.
6 | *
7 | * .sphinxsidebar contains .sphinxsidebarwrapper. This script adds
8 | * in .sphixsidebar, after .sphinxsidebarwrapper, the #sidebarbutton
9 | * used to collapse and expand the sidebar.
10 | *
11 | * When the sidebar is collapsed the .sphinxsidebarwrapper is hidden
12 | * and the width of the sidebar and the margin-left of the document
13 | * are decreased. When the sidebar is expanded the opposite happens.
14 | * This script saves a per-browser/per-session cookie used to
15 | * remember the position of the sidebar among the pages.
16 | * Once the browser is closed the cookie is deleted and the position
17 | * reset to the default (expanded).
18 | *
19 | * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
20 | * :license: BSD, see LICENSE for details.
21 | *
22 | */
23 |
24 | $(function() {
25 | // global elements used by the functions.
26 | // the 'sidebarbutton' element is defined as global after its
27 | // creation, in the add_sidebar_button function
28 | var bodywrapper = $('.bodywrapper');
29 | var sidebar = $('.sphinxsidebar');
30 | var sidebarwrapper = $('.sphinxsidebarwrapper');
31 |
32 | // for some reason, the document has no sidebar; do not run into errors
33 | if (!sidebar.length) return;
34 |
35 | // original margin-left of the bodywrapper and width of the sidebar
36 | // with the sidebar expanded
37 | var bw_margin_expanded = bodywrapper.css('margin-left');
38 | var ssb_width_expanded = sidebar.width();
39 |
40 | // margin-left of the bodywrapper and width of the sidebar
41 | // with the sidebar collapsed
42 | var bw_margin_collapsed = '.8em';
43 | var ssb_width_collapsed = '.8em';
44 |
45 | // colors used by the current theme
46 | var dark_color = $('.related').css('background-color');
47 | var light_color = $('.document').css('background-color');
48 |
49 | function sidebar_is_collapsed() {
50 | return sidebarwrapper.is(':not(:visible)');
51 | }
52 |
53 | function toggle_sidebar() {
54 | if (sidebar_is_collapsed())
55 | expand_sidebar();
56 | else
57 | collapse_sidebar();
58 | }
59 |
60 | function collapse_sidebar() {
61 | sidebarwrapper.hide();
62 | sidebar.css('width', ssb_width_collapsed);
63 | bodywrapper.css('margin-left', bw_margin_collapsed);
64 | sidebarbutton.css({
65 | 'margin-left': '0',
66 | 'height': bodywrapper.height()
67 | });
68 | sidebarbutton.find('span').text('»');
69 | sidebarbutton.attr('title', _('Expand sidebar'));
70 | document.cookie = 'sidebar=collapsed';
71 | }
72 |
73 | function expand_sidebar() {
74 | bodywrapper.css('margin-left', bw_margin_expanded);
75 | sidebar.css('width', ssb_width_expanded);
76 | sidebarwrapper.show();
77 | sidebarbutton.css({
78 | 'margin-left': ssb_width_expanded-12,
79 | 'height': bodywrapper.height()
80 | });
81 | sidebarbutton.find('span').text('«');
82 | sidebarbutton.attr('title', _('Collapse sidebar'));
83 | document.cookie = 'sidebar=expanded';
84 | }
85 |
86 | function add_sidebar_button() {
87 | sidebarwrapper.css({
88 | 'float': 'left',
89 | 'margin-right': '0',
90 | 'width': ssb_width_expanded - 28
91 | });
92 | // create the button
93 | sidebar.append(
94 | ''
95 | );
96 | var sidebarbutton = $('#sidebarbutton');
97 | light_color = sidebarbutton.css('background-color');
98 | // find the height of the viewport to center the '<<' in the page
99 | var viewport_height;
100 | if (window.innerHeight)
101 | viewport_height = window.innerHeight;
102 | else
103 | viewport_height = $(window).height();
104 | sidebarbutton.find('span').css({
105 | 'display': 'block',
106 | 'margin-top': (viewport_height - sidebar.position().top - 20) / 2
107 | });
108 |
109 | sidebarbutton.click(toggle_sidebar);
110 | sidebarbutton.attr('title', _('Collapse sidebar'));
111 | sidebarbutton.css({
112 | 'color': '#FFFFFF',
113 | 'border-left': '1px solid ' + dark_color,
114 | 'font-size': '1.2em',
115 | 'cursor': 'pointer',
116 | 'height': bodywrapper.height(),
117 | 'padding-top': '1px',
118 | 'margin-left': ssb_width_expanded - 12
119 | });
120 |
121 | sidebarbutton.hover(
122 | function () {
123 | $(this).css('background-color', dark_color);
124 | },
125 | function () {
126 | $(this).css('background-color', light_color);
127 | }
128 | );
129 | }
130 |
131 | function set_position_from_cookie() {
132 | if (!document.cookie)
133 | return;
134 | var items = document.cookie.split(';');
135 | for(var k=0; k=e.computed&&(e={value:f,computed:g})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);var e={computed:Infinity};b.each(a,function(f,g,h){g=c?c.call(d,f,g,h):f;gf?1:0}),"value")};b.sortedIndex=function(a,c,d){d=d||b.identity;for(var e=0,f=a.length;e>1;d(a[g])=0})})};b.zip=function(){for(var a=b.toArray(arguments),c=b.max(b.pluck(a,"length")),d=new Array(c),e=0;e0?f-c:c-f)>=0)return e;e[g++]=f}};b.bind=function(a,c){var d=b.rest(arguments,2);return function(){return a.apply(c||j,d.concat(b.toArray(arguments)))}};b.bindAll=function(a){var c=b.rest(arguments);if(c.length==0)c=b.functions(a);b.each(c,function(d){a[d]=b.bind(a[d],a)});
17 | return a};b.delay=function(a,c){var d=b.rest(arguments,2);return setTimeout(function(){return a.apply(a,d)},c)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(b.rest(arguments)))};b.wrap=function(a,c){return function(){var d=[a].concat(b.toArray(arguments));return c.apply(c,d)}};b.compose=function(){var a=b.toArray(arguments);return function(){for(var c=b.toArray(arguments),d=a.length-1;d>=0;d--)c=[a[d].apply(this,c)];return c[0]}};b.keys=function(a){if(b.isArray(a))return b.range(0,a.length);
18 | var c=[];for(var d in a)q.call(a,d)&&c.push(d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=function(a){return b.select(b.keys(a),function(c){return b.isFunction(a[c])}).sort()};b.extend=function(a,c){for(var d in c)a[d]=c[d];return a};b.clone=function(a){if(b.isArray(a))return a.slice(0);return b.extend({},a)};b.tap=function(a,c){c(a);return a};b.isEqual=function(a,c){if(a===c)return true;var d=typeof a;if(d!=typeof c)return false;if(a==c)return true;if(!a&&c||a&&!c)return false;
19 | if(a.isEqual)return a.isEqual(c);if(b.isDate(a)&&b.isDate(c))return a.getTime()===c.getTime();if(b.isNaN(a)&&b.isNaN(c))return true;if(b.isRegExp(a)&&b.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.ignoreCase===c.ignoreCase&&a.multiline===c.multiline;if(d!=="object")return false;if(a.length&&a.length!==c.length)return false;d=b.keys(a);var e=b.keys(c);if(d.length!=e.length)return false;for(var f in a)if(!b.isEqual(a[f],c[f]))return false;return true};b.isEmpty=function(a){return b.keys(a).length==
20 | 0};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=function(a){return!!(a&&a.concat&&a.unshift)};b.isArguments=function(a){return a&&b.isNumber(a.length)&&!b.isArray(a)&&!r.call(a,"length")};b.isFunction=function(a){return!!(a&&a.constructor&&a.call&&a.apply)};b.isString=function(a){return!!(a===""||a&&a.charCodeAt&&a.substr)};b.isNumber=function(a){return p.call(a)==="[object Number]"};b.isDate=function(a){return!!(a&&a.getTimezoneOffset&&a.setUTCFullYear)};b.isRegExp=function(a){return!!(a&&
21 | a.test&&a.exec&&(a.ignoreCase||a.ignoreCase===false))};b.isNaN=function(a){return b.isNumber(a)&&isNaN(a)};b.isNull=function(a){return a===null};b.isUndefined=function(a){return typeof a=="undefined"};b.noConflict=function(){j._=n;return this};b.identity=function(a){return a};b.breakLoop=function(){throw m;};var s=0;b.uniqueId=function(a){var c=s++;return a?a+c:c};b.template=function(a,c){a=new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+a.replace(/[\r\t\n]/g,
22 | " ").replace(/'(?=[^%]*%>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g,"',$1,'").split("<%").join("');").split("%>").join("p.push('")+"');}return p.join('');");return c?a(c):a};b.forEach=b.each;b.foldl=b.inject=b.reduce;b.foldr=b.reduceRight;b.filter=b.select;b.every=b.all;b.some=b.any;b.head=b.first;b.tail=b.rest;b.methods=b.functions;var l=function(a,c){return c?b(a).chain():a};b.each(b.functions(b),function(a){var c=b[a];i.prototype[a]=function(){var d=b.toArray(arguments);
23 | o.call(d,this._wrapped);return l(c.apply(b,d),this._chain)}});b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){c.apply(this._wrapped,arguments);return l(this._wrapped,this._chain)}});b.each(["concat","join","slice"],function(a){var c=Array.prototype[a];i.prototype[a]=function(){return l(c.apply(this._wrapped,arguments),this._chain)}});i.prototype.chain=function(){this._chain=true;return this};i.prototype.value=function(){return this._wrapped}})();
24 |
--------------------------------------------------------------------------------
/test/_build/html/_static/up-pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/up-pressed.png
--------------------------------------------------------------------------------
/test/_build/html/_static/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/_static/up.png
--------------------------------------------------------------------------------
/test/_build/html/genindex.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | Index — ADC Theme Test 1.0 documentation
13 |
14 |
15 |
16 |
17 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
ADC Theme Test 1.0 documentation
35 |
36 |
45 |
46 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
Index
87 |
88 |
89 |
A
90 | |
C
91 | |
E
92 | |
F
93 | |
M
94 | |
N
95 | |
P
96 | |
R
97 | |
S
98 |
99 |
100 |
A
101 |
109 |
110 |
C
111 |
125 |
126 |
E
127 |
141 |
142 |
F
143 |
157 |
158 |
M
159 |
177 |
178 |
N
179 |
187 |
188 |
P
189 |
190 |
191 |
192 | parent (ModelName attribute)
193 |
194 |
195 |
196 |
197 |
198 |
199 | Python Enhancement Proposals
200 |
201 |
202 |
203 |
204 | PEP 287
205 |
206 |
207 |
208 |
209 |
210 |
211 |
R
212 |
233 |
234 |
S
235 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
269 |
270 |
271 |
272 | Index
273 |
274 |
275 |
276 |
277 |
--------------------------------------------------------------------------------
/test/_build/html/index.html:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Welcome to ADC Theme Test’s documentation! — ADC Theme Test 1.0 documentation
11 |
12 |
13 |
14 |
15 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
ADC Theme Test 1.0 documentation
34 |
35 |
45 |
46 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
Welcome to ADC Theme Test’s documentation!
89 |
Contents:
90 |
130 |
131 |
132 |
Indices and tables
133 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
150 |
151 |
152 |
153 | Welcome to ADC Theme Test’s documentation!
154 |
155 |
156 |
157 |
158 |
--------------------------------------------------------------------------------
/test/_build/html/models.html:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Model Reference — ADC Theme Test 1.0 documentation
11 |
12 |
13 |
14 |
15 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
ADC Theme Test 1.0 documentation
35 |
36 |
47 |
48 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
Model Reference
98 |
99 |
Data
100 |
101 |
102 | MAJOR_VERSION
103 | The major version.
104 |
105 |
106 |
107 |
108 |
Exception
109 |
110 |
111 | exception ExceptionName
112 | A major exception
113 |
114 |
115 |
116 |
117 |
Function
118 |
119 |
120 | format_exception ( etype , value , tb [ , limit=None ] )
121 | Format the exception with a traceback.
122 |
123 |
124 |
125 |
126 | Parameters:
127 | etype – exception type
128 | value – exception value
129 | tb – traceback object
130 | limit (integer or None ) – maximum number of stack frames to show
131 |
132 |
133 |
134 | Return type: list of strings
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
Decorator
144 |
145 |
146 | @ removename
147 | Remove name of the decorated function.
148 |
149 |
150 |
151 |
152 | @ setnewname ( name )
153 | Set name of the decorated function to name .
154 |
155 |
156 |
157 |
158 |
ModelName
159 |
160 |
161 | class ModelName
162 |
163 |
164 | parent
165 | TreeForeignKey (self)
166 | The category’s parent category. Leave this blank for an root category.
167 |
168 |
169 |
170 |
171 | name
172 | Required CharField(100)
173 | The name of the category.
174 |
175 |
176 |
177 |
178 | slug
179 | Required SlugField
180 | URL-friendly title. It is automatically generated from the title.
181 |
182 |
183 |
184 |
185 | active
186 | Required BooleanField default: True
187 | Is this item active. If it is inactive, all children are set to inactive as well.
188 |
189 |
190 |
191 |
192 | format_exception ( etype , value , tb [ , limit=None ] )
193 | Format the exception with a traceback.
194 |
195 |
196 |
197 |
198 | Parameters:
199 | etype – exception type
200 | value – exception value
201 | tb – traceback object
202 | limit (integer or None ) – maximum number of stack frames to show
203 |
204 |
205 |
206 | Return type: list of strings
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 | static static_format_exception ( etype , value , tb [ , limit=None ] )
216 | Format the exception with a traceback.
217 |
218 |
219 |
220 |
221 | Parameters:
222 | etype – exception type
223 | value – exception value
224 | tb – traceback object
225 | limit (integer or None ) – maximum number of stack frames to show
226 |
227 |
228 |
229 | Return type: list of strings
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 | classmethod class_format_exception ( etype , value , tb [ , limit=None ] )
239 | Format the exception with a traceback.
240 |
241 |
242 |
243 |
244 | Parameters:
245 | etype – exception type
246 | value – exception value
247 | tb – traceback object
248 | limit (integer or None ) – maximum number of stack frames to show
249 |
250 |
251 |
252 | Return type: list of strings
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
274 |
275 |
276 |
277 | Model Reference
278 |
279 |
280 |
281 |
282 |
--------------------------------------------------------------------------------
/test/_build/html/objects.inv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coordt/ADCtheme/df97c1dbe1b8d032c1d07ea574c945de08e1f43b/test/_build/html/objects.inv
--------------------------------------------------------------------------------
/test/_build/html/search.html:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Search — ADC Theme Test 1.0 documentation
11 |
12 |
13 |
14 |
15 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
ADC Theme Test 1.0 documentation
39 |
40 |
49 |
50 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
Search
70 |
71 |
72 |
73 | Please activate JavaScript to enable the search
74 | functionality.
75 |
76 |
77 |
78 | From here you can search these documents. Enter your search
79 | words into the box below and click "search". Note that the search
80 | function will automatically search for all of the words. Pages
81 | containing fewer words won't appear in the result list.
82 |
83 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
102 |
103 |
104 |
105 | Search
106 |
107 |
108 |
109 |
110 |
--------------------------------------------------------------------------------
/test/_build/html/searchindex.js:
--------------------------------------------------------------------------------
1 | Search.setIndex({objects:{"":{ModelName:[2,1,1,""],setnewname:[2,2,1,""],format_exception:[2,2,1,""],MAJOR_VERSION:[2,4,1,""],credits:[0,1,1,""],ExceptionName:[2,6,1,""],myclass:[0,1,1,""],removename:[2,2,1,""]},ModelName:{static_format_exception:[2,3,1,""],name:[2,0,1,""],parent:[2,0,1,""],format_exception:[2,7,1,""],class_format_exception:[2,5,1,""],active:[2,0,1,""],slug:[2,0,1,""]}},terms:{all:[0,2,3],code:[0,1,3],edg:0,definit:0,four:0,signific:0,pervert:0,sectionauthor:[1,3],follow:0,children:2,row:0,compact:0,content:[0,1,3],middl:0,depend:0,auf:0,friendli:2,send:3,lower:0,program:3,under:[0,3],larg:0,liter:0,string:2,far:0,caught:0,fall:0,veri:0,textsc:0,strang:0,seealso:[1,3],level:[0,3],wooden:0,die:0,gui:3,list:[0,2,3],prefix:0,"try":[0,3],item:[0,2,3],adjust:0,red:0,small:0,align:0,pleas:0,upper:0,cap:0,direct:0,sourceforg:0,past:0,fold:0,second:0,street:0,injuri:0,treeforeignkei:2,even:0,index:[1,3],what:0,appear:0,preserv:0,sun:0,section:[0,3],orchestra:0,cell:0,abbrevi:0,version:[0,2],ampersand:3,"new":[0,3],net:0,"public":0,thin:0,christian:0,abov:0,gener:[0,2,3],etyp:2,here:0,bodi:0,let:0,address:0,sing:0,vertic:0,modifi:0,implicit:0,valu:[0,2],wait:0,box:0,schacht:0,search:1,convers:0,credit:0,doctest:0,permit:0,extrem:0,typic:0,commonli:0,believ:0,configur:0,regardless:0,danger:0,transit:0,deprec:[1,3],unix:3,visibl:0,marker:0,instal:0,txt:0,select:3,from:[0,2],would:0,menuselect:[1,3],doubl:0,two:0,frog:0,next:0,spaces_and_linebreak:0,live:0,call:0,recommend:0,type:[0,2,3],more:0,"utilis\u00e3":0,desir:0,enhanc:0,warn:[0,1,3],stick:0,known:0,indent:0,iii:0,must:0,high:0,none:[0,2],word:0,room:0,work:0,uniqu:0,morgenstern:0,paragraph:0,can:[0,3],root:[2,3],def:3,problemat:0,control:[0,3],heart:0,tar:3,process:0,setnewnam:2,indic:[0,1],topic:0,sourc:[0,3],caution:0,phrase:0,occur:0,rowspan:0,end:0,thing:0,anoth:0,classifi:0,revisit:0,snippet:0,how:0,anyon:0,fourth:0,subdirectori:3,instead:3,config:0,css:0,map:0,referenc:3,after:[0,3],variant:0,befor:0,mad:0,attent:0,mai:0,multipl:0,data:[0,1,2],parallel:0,"short":[0,3],third:0,footer:0,classmethod:2,divid:0,explicit:0,correspond:0,mondlicht:0,caus:[0,3],inform:[0,3],"switch":0,preced:0,green:0,incorpor:0,dream:0,order:0,superscript:0,least:0,help:0,over:0,becaus:0,kbd:[1,3],scientist:0,nbsp:0,static_format_except:2,still:0,entiti:0,style:0,group:0,directli:0,goodger:0,clickabl:0,window:0,complex:0,mail:3,main:0,might:0,pixel:0,wouldn:0,them:0,good:0,"return":2,thei:0,python:0,sentenc:0,dan:0,mailhead:[1,3],initi:0,trichter:0,"break":0,compound:0,now:[0,3],bigger:0,bread:0,term:[0,3],name:[0,2,3],anyth:0,didn:0,productionlist:[1,3],separ:0,brontosaurus:0,each:0,found:0,crunchi:0,bone:0,pygment:0,domain:0,mental:0,citat:0,replac:0,arg2:0,idea:0,ensur:0,realli:0,wrap:0,redistribut:0,"static":2,begun:0,heiter:0,special:0,out:0,canada:0,wandeln:0,space:0,goe:0,class_format_except:2,categori:2,suitabl:3,rel:0,reader:0,print:[0,3],got:0,ref:0,math:0,insid:0,standard:[0,3],standalon:0,base:0,theori:0,org:0,try1_stmt:3,albatross:0,markup_process:0,traceback:2,british:0,david:0,turn:0,length:0,place:0,isn:0,outsid:0,charfield:2,think:0,first:0,softwar:0,rang:0,render:0,header_foot:0,ihr:0,untitl:0,number:[0,2],wash:0,construct:[0,1],blank:[0,2],miss:0,size:0,differ:0,ancient:0,sheet:0,width:0,lap:0,interact:0,system:0,messag:0,stack:2,dfn:[1,3],too:0,statement:0,toc:0,white:0,zipfil:3,"final":3,option:0,copi:0,took:0,specifi:0,part:0,pars:[0,3],rst:0,myclass:0,exactli:0,than:0,xform:0,wide:0,target:[0,3],remov:2,structur:[0,3],charact:0,project:3,info:0,posit:0,sectsubtitl:0,markup:[0,3],browser:0,comput:0,exert:0,plaintext:0,ann:0,argument:0,raw:0,rent:0,have:0,tabl:[0,1],need:[0,3],seen:0,dedic:0,element:0,border:0,collat:0,sell:0,textcolor:0,date:0,destroi:0,self:[0,2],"wei\u00e3\u00ff":0,stapl:0,note:[0,1,3],also:[0,3],exampl:[0,1,3],take:0,which:[0,3],environ:3,begin:0,radioact:3,allow:0,object:[0,2],abb:0,most:0,pair:0,alpha:0,ipso:0,latex:0,don:0,url:2,doc:0,flow:0,uri:0,doe:0,bracket:0,clean:0,show:[0,2],german:0,text:[0,3],verbos:0,syntax:[0,1],session:0,rubric:[0,1,3],underlin:3,font:0,thicker:0,fifth:0,onli:[0,3],inlin:0,layout:0,copyright:0,writer:0,activ:[0,2],figur:0,should:[0,3],theme:1,footnot:0,local:0,try2_stmt:3,ger:0,get:0,express:3,format_except:2,cannot:0,abbr:[1,3],progress:0,balisag:0,subscript:0,requir:2,bar:0,organ:0,specif:[0,1,3],rfc:0,stuff:[1,3],integr:0,contain:[0,3],where:[0,3],view:0,set:[0,2],guilabel:[1,3],frame:2,maximum:2,see:[0,3],result:0,bee:0,best:0,statu:0,said:0,kei:3,record:0,mine:0,databas:0,someth:0,enumer:0,cit2002:0,behind:0,humankind:0,between:0,"import":0,awai:0,paramet:[2,3],attribut:0,manpag:[1,3],web:0,numer:0,extens:[0,3],entir:0,major_vers:2,problem:0,both:0,admonit:0,subtitl:0,hyperlink:0,rippl:0,roman:0,instanc:3,und:0,improv:0,comment:0,acceler:3,point:0,color:0,colspan:0,hyphen:0,slugfield:2,header:0,colon:0,provok:0,suppli:0,duplic:0,poem:0,nacht:0,why:0,three:0,been:0,legend:0,structuredtext:0,much:0,besid:0,interpret:0,interest:3,basic:3,unambigu:0,"abstract":0,nonexist:0,nickel:0,indirect:0,lifo:3,imag:0,convert:0,ani:0,els:[0,3],sender:3,ugli:0,myself:0,ident:0,look:0,gnu:3,servic:0,modelnam:[2,1],defin:3,behavior:0,error:0,glossari:[1,3],anonym:0,ein:0,subsect:0,centr:0,miniatur:0,henc:0,site:0,archiv:3,prose:0,revis:0,sever:0,around:0,parent:2,decor:[2,1],horizont:3,develop:0,welcom:1,author:0,media:0,make:0,format:[0,2,3],cross:[0,3],same:3,eric:0,handl:0,html:0,auto:0,document:[0,1,3],durch:0,http:0,nest:0,upon:0,bibliograph:0,user:0,mani:0,extern:0,caption:0,yesterdai:0,exceedingli:0,off:0,center:[0,1,3],ihren:0,entri:3,thu:0,well:[0,2],pickl:3,without:0,command:[0,1,3],thi:[0,2,3],interpol:0,model:[2,1],left:0,facto:0,just:0,when:0,half:0,removenam:2,rest:0,kill:3,sidebar:0,languag:0,elk:0,cut:0,exceptionnam:2,hint:0,restructuredtext:[0,1],except:[2,1,3],discret:0,adc:1,exercis:0,input:0,save:3,modul:[0,1,3],advis:0,mayb:0,read:3,arab:0,five:0,background:0,world:0,licens:3,colour:0,like:0,success:3,whitespac:0,docutil:0,manual:[0,3],integ:[0,2],either:0,some_funct:3,output:[0,3],manag:0,www:0,right:0,often:0,some:0,back:[0,3],intern:0,sampl:0,inact:2,mother:0,freez:0,est:0,zwei:0,leak:3,pep:0,"2c3":0,leas:0,substitut:0,leav:2,contact:0,leader:0,refer:[0,1,2,3],run:3,acronym:0,usag:0,agreement:3,hlist:[1,3],although:0,rumpf:0,durolegreen:0,major:2,slug:2,stage:3,about:[0,3],actual:0,column:0,label:[0,3],surround:0,page:[0,1,3],fals:[0,3],other:0,block:[0,1,3],own:0,emphasi:0,"float":0,tag:0,automat:[0,2],due:0,pagebreak:0,empti:0,strip:[0,3],doctitl:0,chang:3,mark:3,your:0,occupi:0,span:0,wai:0,spam:3,support:0,lone:0,transform:0,"long":0,custom:0,start:[0,3],includ:[0,3],strong:0,arg1:0,treat:0,"function":[2,1,3],head:0,great:0,continu:0,bui:0,link:0,line:[0,3],ear:0,"true":[0,2],count:0,consist:0,possibl:0,"default":[0,2],wish:0,displai:3,sinc:0,below:0,limit:2,literal_block:0,notam:0,highlight:[0,3],embed:0,booleanfield:2,featur:0,mutil:0,unreferenc:0,dure:0,parser:0,doesn:0,strongli:0,ancel:3,exist:0,file:[0,3],a1b:0,necessarili:0,quantiti:0,waldweg:0,"flie\u00e3\u00fft":0,durolesc:0,again:0,excerpt:0,quot:0,reattribut:0,titl:[0,2,3],puppi:3,tip:0,field:0,valid:0,role:0,gannet:0,versionchang:[1,3],test:[0,1],you:0,belong:0,nice:0,intend:0,langag:0,sequenc:[0,3],symbol:0,"class":[0,2],meaning:0,intent:0,versionad:[1,3],newcommand:0,myrawroleclass:0,philosoph:0,verengten:0,sphinx:[1,3],bullet:0,directori:3,suit:3,drei:0,descript:0,hello:0},objtypes:{"0":"py:attribute","1":"py:class","2":"py:function","3":"py:staticmethod","4":"py:data","5":"py:classmethod","6":"py:exception","7":"py:method"},titles:["1 reStructuredText Test Document","Welcome to ADC Theme Test’s documentation!","Model Reference","Sphinx specific stuff"],objnames:{"0":["py","attribute","Python attribute"],"1":["py","class","Python class"],"2":["py","function","Python function"],"3":["py","staticmethod","Python static method"],"4":["py","data","Python data"],"5":["py","classmethod","Python class method"],"6":["py","exception","Python exception"],"7":["py","method","Python method"]},filenames:["sample","index","models","sphinx"]})
--------------------------------------------------------------------------------
/test/_build/html/sphinx.html:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Sphinx specific stuff — ADC Theme Test 1.0 documentation
11 |
12 |
13 |
14 |
15 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
ADC Theme Test 1.0 documentation
34 |
35 |
45 |
46 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
Sphinx specific stuff
112 |
113 |
note
114 |
115 |
Note
116 |
This function is not suitable for sending spam e-mails.
117 |
118 |
119 |
120 |
warning
121 |
122 |
Warning
123 |
This function causes radioactive leaks and kills puppies.
124 |
125 |
126 |
127 |
versionadded
128 |
129 | New in version 2.5: The spam parameter.
130 |
131 |
132 |
versionchanged
133 |
134 | Changed in version 2.6: Now sends all spam back to sender.
135 |
136 |
137 |
deprecated
138 |
139 | Deprecated since version 3.1: Use spam() instead.
140 |
141 |
142 |
seealso
143 |
144 |
See also
145 |
146 | Module zipfile
147 | Documentation of the zipfile standard module.
148 | GNU tar manual, Basic Tar Format
149 | Documentation for tar archive files, including GNU tar extensions.
150 |
151 |
152 |
153 |
154 |
rubric
155 |
Rubric title
156 |
157 |
158 |
centered
159 |
160 | LICENSE AGREEMENT
161 |
162 |
hlist
163 |
164 | A list of
165 | short items
166 |
167 |
168 | that should be
169 | displayed
170 |
171 |
174 |
175 |
176 |
177 |
glossary
178 |
179 | environment
180 | A structure where information about all documents under the root is
181 | saved, and used for cross-referencing. The environment is pickled
182 | after the parsing stage, so that successive runs only need to read
183 | and parse new and changed documents.
184 | source directory
185 | The directory which, including its subdirectories, contains all
186 | source files for one Sphinx project.
187 |
188 |
189 |
190 |
productionlist
191 |
192 | try_stmt ::= try1_stmt | try2_stmt
193 | try1_stmt ::= "try" ":" suite
194 | ("except" [expression ["," target ]] ":" suite )+
195 | ["else" ":" suite ]
196 | ["finally" ":" suite ]
197 | try2_stmt ::= "try" ":" suite
198 | "finally" ":" suite
199 |
200 |
201 |
202 |
code-block
203 |
def some_function ():
204 | interesting = False
205 | print 'This line is highlighted.'
206 | print 'This one is not...'
207 | print '...but this one is.'
208 |
209 |
210 |
211 |
212 |
abbr
213 |
Example: LIFO .
214 |
215 |
216 |
command
217 |
The name of an OS-level command, such as rm or rm -Rf /
218 |
219 |
220 |
dfn
221 |
Mark the defining instance of a term in the text. (No index entries are generated.)
222 |
223 |
224 |
guilabel
225 |
An accelerator key for the GUI label can be included using an ampersand; this will be stripped and displayed underlined in the output (example: C ancel )
226 |
227 |
228 |
kbd
229 |
the same sequence should be marked as Control-x Control-f
230 |
231 |
235 |
236 |
manpage
237 |
A reference to a Unix manual page including the section, e.g. ls(1) .
238 |
239 |
243 |
244 |
sectionauthor
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
258 |
259 |
260 |
261 | Sphinx specific stuff
262 |
263 |
264 |
265 |
266 |
--------------------------------------------------------------------------------
/test/conf.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | #
3 | # ADC Theme Test documentation build configuration file, created by
4 | # sphinx-quickstart on Mon Dec 24 09:23:39 2012.
5 | #
6 | # This file is execfile()d with the current directory set to its containing dir.
7 | #
8 | # Note that not all possible configuration values are present in this
9 | # autogenerated file.
10 | #
11 | # All configuration values have a default; values that are commented out
12 | # serve to show the default.
13 |
14 | import sys, os
15 |
16 | # If extensions (or modules to document with autodoc) are in another directory,
17 | # add these directories to sys.path here. If the directory is relative to the
18 | # documentation root, use os.path.abspath to make it absolute, like shown here.
19 | #sys.path.insert(0, os.path.abspath('.'))
20 |
21 | # -- General configuration -----------------------------------------------------
22 |
23 | # If your documentation needs a minimal Sphinx version, state it here.
24 | #needs_sphinx = '1.0'
25 |
26 | # Add any Sphinx extension module names here, as strings. They can be extensions
27 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28 | extensions = []
29 |
30 | # Add any paths that contain templates here, relative to this directory.
31 | templates_path = ['..']
32 |
33 | # The suffix of source filenames.
34 | source_suffix = '.rst'
35 |
36 | # The encoding of source files.
37 | #source_encoding = 'utf-8-sig'
38 |
39 | # The master toctree document.
40 | master_doc = 'index'
41 |
42 | # General information about the project.
43 | project = u'ADC Theme Test'
44 | copyright = u'2012, Corey Oordt'
45 |
46 | # The version info for the project you're documenting, acts as replacement for
47 | # |version| and |release|, also used in various other places throughout the
48 | # built documents.
49 | #
50 | # The short X.Y version.
51 | version = '1.0'
52 | # The full version, including alpha/beta/rc tags.
53 | release = '1.0'
54 |
55 | # The language for content autogenerated by Sphinx. Refer to documentation
56 | # for a list of supported languages.
57 | #language = None
58 |
59 | # There are two options for replacing |today|: either, you set today to some
60 | # non-false value, then it is used:
61 | #today = ''
62 | # Else, today_fmt is used as the format for a strftime call.
63 | #today_fmt = '%B %d, %Y'
64 |
65 | # List of patterns, relative to source directory, that match files and
66 | # directories to ignore when looking for source files.
67 | exclude_patterns = ['_build']
68 |
69 | # The reST default role (used for this markup: `text`) to use for all documents.
70 | #default_role = None
71 |
72 | # If true, '()' will be appended to :func: etc. cross-reference text.
73 | #add_function_parentheses = True
74 |
75 | # If true, the current module name will be prepended to all description
76 | # unit titles (such as .. function::).
77 | #add_module_names = True
78 |
79 | # If true, sectionauthor and moduleauthor directives will be shown in the
80 | # output. They are ignored by default.
81 | #show_authors = False
82 |
83 | # The name of the Pygments (syntax highlighting) style to use.
84 | pygments_style = 'sphinx'
85 |
86 | # A list of ignored prefixes for module index sorting.
87 | #modindex_common_prefix = []
88 |
89 |
90 | # -- Options for HTML output ---------------------------------------------------
91 |
92 | # The theme to use for HTML and HTML Help pages. See the documentation for
93 | # a list of builtin themes.
94 | html_theme = 'default'
95 | html_style = 'adctheme.css'
96 |
97 | # Theme options are theme-specific and customize the look and feel of a theme
98 | # further. For a list of options available for each theme, see the
99 | # documentation.
100 | #html_theme_options = {}
101 |
102 | # Add any paths that contain custom themes here, relative to this directory.
103 | #html_theme_path = []
104 |
105 | # The name for this set of Sphinx documents. If None, it defaults to
106 | # " v documentation".
107 | #html_title = None
108 |
109 | # A shorter title for the navigation bar. Default is the same as html_title.
110 | #html_short_title = None
111 |
112 | # The name of an image file (relative to this directory) to place at the top
113 | # of the sidebar.
114 | #html_logo = None
115 |
116 | # The name of an image file (within the static path) to use as favicon of the
117 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
118 | # pixels large.
119 | #html_favicon = None
120 |
121 | # Add any paths that contain custom static files (such as style sheets) here,
122 | # relative to this directory. They are copied after the builtin static files,
123 | # so a file named "default.css" will overwrite the builtin "default.css".
124 | html_static_path = ['../static']
125 |
126 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
127 | # using the given strftime format.
128 | #html_last_updated_fmt = '%b %d, %Y'
129 |
130 | # If true, SmartyPants will be used to convert quotes and dashes to
131 | # typographically correct entities.
132 | #html_use_smartypants = True
133 |
134 | # Custom sidebar templates, maps document names to template names.
135 | #html_sidebars = {}
136 |
137 | # Additional templates that should be rendered to pages, maps page names to
138 | # template names.
139 | #html_additional_pages = {}
140 |
141 | # If false, no module index is generated.
142 | #html_domain_indices = True
143 |
144 | # If false, no index is generated.
145 | #html_use_index = True
146 |
147 | # If true, the index is split into individual pages for each letter.
148 | #html_split_index = False
149 |
150 | # If true, links to the reST sources are added to the pages.
151 | #html_show_sourcelink = True
152 |
153 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
154 | #html_show_sphinx = True
155 |
156 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
157 | #html_show_copyright = True
158 |
159 | # If true, an OpenSearch description file will be output, and all pages will
160 | # contain a tag referring to it. The value of this option must be the
161 | # base URL from which the finished HTML is served.
162 | #html_use_opensearch = ''
163 |
164 | # This is the file name suffix for HTML files (e.g. ".xhtml").
165 | #html_file_suffix = None
166 |
167 | # Output file base name for HTML help builder.
168 | htmlhelp_basename = 'ADCThemeTestdoc'
169 |
170 |
171 | # -- Options for LaTeX output --------------------------------------------------
172 |
173 | latex_elements = {
174 | # The paper size ('letterpaper' or 'a4paper').
175 | #'papersize': 'letterpaper',
176 |
177 | # The font size ('10pt', '11pt' or '12pt').
178 | #'pointsize': '10pt',
179 |
180 | # Additional stuff for the LaTeX preamble.
181 | #'preamble': '',
182 | }
183 |
184 | # Grouping the document tree into LaTeX files. List of tuples
185 | # (source start file, target name, title, author, documentclass [howto/manual]).
186 | latex_documents = [
187 | ('index', 'ADCThemeTest.tex', u'ADC Theme Test Documentation',
188 | u'Corey Oordt', 'manual'),
189 | ]
190 |
191 | # The name of an image file (relative to this directory) to place at the top of
192 | # the title page.
193 | #latex_logo = None
194 |
195 | # For "manual" documents, if this is true, then toplevel headings are parts,
196 | # not chapters.
197 | #latex_use_parts = False
198 |
199 | # If true, show page references after internal links.
200 | #latex_show_pagerefs = False
201 |
202 | # If true, show URL addresses after external links.
203 | #latex_show_urls = False
204 |
205 | # Documents to append as an appendix to all manuals.
206 | #latex_appendices = []
207 |
208 | # If false, no module index is generated.
209 | #latex_domain_indices = True
210 |
211 |
212 | # -- Options for manual page output --------------------------------------------
213 |
214 | # One entry per manual page. List of tuples
215 | # (source start file, name, description, authors, manual section).
216 | man_pages = [
217 | ('index', 'adcthemetest', u'ADC Theme Test Documentation',
218 | [u'Corey Oordt'], 1)
219 | ]
220 |
221 | # If true, show URL addresses after external links.
222 | #man_show_urls = False
223 |
224 |
225 | # -- Options for Texinfo output ------------------------------------------------
226 |
227 | # Grouping the document tree into Texinfo files. List of tuples
228 | # (source start file, target name, title, author,
229 | # dir menu entry, description, category)
230 | texinfo_documents = [
231 | ('index', 'ADCThemeTest', u'ADC Theme Test Documentation',
232 | u'Corey Oordt', 'ADCThemeTest', 'One line description of project.',
233 | 'Miscellaneous'),
234 | ]
235 |
236 | # Documents to append as an appendix to all manuals.
237 | #texinfo_appendices = []
238 |
239 | # If false, no module index is generated.
240 | #texinfo_domain_indices = True
241 |
242 | # How to display URL addresses: 'footnote', 'no', or 'inline'.
243 | #texinfo_show_urls = 'footnote'
244 |
--------------------------------------------------------------------------------
/test/index.rst:
--------------------------------------------------------------------------------
1 | .. ADC Theme Test documentation master file, created by
2 | sphinx-quickstart on Mon Dec 24 09:23:39 2012.
3 | You can adapt this file completely to your liking, but it should at least
4 | contain the root `toctree` directive.
5 |
6 | Welcome to ADC Theme Test's documentation!
7 | ==========================================
8 |
9 | Contents:
10 |
11 | .. toctree::
12 | :maxdepth: 2
13 |
14 | sample
15 | models
16 | sphinx
17 |
18 |
19 | Indices and tables
20 | ==================
21 |
22 | * :ref:`genindex`
23 | * :ref:`modindex`
24 | * :ref:`search`
25 |
26 |
--------------------------------------------------------------------------------
/test/make.bat:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 |
3 | REM Command file for Sphinx documentation
4 |
5 | if "%SPHINXBUILD%" == "" (
6 | set SPHINXBUILD=sphinx-build
7 | )
8 | set BUILDDIR=_build
9 | set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
10 | set I18NSPHINXOPTS=%SPHINXOPTS% .
11 | if NOT "%PAPER%" == "" (
12 | set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
13 | set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
14 | )
15 |
16 | if "%1" == "" goto help
17 |
18 | if "%1" == "help" (
19 | :help
20 | echo.Please use `make ^` where ^ is one of
21 | echo. html to make standalone HTML files
22 | echo. dirhtml to make HTML files named index.html in directories
23 | echo. singlehtml to make a single large HTML file
24 | echo. pickle to make pickle files
25 | echo. json to make JSON files
26 | echo. htmlhelp to make HTML files and a HTML help project
27 | echo. qthelp to make HTML files and a qthelp project
28 | echo. devhelp to make HTML files and a Devhelp project
29 | echo. epub to make an epub
30 | echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
31 | echo. text to make text files
32 | echo. man to make manual pages
33 | echo. texinfo to make Texinfo files
34 | echo. gettext to make PO message catalogs
35 | echo. changes to make an overview over all changed/added/deprecated items
36 | echo. linkcheck to check all external links for integrity
37 | echo. doctest to run all doctests embedded in the documentation if enabled
38 | goto end
39 | )
40 |
41 | if "%1" == "clean" (
42 | for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
43 | del /q /s %BUILDDIR%\*
44 | goto end
45 | )
46 |
47 | if "%1" == "html" (
48 | %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
49 | if errorlevel 1 exit /b 1
50 | echo.
51 | echo.Build finished. The HTML pages are in %BUILDDIR%/html.
52 | goto end
53 | )
54 |
55 | if "%1" == "dirhtml" (
56 | %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
57 | if errorlevel 1 exit /b 1
58 | echo.
59 | echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
60 | goto end
61 | )
62 |
63 | if "%1" == "singlehtml" (
64 | %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
65 | if errorlevel 1 exit /b 1
66 | echo.
67 | echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
68 | goto end
69 | )
70 |
71 | if "%1" == "pickle" (
72 | %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
73 | if errorlevel 1 exit /b 1
74 | echo.
75 | echo.Build finished; now you can process the pickle files.
76 | goto end
77 | )
78 |
79 | if "%1" == "json" (
80 | %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
81 | if errorlevel 1 exit /b 1
82 | echo.
83 | echo.Build finished; now you can process the JSON files.
84 | goto end
85 | )
86 |
87 | if "%1" == "htmlhelp" (
88 | %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
89 | if errorlevel 1 exit /b 1
90 | echo.
91 | echo.Build finished; now you can run HTML Help Workshop with the ^
92 | .hhp project file in %BUILDDIR%/htmlhelp.
93 | goto end
94 | )
95 |
96 | if "%1" == "qthelp" (
97 | %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
98 | if errorlevel 1 exit /b 1
99 | echo.
100 | echo.Build finished; now you can run "qcollectiongenerator" with the ^
101 | .qhcp project file in %BUILDDIR%/qthelp, like this:
102 | echo.^> qcollectiongenerator %BUILDDIR%\qthelp\ADCThemeTest.qhcp
103 | echo.To view the help file:
104 | echo.^> assistant -collectionFile %BUILDDIR%\qthelp\ADCThemeTest.ghc
105 | goto end
106 | )
107 |
108 | if "%1" == "devhelp" (
109 | %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
110 | if errorlevel 1 exit /b 1
111 | echo.
112 | echo.Build finished.
113 | goto end
114 | )
115 |
116 | if "%1" == "epub" (
117 | %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
118 | if errorlevel 1 exit /b 1
119 | echo.
120 | echo.Build finished. The epub file is in %BUILDDIR%/epub.
121 | goto end
122 | )
123 |
124 | if "%1" == "latex" (
125 | %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
126 | if errorlevel 1 exit /b 1
127 | echo.
128 | echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
129 | goto end
130 | )
131 |
132 | if "%1" == "text" (
133 | %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
134 | if errorlevel 1 exit /b 1
135 | echo.
136 | echo.Build finished. The text files are in %BUILDDIR%/text.
137 | goto end
138 | )
139 |
140 | if "%1" == "man" (
141 | %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
142 | if errorlevel 1 exit /b 1
143 | echo.
144 | echo.Build finished. The manual pages are in %BUILDDIR%/man.
145 | goto end
146 | )
147 |
148 | if "%1" == "texinfo" (
149 | %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
150 | if errorlevel 1 exit /b 1
151 | echo.
152 | echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
153 | goto end
154 | )
155 |
156 | if "%1" == "gettext" (
157 | %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
158 | if errorlevel 1 exit /b 1
159 | echo.
160 | echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
161 | goto end
162 | )
163 |
164 | if "%1" == "changes" (
165 | %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
166 | if errorlevel 1 exit /b 1
167 | echo.
168 | echo.The overview file is in %BUILDDIR%/changes.
169 | goto end
170 | )
171 |
172 | if "%1" == "linkcheck" (
173 | %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
174 | if errorlevel 1 exit /b 1
175 | echo.
176 | echo.Link check complete; look for any errors in the above output ^
177 | or in %BUILDDIR%/linkcheck/output.txt.
178 | goto end
179 | )
180 |
181 | if "%1" == "doctest" (
182 | %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
183 | if errorlevel 1 exit /b 1
184 | echo.
185 | echo.Testing of doctests in the sources finished, look at the ^
186 | results in %BUILDDIR%/doctest/output.txt.
187 | goto end
188 | )
189 |
190 | :end
191 |
--------------------------------------------------------------------------------
/test/models.rst:
--------------------------------------------------------------------------------
1 | ===============
2 | Model Reference
3 | ===============
4 |
5 |
6 | Data
7 | ====
8 |
9 | .. py:data:: MAJOR_VERSION
10 |
11 | The major version.
12 |
13 |
14 | Exception
15 | =========
16 |
17 | .. py:exception:: ExceptionName
18 |
19 | A major exception
20 |
21 | Function
22 | ========
23 |
24 | .. py:function:: format_exception(etype, value, tb[, limit=None])
25 |
26 | Format the exception with a traceback.
27 |
28 | :param etype: exception type
29 | :param value: exception value
30 | :param tb: traceback object
31 | :param limit: maximum number of stack frames to show
32 | :type limit: integer or None
33 | :rtype: list of strings
34 |
35 |
36 | Decorator
37 | =========
38 |
39 | .. py:decorator:: removename
40 |
41 | Remove name of the decorated function.
42 |
43 | .. py:decorator:: setnewname(name)
44 |
45 | Set name of the decorated function to *name*.
46 |
47 | ModelName
48 | =========
49 |
50 | .. py:class:: ModelName
51 |
52 | .. py:attribute:: parent
53 |
54 | :py:class:`TreeForeignKey` ``(self)``
55 |
56 | The category's parent category. Leave this blank for an root category.
57 |
58 | .. py:attribute:: name
59 |
60 | **Required** ``CharField(100)``
61 |
62 | The name of the category.
63 |
64 | .. py:attribute:: slug
65 |
66 | **Required** ``SlugField``
67 |
68 | URL-friendly title. It is automatically generated from the title.
69 |
70 | .. py:attribute:: active
71 |
72 | **Required** ``BooleanField`` *default:* ``True``
73 |
74 | Is this item active. If it is inactive, all children are set to inactive as well.
75 |
76 | .. py:method:: format_exception(etype, value, tb[, limit=None])
77 |
78 | Format the exception with a traceback.
79 |
80 | :param etype: exception type
81 | :param value: exception value
82 | :param tb: traceback object
83 | :param limit: maximum number of stack frames to show
84 | :type limit: integer or None
85 | :rtype: list of strings
86 |
87 | .. py:staticmethod:: static_format_exception(etype, value, tb[, limit=None])
88 |
89 | Format the exception with a traceback.
90 |
91 | :param etype: exception type
92 | :param value: exception value
93 | :param tb: traceback object
94 | :param limit: maximum number of stack frames to show
95 | :type limit: integer or None
96 | :rtype: list of strings
97 |
98 | .. py:classmethod:: class_format_exception(etype, value, tb[, limit=None])
99 |
100 | Format the exception with a traceback.
101 |
102 | :param etype: exception type
103 | :param value: exception value
104 | :param tb: traceback object
105 | :param limit: maximum number of stack frames to show
106 | :type limit: integer or None
107 | :rtype: list of strings
108 |
--------------------------------------------------------------------------------
/test/sphinx.rst:
--------------------------------------------------------------------------------
1 | =====================
2 | Sphinx specific stuff
3 | =====================
4 |
5 | note
6 | ====
7 |
8 | .. note::
9 |
10 | This function is not suitable for sending spam e-mails.
11 |
12 | warning
13 | =======
14 |
15 | .. warning::
16 |
17 | This function causes radioactive leaks and kills puppies.
18 |
19 | versionadded
20 | ============
21 |
22 | .. versionadded:: 2.5
23 | The *spam* parameter.
24 |
25 | versionchanged
26 | ==============
27 |
28 | .. versionchanged:: 2.6
29 | Now sends all spam back to sender.
30 |
31 | deprecated
32 | ==========
33 |
34 | .. deprecated:: 3.1
35 | Use :func:`spam` instead.
36 |
37 | seealso
38 | =======
39 |
40 | .. seealso::
41 |
42 | Module :py:mod:`zipfile`
43 | Documentation of the :py:mod:`zipfile` standard module.
44 |
45 | `GNU tar manual, Basic Tar Format `_
46 | Documentation for tar archive files, including GNU tar extensions.
47 |
48 | rubric
49 | ======
50 |
51 | .. rubric:: Rubric title
52 |
53 | centered
54 | ========
55 |
56 | .. centered:: LICENSE AGREEMENT
57 |
58 | hlist
59 | =====
60 |
61 | .. hlist::
62 | :columns: 3
63 |
64 | * A list of
65 | * short items
66 | * that should be
67 | * displayed
68 | * horizontally
69 |
70 | glossary
71 | ========
72 |
73 | .. glossary::
74 |
75 | environment
76 | A structure where information about all documents under the root is
77 | saved, and used for cross-referencing. The environment is pickled
78 | after the parsing stage, so that successive runs only need to read
79 | and parse new and changed documents.
80 |
81 | source directory
82 | The directory which, including its subdirectories, contains all
83 | source files for one Sphinx project.
84 |
85 | productionlist
86 | ==============
87 |
88 | .. productionlist::
89 | try_stmt: try1_stmt | try2_stmt
90 | try1_stmt: "try" ":" `suite`
91 | : ("except" [`expression` ["," `target`]] ":" `suite`)+
92 | : ["else" ":" `suite`]
93 | : ["finally" ":" `suite`]
94 | try2_stmt: "try" ":" `suite`
95 | : "finally" ":" `suite`
96 |
97 | code-block
98 | ==========
99 |
100 | .. code-block:: python
101 | :emphasize-lines: 3,5
102 |
103 | def some_function():
104 | interesting = False
105 | print 'This line is highlighted.'
106 | print 'This one is not...'
107 | print '...but this one is.'
108 |
109 | abbr
110 | ====
111 |
112 | Example: :abbr:`LIFO (last-in, first-out)`.
113 |
114 | command
115 | =======
116 |
117 | The name of an OS-level command, such as :command:`rm` or :command:`rm -Rf /`
118 |
119 | dfn
120 | ===
121 |
122 | Mark the defining instance of a :dfn:`term` in the text. (No index entries are generated.)
123 |
124 | guilabel
125 | ========
126 |
127 | An accelerator key for the GUI label can be included using an ampersand; this will be stripped and displayed underlined in the output (example: :guilabel:`&Cancel`)
128 |
129 | kbd
130 | ===
131 |
132 | the same sequence should be marked as :kbd:`Control-x Control-f`
133 |
134 |
135 | mailheader
136 | ==========
137 |
138 | example: :mailheader:`Content-Type`
139 |
140 | manpage
141 | =======
142 |
143 | A reference to a Unix manual page including the section, e.g. :manpage:`ls(1)`.
144 |
145 | menuselection
146 | =============
147 |
148 | For example, to mark the selection “Start > Programs”, use this markup: :menuselection:`Start --> Programs`
149 |
150 |
151 | sectionauthor
152 | =============
153 |
154 | .. sectionauthor:: Guido van Rossum
155 |
156 |
--------------------------------------------------------------------------------
/theme.conf:
--------------------------------------------------------------------------------
1 | [theme]
2 | inherit = basic
3 | stylesheet = adctheme.css
4 | pygments_style = friendly
5 |
6 |
--------------------------------------------------------------------------------