Skip to content

Commit 8a4e978

Browse files
committed
initial commit
0 parents  commit 8a4e978

File tree

1,480 files changed

+389179
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,480 files changed

+389179
-0
lines changed

DOCS/_static/basic.css

+768
Large diffs are not rendered by default.

DOCS/_static/classic.css

+271
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,271 @@
1+
/*
2+
* classic.css_t
3+
* ~~~~~~~~~~~~~
4+
*
5+
* Sphinx stylesheet -- classic theme.
6+
*
7+
* :copyright: Copyright 2007-2020 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+
html {
17+
/* CSS hack for macOS's scrollbar (see #1125) */
18+
background-color: #FFFFFF;
19+
}
20+
21+
body {
22+
font-family: 'Lucida Grande', Arial, sans-serif;
23+
font-size: 100%;
24+
background-color: white;
25+
color: #000;
26+
margin: 0;
27+
padding: 0;
28+
}
29+
30+
div.document {
31+
background-color: white;
32+
}
33+
34+
div.documentwrapper {
35+
float: left;
36+
width: 100%;
37+
}
38+
39+
div.bodywrapper {
40+
margin: 0 0 0 230px;
41+
}
42+
43+
div.body {
44+
background-color: white;
45+
color: #222222;
46+
padding: 0 20px 30px 20px;
47+
}
48+
49+
div.footer {
50+
color: #555555;
51+
width: 100%;
52+
padding: 9px 0 9px 0;
53+
text-align: center;
54+
font-size: 75%;
55+
}
56+
57+
div.footer a {
58+
color: #555555;
59+
text-decoration: underline;
60+
}
61+
62+
div.related {
63+
background-color: white;
64+
line-height: 30px;
65+
color: #666666;
66+
}
67+
68+
div.related a {
69+
color: #444444;
70+
}
71+
72+
div.sphinxsidebar {
73+
}
74+
75+
div.sphinxsidebar h3 {
76+
font-family: 'Lucida Grande', Arial, sans-serif;
77+
color: #444444;
78+
font-size: 1.4em;
79+
font-weight: normal;
80+
margin: 0;
81+
padding: 0;
82+
}
83+
84+
div.sphinxsidebar h3 a {
85+
color: #444444;
86+
}
87+
88+
div.sphinxsidebar h4 {
89+
font-family: 'Lucida Grande', Arial, sans-serif;
90+
color: #444444;
91+
font-size: 1.3em;
92+
font-weight: normal;
93+
margin: 5px 0 0 0;
94+
padding: 0;
95+
}
96+
97+
div.sphinxsidebar p {
98+
color: #444444;
99+
}
100+
101+
div.sphinxsidebar p.topless {
102+
margin: 5px 10px 10px 10px;
103+
}
104+
105+
div.sphinxsidebar ul {
106+
margin: 10px;
107+
padding: 0;
108+
color: #444444;
109+
}
110+
111+
div.sphinxsidebar a {
112+
color: #444444;
113+
}
114+
115+
div.sphinxsidebar input {
116+
border: 1px solid #444444;
117+
font-family: sans-serif;
118+
font-size: 1em;
119+
}
120+
121+
122+
/* for collapsible sidebar */
123+
div#sidebarbutton {
124+
background-color: #3c6e83;
125+
}
126+
127+
128+
/* -- hyperlink styles ------------------------------------------------------ */
129+
130+
a {
131+
color: #0090c0;
132+
text-decoration: none;
133+
}
134+
135+
a:visited {
136+
color: #00608f;
137+
text-decoration: none;
138+
}
139+
140+
a:hover {
141+
text-decoration: underline;
142+
}
143+
144+
145+
146+
/* -- body styles ----------------------------------------------------------- */
147+
148+
div.body h1,
149+
div.body h2,
150+
div.body h3,
151+
div.body h4,
152+
div.body h5,
153+
div.body h6 {
154+
font-family: 'Lucida Grande', Arial, sans-serif;
155+
background-color: white;
156+
font-weight: normal;
157+
color: #1a1a1a;
158+
border-bottom: 1px solid #ccc;
159+
margin: 20px -20px 10px -20px;
160+
padding: 3px 0 3px 10px;
161+
}
162+
163+
div.body h1 { margin-top: 0; font-size: 200%; }
164+
div.body h2 { font-size: 160%; }
165+
div.body h3 { font-size: 140%; }
166+
div.body h4 { font-size: 120%; }
167+
div.body h5 { font-size: 110%; }
168+
div.body h6 { font-size: 100%; }
169+
170+
a.headerlink {
171+
color: #aaaaaa;
172+
font-size: 0.8em;
173+
padding: 0 4px 0 4px;
174+
text-decoration: none;
175+
}
176+
177+
a.headerlink:hover {
178+
background-color: #aaaaaa;
179+
color: white;
180+
}
181+
182+
div.body p, div.body dd, div.body li, div.body blockquote {
183+
text-align: justify;
184+
line-height: 130%;
185+
}
186+
187+
div.admonition p.admonition-title + p {
188+
display: inline;
189+
}
190+
191+
div.admonition p {
192+
margin-bottom: 5px;
193+
}
194+
195+
div.admonition pre {
196+
margin-bottom: 5px;
197+
}
198+
199+
div.admonition ul, div.admonition ol {
200+
margin-bottom: 5px;
201+
}
202+
203+
div.note {
204+
background-color: #eee;
205+
border: 1px solid #ccc;
206+
}
207+
208+
div.seealso {
209+
background-color: #ffc;
210+
border: 1px solid #ff6;
211+
}
212+
213+
div.topic {
214+
background-color: #eee;
215+
}
216+
217+
div.warning {
218+
background-color: #ffe4e4;
219+
border: 1px solid #f66;
220+
}
221+
222+
p.admonition-title {
223+
display: inline;
224+
}
225+
226+
p.admonition-title:after {
227+
content: ":";
228+
}
229+
230+
pre {
231+
padding: 5px;
232+
background-color: #eeffcc;
233+
color: #333333;
234+
line-height: 120%;
235+
border: 1px solid #ac9;
236+
border-left: none;
237+
border-right: none;
238+
}
239+
240+
code {
241+
background-color: #ecf0f3;
242+
padding: 0 1px 0 1px;
243+
font-size: 0.95em;
244+
}
245+
246+
th, dl.field-list > dt {
247+
background-color: #ede;
248+
}
249+
250+
.warning code {
251+
background: #efc2c2;
252+
}
253+
254+
.note code {
255+
background: #d6d6d6;
256+
}
257+
258+
.viewcode-back {
259+
font-family: 'Lucida Grande', Arial, sans-serif;
260+
}
261+
262+
div.viewcode-block:target {
263+
background-color: #f4debf;
264+
border-top: 1px solid #ac9;
265+
border-bottom: 1px solid #ac9;
266+
}
267+
268+
div.code-block-caption {
269+
color: #efefef;
270+
background-color: #1c4e63;
271+
}

DOCS/_static/copybutton.js

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
$(document).ready(function() {
2+
/* Add a [>>>] button on the top-right corner of code samples to hide
3+
* the >>> and ... prompts and the output and thus make the code
4+
* copyable. */
5+
var div = $('.highlight-python .highlight,' +
6+
'.highlight-python3 .highlight,' +
7+
'.highlight-pycon .highlight,' +
8+
'.highlight-default .highlight');
9+
var pre = div.find('pre');
10+
11+
// get the styles from the current theme
12+
pre.parent().parent().css('position', 'relative');
13+
var hide_text = 'Hide the prompts and output';
14+
var show_text = 'Show the prompts and output';
15+
var border_width = pre.css('border-top-width');
16+
var border_style = pre.css('border-top-style');
17+
var border_color = pre.css('border-top-color');
18+
var button_styles = {
19+
'cursor':'pointer', 'position': 'absolute', 'top': '0', 'right': '0',
20+
'border-color': border_color, 'border-style': border_style,
21+
'border-width': border_width, 'color': border_color, 'text-size': '75%',
22+
'font-family': 'monospace', 'padding-left': '0.2em', 'padding-right': '0.2em',
23+
'border-radius': '0 3px 0 0'
24+
}
25+
26+
// create and add the button to all the code blocks that contain >>>
27+
div.each(function(index) {
28+
var jthis = $(this);
29+
if (jthis.find('.gp').length > 0) {
30+
var button = $('<span class="copybutton">&gt;&gt;&gt;</span>');
31+
button.css(button_styles)
32+
button.attr('title', hide_text);
33+
button.data('hidden', 'false');
34+
jthis.prepend(button);
35+
}
36+
// tracebacks (.gt) contain bare text elements that need to be
37+
// wrapped in a span to work with .nextUntil() (see later)
38+
jthis.find('pre:has(.gt)').contents().filter(function() {
39+
return ((this.nodeType == 3) && (this.data.trim().length > 0));
40+
}).wrap('<span>');
41+
});
42+
43+
// define the behavior of the button when it's clicked
44+
$('.copybutton').click(function(e){
45+
e.preventDefault();
46+
var button = $(this);
47+
if (button.data('hidden') === 'false') {
48+
// hide the code output
49+
button.parent().find('.go, .gp, .gt').hide();
50+
button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'hidden');
51+
button.css('text-decoration', 'line-through');
52+
button.attr('title', show_text);
53+
button.data('hidden', 'true');
54+
} else {
55+
// show the code output
56+
button.parent().find('.go, .gp, .gt').show();
57+
button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'visible');
58+
button.css('text-decoration', 'none');
59+
button.attr('title', hide_text);
60+
button.data('hidden', 'false');
61+
}
62+
});
63+
});
64+

DOCS/_static/default.css

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import url("classic.css");

0 commit comments

Comments
 (0)