diff --git a/doc/autobuild.py b/doc/autobuild.py index 3b3757b24..b9046201e 100644 --- a/doc/autobuild.py +++ b/doc/autobuild.py @@ -83,9 +83,8 @@ packages.sort() # Create index api_index = \ -'''=================================================================== -API documentation for Kivy -=================================================================== +'''API documentation +================= .. toctree:: :maxdepth: 2 diff --git a/doc/sources/.static/background.png b/doc/sources/.static/background.png new file mode 100644 index 000000000..b724e46a9 Binary files /dev/null and b/doc/sources/.static/background.png differ diff --git a/doc/sources/.static/default.css b/doc/sources/.static/default.css index e9a3c8897..5be838dfd 100644 --- a/doc/sources/.static/default.css +++ b/doc/sources/.static/default.css @@ -5,6 +5,7 @@ body { font-family: sans-serif; font-size: 100%; + background: #ffffff url('background.png') top left repeat-y; background-color: #ffffff; color: #000; margin: 0; @@ -13,19 +14,21 @@ body { /* :::: LAYOUT :::: */ -div.related, -div.header, -div.documentwrapper { - width: 800px; - margin: 0px auto; +div.sphinxsidebar { + position: fixed; + top: 0px; + left: 0px; + width: 250px; + font-size: 14px; } -div.bodywrapper { - margin-top: 20px; +div.documentwrapper { + width: 800px; + margin-left: 250px; } div.body { - padding: 0 20px 30px 20px; + padding: 10px 20px 30px 30px; } div.sphinxsidebarwrapper { @@ -78,14 +81,9 @@ div.header { line-height: 80px; } -div.logo { - float: left; - height: 80px; - width: 75px; -} - -#searchbox { - float: right; +p.logo { + margin: 0px; + padding: 0px; } div.related { @@ -95,7 +93,7 @@ div.related { /* ::: TOC :::: */ div.sphinxsidebar h3 { font-family: 'Trebuchet MS', sans-serif; - color: white; + color: #727905; font-size: 1.4em; font-weight: normal; margin: 0; @@ -103,12 +101,12 @@ div.sphinxsidebar h3 { } div.sphinxsidebar h3 a { - color: white; + color: #727905; } div.sphinxsidebar h4 { font-family: 'Trebuchet MS', sans-serif; - color: white; + color: #727905; font-size: 1.3em; font-weight: normal; margin: 5px 0 0 0; @@ -116,7 +114,7 @@ div.sphinxsidebar h4 { } div.sphinxsidebar p { - color: white; + color: #727905; } div.sphinxsidebar p.topless { @@ -127,7 +125,7 @@ div.sphinxsidebar ul { margin: 10px; padding: 0; list-style: none; - color: white; + color: #727905; } div.sphinxsidebar ul ul, @@ -142,7 +140,7 @@ div.sphinxsidebar ul ul { } div.sphinxsidebar a { - color: #98dbcc; + color: #989e49; } div.sphinxsidebar form { diff --git a/doc/sources/.templates/layout.html b/doc/sources/.templates/layout.html index 502e3dd17..d41b288a5 100644 --- a/doc/sources/.templates/layout.html +++ b/doc/sources/.templates/layout.html @@ -79,48 +79,30 @@ {%- endif %} {%- endblock %} {%- block sidebartoc %} - {%- if display_toc %} -

{{ _('Table Of Contents') }}

- {{ toc }} - {%- endif %} +

{{ _('Table Of Contents') }}

+ {{ toc }} {%- endblock %} {%- block sidebarrel %} - {%- if prev %} -

{{ _('Previous topic') }}

-

{{ prev.title }}

- {%- endif %} - {%- if next %} -

{{ _('Next topic') }}

-

{{ next.title }}

- {%- endif %} +

Related Topics

+ {%- endblock %} - {%- block sidebarsourcelink %} - {%- if show_source and has_source and sourcename %} -

{{ _('This Page') }}

- - {%- endif %} - {%- endblock %} - {%- if customsidebar %} - {% include customsidebar %} - {%- endif %} {%- block sidebarsearch %} {%- if pagename != "search" %} +

{{ _('Quick search') }}

{%- endif %} @@ -191,11 +173,11 @@ {%- block extrahead %} {% endblock %} -{%- block header %}{{ header() }}{% endblock %} +{%- block header %}{% endblock %} -{%- block relbar1 %}{{ relbar() }}{% endblock %} +{%- block relbar1 %}{% endblock %} -{%- block sidebar1 %}{% endblock %} +{%- block sidebar1 %}{{ sidebar() }}{% endblock %}
{%- block document %} diff --git a/doc/sources/conf.py b/doc/sources/conf.py index cd04bad1e..fa2addef7 100644 --- a/doc/sources/conf.py +++ b/doc/sources/conf.py @@ -104,7 +104,7 @@ html_style = 'default.css' # The name of an image file (within the static path) to place at the top of # the sidebar. -html_logo = 'kivy-logo-mini.png' +html_logo = 'kivy-logo.png' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 diff --git a/doc/sources/kivy-logo-mini.png b/doc/sources/kivy-logo-mini.png deleted file mode 100644 index 9f00baddf..000000000 Binary files a/doc/sources/kivy-logo-mini.png and /dev/null differ diff --git a/doc/sources/kivy-logo.png b/doc/sources/kivy-logo.png index 68ec43631..7bebcec1e 100644 Binary files a/doc/sources/kivy-logo.png and b/doc/sources/kivy-logo.png differ