Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion 15 python_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

{% block rootrellink %}
<li><img src="{{ pathto('_static/' + theme_root_icon, 1) }}" alt=""
width="16px"
height="16px"
style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="{{theme_root_url}}">{{theme_root_name}}</a>{{ reldelim1 }}</li>
{% if theme_root_include_title %}
Expand Down Expand Up @@ -36,7 +38,18 @@
{% endblock %}

{% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/' + theme_root_icon, 1) }}" />
{# Place icon files in the root if possible (let browsers look for them where they expect them to be) #}
<link rel="icon" type="image/x-icon" href="{{ pathto('_static/' + theme_root_favicon, 1) }}" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ pathto('_static/' + theme_apple_touch_icon_144x144, 1) }}" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ pathto('_static/' + theme_apple_touch_icon_72x72, 1) }}" />
<link rel="apple-touch-icon-precomposed" href="{{ pathto('_static/' + theme_apple_touch_icon, 1) }}" />
<link rel="apple-touch-icon" href="{{ pathto('_static/' + theme_apple_touch_icon, 1) }}" />

{# Tile icon for Win8 (icon + tile color) #}
<meta name="msapplication-TileImage" content="{{ pathto('_static/' + theme_msapplication_tileimage, 1) }}">
<meta name="msapplication-TileColor" content="{{ theme_msapplication_tilecolor }}">
<meta name="msapplication-navbutton-color" content="{{ theme_msapplication_tilecolor }}">

{% if builder != "htmlhelp" %}
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{% endif %}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BIN +14.7 KB python_docs_theme/static/favicon.ico
Binary file not shown.
Binary file added BIN +3.61 KB python_docs_theme/static/metro-icon-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified BIN +1.73 KB (350%) python_docs_theme/static/py.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions 9 python_docs_theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,14 @@ codetextcolor = #333333
issues_url =
root_name = Python
root_url = https://www.python.org/
root_favicon = favicon.ico
root_icon = py.png
root_include_title = True

apple_touch_icon_144x144 = apple-touch-icon-144x144-precomposed.png
apple_touch_icon_72x72 = apple-touch-icon-72x72-precomposed.png
apple_touch_icon = apple-touch-icon-precomposed.png

msapplication_tileimage = metro-icon-144x144.png
msapplication_tilecolor = #3673a5
msapplication_navbutton_color = #3673a5
Morty Proxy This is a proxified and sanitized view of the page, visit original site.