X Tutup
Skip to content

Commit b1036cf

Browse files
author
Kenneth Reitz
committed
big docs update
1 parent dd3e852 commit b1036cf

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

docs/_templates/sidebarintro.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<h3>About This Guide</h3>
2+
<p>
3+
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.
4+
</p>
5+
6+
<h3>Feedback</h3>
7+
<p>
8+
Feedback is greatly appreciated. If you have any questions, comments,
9+
random praise, or anonymous threats, <a href="mailto:me@kennethreitz.com">
10+
shoot me an email</a>.
11+
</p>
12+
13+
14+
<h3>Useful Links</h3>
15+
<ul>
16+
<li><a href="http://python-guide.org/">The Guide Website</a></li>
17+
<li><a href="http://github.com/kennethreitz/python-guide">The Guide @ GitHub</a></li>
18+
<li><a href="http://github.com/kennethreitz/python-guide/issues">Issue Tracker</a></li>
19+
</ul>

docs/_templates/sidebarlogo.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<h3><a href="http://python-guide.org">About This Guide</a></h3>
2+
<p>
3+
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.
4+
</p>

docs/_templates/test

Whitespace-only changes.

docs/_themes/kr/layout.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111
{%- block footer %}
1212
<div class="footer">
1313
&copy; Copyright {{ copyright }}.
14-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
1514
</div>
16-
15+
<a href="https://github.com/kennethreitz/python-guide">
16+
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" />
17+
</a>
18+
1719
<script type="text/javascript">
1820

1921
var _gaq2 = _gaq2 || [];
20-
_gaq2.push(['_setAccount', 'UA-8742933-9']);
22+
_gaq2.push(['_setAccount', 'UA-8742933-10']);
2123
_gaq2.push(['_setDomainName', 'none']);
2224
_gaq2.push(['_setAllowLinker', true]);
2325
_gaq2.push(['_trackPageview']);
@@ -32,5 +34,5 @@
3234

3335

3436

35-
37+
3638
{%- endblock %}

docs/conf.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
# General information about the project.
4343
project = u'pythonguide'
44-
copyright = u'2010, Kenneth Reitz'
44+
copyright = u'2011. A <a href="http://kennethreitz.com/pages/open-projects.html">Kenneth Reitz</a> Project'
4545

4646
# The version info for the project you're documenting, acts as replacement for
4747
# |version| and |release|, also used in various other places throughout the
@@ -81,7 +81,7 @@
8181
#show_authors = False
8282

8383
# The name of the Pygments (syntax highlighting) style to use.
84-
pygments_style = 'sphinx'
84+
pygments_style = 'flask_theme_support.FlaskyStyle'
8585

8686
# A list of ignored prefixes for module index sorting.
8787
#modindex_common_prefix = []
@@ -131,7 +131,11 @@
131131
#html_use_smartypants = True
132132

133133
# Custom sidebar templates, maps document names to template names.
134-
#html_sidebars = {}
134+
html_sidebars = {
135+
'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],
136+
'**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',
137+
'sourcelink.html', 'searchbox.html']
138+
}
135139

136140
# Additional templates that should be rendered to pages, maps page names to
137141
# template names.
@@ -147,10 +151,10 @@
147151
#html_split_index = False
148152

149153
# If true, links to the reST sources are added to the pages.
150-
#html_show_sourcelink = True
154+
html_show_sourcelink = True
151155

152156
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
153-
#html_show_sphinx = True
157+
html_show_sphinx = False
154158

155159
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
156160
#html_show_copyright = True

0 commit comments

Comments
 (0)
X Tutup