Skip to content

Commit 64277dd

Browse files
committed
refresh
1 parent 9ab42d6 commit 64277dd

18 files changed

+202
-15
lines changed

en/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 56445c0dd197468cbf99ee917dc45c68
3+
config: 1796a382ad2a75f310f47aae28429ce8
44
tags: fbb0d17656682115ca4d033fb2f83ba1

en/_images/cc-by-sa.png

4.96 KB
Loading

en/_sources/copyright.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
License
2+
*******
3+
4+
This work is licensed under the Creative Commons Attribution-ShareAlike
5+
3.0 Unported License. To view a copy of this license, visit
6+
http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to
7+
Creative Commons, 444 Castro Street, Suite 900, Mountain View,
8+
California, 94041, USA.
9+
10+
.. |cc-by-sa| image:: /images/cc-by-sa.png
11+
.. centered:: |cc-by-sa|

en/_sources/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ Table of contents:
1616
conditionals
1717
conditional_loops
1818
logical_operators
19+
copyright

en/_static/spoilers.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
(function ($) {
2+
'use strict';
3+
$.fn.showHide = function (options) {
4+
5+
//default vars for the plugin
6+
var defaults = {
7+
speed: 500,
8+
easing: '',
9+
changeText: true,
10+
showText: 'Show',
11+
hideText: 'Hide'
12+
13+
};
14+
options = $.extend(defaults, options);
15+
16+
$(this).hide().data('hidden', true);
17+
18+
$(this).after('<button class="_show_hide" type="button">' + options.showText + '</button>');
19+
20+
$('._show_hide').click(function () {
21+
var me = $(this);
22+
var el = $(this).prev();
23+
el.slideToggle(options.speed, function() {
24+
if (options.changeText) {
25+
if (el.data('hidden')) {
26+
el.data('hidden', false);
27+
me.text(options.hideText);
28+
} else {
29+
el.data('hidden', true);
30+
me.text(options.showText);
31+
}
32+
}
33+
});
34+
});
35+
};
36+
})(jQuery);
37+
38+
(function ($) {
39+
$(document).ready(function() {
40+
'use strict';
41+
$("h3:contains('Solution')").next().showHide();
42+
});
43+
})(jQuery);

en/conditional_loops.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<script type="text/javascript" src="_static/jquery.js"></script>
2525
<script type="text/javascript" src="_static/underscore.js"></script>
2626
<script type="text/javascript" src="_static/doctools.js"></script>
27+
<script type="text/javascript" src="_static/spoilers.js"></script>
28+
<link rel="copyright" title="Copyright" href="copyright.html" />
2729
<link rel="top" title="Introduction to Programming with Python" href="index.html" />
2830
<link rel="next" title="Logical operators" href="logical_operators.html" />
2931
<link rel="prev" title="Conditional statements" href="conditionals.html" />
@@ -199,7 +201,7 @@ <h3>Navigation</h3>
199201
</ul>
200202
</div>
201203
<div class="footer">
202-
&copy; Copyright 2012, OpenTechSchool.
204+
&copy; <a href="copyright.html">Copyright</a> 2012, OpenTechSchool and contributors.
203205
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
204206
</div>
205207
</body>

en/conditionals.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<script type="text/javascript" src="_static/jquery.js"></script>
2525
<script type="text/javascript" src="_static/underscore.js"></script>
2626
<script type="text/javascript" src="_static/doctools.js"></script>
27+
<script type="text/javascript" src="_static/spoilers.js"></script>
28+
<link rel="copyright" title="Copyright" href="copyright.html" />
2729
<link rel="top" title="Introduction to Programming with Python" href="index.html" />
2830
<link rel="next" title="Conditional Loops" href="conditional_loops.html" />
2931
<link rel="prev" title="Functions with parameters" href="functions_parameters.html" />
@@ -198,7 +200,7 @@ <h3>Navigation</h3>
198200
</ul>
199201
</div>
200202
<div class="footer">
201-
&copy; Copyright 2012, OpenTechSchool.
203+
&copy; <a href="copyright.html">Copyright</a> 2012, OpenTechSchool and contributors.
202204
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
203205
</div>
204206
</body>

en/copyright.html

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4+
5+
6+
<html xmlns="http://www.w3.org/1999/xhtml">
7+
<head>
8+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9+
10+
<title>License &mdash; Introduction to Programming with Python</title>
11+
12+
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
13+
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
14+
15+
<script type="text/javascript">
16+
var DOCUMENTATION_OPTIONS = {
17+
URL_ROOT: '',
18+
VERSION: '0.1',
19+
COLLAPSE_INDEX: false,
20+
FILE_SUFFIX: '.html',
21+
HAS_SOURCE: true
22+
};
23+
</script>
24+
<script type="text/javascript" src="_static/jquery.js"></script>
25+
<script type="text/javascript" src="_static/underscore.js"></script>
26+
<script type="text/javascript" src="_static/doctools.js"></script>
27+
<script type="text/javascript" src="_static/spoilers.js"></script>
28+
<link rel="copyright" title="Copyright" href="#" />
29+
<link rel="top" title="Introduction to Programming with Python" href="index.html" />
30+
<link rel="prev" title="Logical operators" href="logical_operators.html" />
31+
</head>
32+
<body>
33+
<div class="related">
34+
<h3>Navigation</h3>
35+
<ul>
36+
<li class="right" style="margin-right: 10px">
37+
<a href="logical_operators.html" title="Logical operators"
38+
accesskey="P">previous</a></li>
39+
<li><a href="index.html">Introduction to Programming with Python</a> &raquo;</li>
40+
</ul>
41+
</div>
42+
43+
<div class="document">
44+
<div class="documentwrapper">
45+
<div class="bodywrapper">
46+
<div class="body">
47+
48+
<div class="section" id="license">
49+
<h1>License<a class="headerlink" href="#license" title="Permalink to this headline"></a></h1>
50+
<p>This work is licensed under the Creative Commons Attribution-ShareAlike
51+
3.0 Unported License. To view a copy of this license, visit
52+
<a class="reference external" href="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</a> or send a letter to
53+
Creative Commons, 444 Castro Street, Suite 900, Mountain View,
54+
California, 94041, USA.</p>
55+
<p class="centered">
56+
<strong><img alt="cc-by-sa" src="_images/cc-by-sa.png" />
57+
</strong></p></div>
58+
59+
60+
</div>
61+
</div>
62+
</div>
63+
<div class="sphinxsidebar">
64+
<div class="sphinxsidebarwrapper">
65+
<h4>Previous topic</h4>
66+
<p class="topless"><a href="logical_operators.html"
67+
title="previous chapter">Logical operators</a></p>
68+
<div id="searchbox" style="display: none">
69+
<h3>Quick search</h3>
70+
<form class="search" action="search.html" method="get">
71+
<input type="text" name="q" />
72+
<input type="submit" value="Go" />
73+
<input type="hidden" name="check_keywords" value="yes" />
74+
<input type="hidden" name="area" value="default" />
75+
</form>
76+
<p class="searchtip" style="font-size: 90%">
77+
Enter search terms or a module, class or function name.
78+
</p>
79+
</div>
80+
<script type="text/javascript">$('#searchbox').show(0);</script>
81+
</div>
82+
</div>
83+
<div class="clearer"></div>
84+
</div>
85+
<div class="related">
86+
<h3>Navigation</h3>
87+
<ul>
88+
<li class="right" style="margin-right: 10px">
89+
<a href="logical_operators.html" title="Logical operators"
90+
>previous</a></li>
91+
<li><a href="index.html">Introduction to Programming with Python</a> &raquo;</li>
92+
</ul>
93+
</div>
94+
<div class="footer">
95+
&copy; <a href="#">Copyright</a> 2012, OpenTechSchool and contributors.
96+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
97+
</div>
98+
</body>
99+
</html>

en/functions.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<script type="text/javascript" src="_static/jquery.js"></script>
2525
<script type="text/javascript" src="_static/underscore.js"></script>
2626
<script type="text/javascript" src="_static/doctools.js"></script>
27+
<script type="text/javascript" src="_static/spoilers.js"></script>
28+
<link rel="copyright" title="Copyright" href="copyright.html" />
2729
<link rel="top" title="Introduction to Programming with Python" href="index.html" />
2830
<link rel="next" title="Loops" href="loops.html" />
2931
<link rel="prev" title="Variables" href="variables.html" />
@@ -242,7 +244,7 @@ <h3>Navigation</h3>
242244
</ul>
243245
</div>
244246
<div class="footer">
245-
&copy; Copyright 2012, OpenTechSchool.
247+
&copy; <a href="copyright.html">Copyright</a> 2012, OpenTechSchool and contributors.
246248
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
247249
</div>
248250
</body>

en/functions_parameters.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<script type="text/javascript" src="_static/jquery.js"></script>
2525
<script type="text/javascript" src="_static/underscore.js"></script>
2626
<script type="text/javascript" src="_static/doctools.js"></script>
27+
<script type="text/javascript" src="_static/spoilers.js"></script>
28+
<link rel="copyright" title="Copyright" href="copyright.html" />
2729
<link rel="top" title="Introduction to Programming with Python" href="index.html" />
2830
<link rel="next" title="Conditional statements" href="conditionals.html" />
2931
<link rel="prev" title="Loops" href="loops.html" />
@@ -182,7 +184,7 @@ <h3>Navigation</h3>
182184
</ul>
183185
</div>
184186
<div class="footer">
185-
&copy; Copyright 2012, OpenTechSchool.
187+
&copy; <a href="copyright.html">Copyright</a> 2012, OpenTechSchool and contributors.
186188
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
187189
</div>
188190
</body>

0 commit comments

Comments
 (0)