File tree 4 files changed +66
-20
lines changed
4 files changed +66
-20
lines changed Original file line number Diff line number Diff line change 41
41
</ script >
42
42
{% endblock %}
43
43
44
+ {# From: https://github.com/bitprophet/alabaster/blob/5f249677242be96601e034edb3697b7482a6abcf/alabaster/layout.html #}
45
+ {# Nav should appear before content, not after #}
46
+ {%- block content %}
47
+ {%- if theme_fixed_sidebar|lower == 'true' %}
48
+ < div class ="document ">
49
+ {{ sidebar() }}
50
+ {%- block document %}
51
+ < div class ="documentwrapper ">
52
+ {%- if render_sidebar %}
53
+ < div class ="bodywrapper ">
54
+ {%- endif %}
55
+
56
+ {%- block relbar_top %}
57
+ {%- if theme_show_relbar_top|tobool %}
58
+ < div class ="related top ">
59
+
60
+ {{- rellink_markup () }}
61
+ </ div >
62
+ {%- endif %}
63
+ {% endblock %}
64
+
65
+ < div class ="body " role ="main ">
66
+ < div style ="display:block;position:relative; margin-bottom: 1em; ">
67
+ < div style ="display:block;width:100%;padding-top:12.5%; "> </ div >
68
+ < div class ="rpad " data-unit ="8x1 " style ="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden; "> </ div >
69
+ </ div >
70
+ {% block body %} {% endblock %}
71
+ </ div >
72
+
73
+ {%- block relbar_bottom %}
74
+ {%- if theme_show_relbar_bottom|tobool %}
75
+ < div class ="related bottom ">
76
+
77
+ {{- rellink_markup () }}
78
+ </ div >
79
+ {%- endif %}
80
+ {% endblock %}
81
+
82
+ {%- if render_sidebar %}
83
+ </ div >
84
+ {%- endif %}
85
+ </ div >
86
+ {%- endblock %}
87
+ < div class ="clearer "> </ div >
88
+ </ div >
89
+ {%- else %}
90
+ {{ super() }}
91
+ {%- endif %}
92
+ {%- endblock %}
93
+
44
94
{%- block footer %}
45
95
< div class ="footer ">
46
96
< div class ="bodywrapper " style ="display:block;position:relative; ">
Original file line number Diff line number Diff line change 4
4
</ a >
5
5
</ p >
6
6
7
+ < p style ="margin-left:auto; margin-right: auto; "> < iframe src ="https://ghbtns.com/github-btn.html?user=realpython&repo=python-guide&type=watch&count=true&size=large " allowtransparency ="true " frameborder ="0 " scrolling ="0 " width ="200px " height ="35px "> </ iframe > </ p >
8
+
7
9
< p >
8
10
This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.
9
11
</ p >
10
12
11
- < iframe src ="https://ghbtns.com/github-btn.html?user=realpython&repo=python-guide&type=watch&count=true " allowtransparency ="true " frameborder ="0 " scrolling ="0 " width ="200px " height ="35px "> </ iframe >
13
+ < div style ="display:block;position:relative;margin: 1em 0 1em 0; ">
14
+ < div style ="display:block;width:100%;padding-top:100%; "> </ div >
15
+ < div class ="rpad " data-unit ="1x1 " style ="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden; "> </ div >
16
+ </ div >
12
17
13
18
< h3 > O'Reilly Book</ h3 >
14
19
15
20
< p > This guide is now available in tangible book form!</ p >
16
21
17
- < p > < a href ="/guide-book " target ="_blank "> < img style ="max-width: 66 %; text-align: center; " src ="/_static/guide-book-cover.jpg " alt ="Python Guide Book Cover "> </ a > </ p >
22
+ < p > < a href ="/guide-book " target ="_blank "> < img style ="max-width: 100 %; text-align: center; " src ="/_static/guide-book-cover.jpg " alt ="Python Guide Book Cover "> </ a > </ p >
18
23
19
24
< p > All proceeds are being directly donated to the < a href ="https://djangogirls.org "> DjangoGirls</ a > organization.</ p >
20
25
21
- < p >
22
- < div style ="display:block;position:relative; ">
23
- < div style ="display:block;width:100%;padding-top:100%; "> </ div >
24
- < div class ="rpad " data-unit ="1x1 " style ="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden; "> </ div >
25
- </ div >
26
- </ p>
27
-
28
26
< h3 > Contributors</ h3 >
29
27
< p >
30
28
This guide is the result of the collaboration of
Original file line number Diff line number Diff line change 4
4
</ a >
5
5
</ p >
6
6
7
+ < p style ="margin-left:auto; margin-right: auto; "> < iframe src ="https://ghbtns.com/github-btn.html?user=realpython&repo=python-guide&type=watch&count=true&size=large " allowtransparency ="true " frameborder ="0 " scrolling ="0 " width ="200px " height ="35px "> </ iframe > </ p >
8
+
7
9
< p >
8
10
This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.
9
11
</ p >
10
12
11
- < iframe src ="https://ghbtns.com/github-btn.html?user=realpython&repo=python-guide&type=watch&count=true " allowtransparency ="true " frameborder ="0 " scrolling ="0 " width ="200px " height ="35px "> </ iframe >
13
+ < div style ="display:block;position:relative;margin: 1em 0 1em 0; ">
14
+ < div style ="display:block;width:100%;padding-top:100%; "> </ div >
15
+ < div class ="rpad " data-unit ="1x1 " style ="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden; "> </ div >
16
+ </ div >
12
17
13
18
< h3 > O'Reilly Book</ h3 >
14
19
15
20
< p > This guide is now available in tangible book form!</ p >
16
21
17
- < p > < a href ="/guide-book " target ="_blank "> < img style ="max-width: 66 %; text-align: center; " src ="/_static/guide-book-cover.jpg " alt ="Python Guide Book Cover "> </ a > </ p >
22
+ < p > < a href ="/guide-book " target ="_blank "> < img style ="max-width: 100 %; text-align: center; " src ="/_static/guide-book-cover.jpg " alt ="Python Guide Book Cover "> </ a > </ p >
18
23
19
24
< p > All proceeds are being directly donated to the < a href ="https://djangogirls.org "> DjangoGirls</ a > organization.</ p >
20
25
21
- < p >
22
- < div style ="display:block;position:relative; ">
23
- < div style ="display:block;width:100%;padding-top:100%; "> </ div >
24
- < div class ="rpad " data-unit ="1x1 " style ="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden; "> </ div >
25
- </ div >
26
- </ p>
27
-
28
26
< h3 > Translations</ h3 >
29
27
< ul >
30
28
< li > < a href ="https://docs.python-guide.org/ "> English</ a > </ li >
Original file line number Diff line number Diff line change 1
- Picking an Python Interpreter (3 vs. 2)
2
- =======================================
1
+ Picking a Python Interpreter (3 vs 2)
2
+ =====================================
3
3
4
4
.. image :: /_static/photos/34484834733_5b80f65ab1_k_d.jpg
5
5
You can’t perform that action at this time.
0 commit comments