[Checkins] SVN: gocept.selenium/trunk/doc/ Adjust colors and move sidebar to the right

Wolfgang Schnerring wosc at wosc.de
Mon Sep 12 01:57:15 EST 2011


Log message for revision 122776:
  Adjust colors and move sidebar to the right
  

Changed:
  A   gocept.selenium/trunk/doc/_templates/sidebarintro.html
  A   gocept.selenium/trunk/doc/_templates/sidebarlogo.html
  U   gocept.selenium/trunk/doc/_themes/jinja/layout.html
  U   gocept.selenium/trunk/doc/_themes/jinja/static/jinja.css_t
  U   gocept.selenium/trunk/doc/conf.py
  U   gocept.selenium/trunk/doc/index.rst

-=-
Added: gocept.selenium/trunk/doc/_templates/sidebarintro.html
===================================================================
--- gocept.selenium/trunk/doc/_templates/sidebarintro.html	                        (rev 0)
+++ gocept.selenium/trunk/doc/_templates/sidebarintro.html	2011-09-12 06:57:15 UTC (rev 122776)
@@ -0,0 +1,18 @@
+<h3>About gocept.selenium</h3>
+<p>
+    XXX writeme
+</p>
+<h3>Other Formats</h3>
+<p>
+  You can download the documentation in other formats as well:
+</p>
+<ul>
+  <li><a href="#">as PDF XXX</a>
+  <li><a href="#">as zipped HTML XXX</a>
+</ul>
+<h3>Useful Links</h3>
+<ul>
+  <li><a href="http://packages.python.org/gocept.selenium">gocept.selenium Website</a></li>
+  <li><a href="http://pypi.python.org/pypi/gocept.selenium">PyPI</a></li>
+  <li><a href="http://svn.zope.org/gocept.selenium/">Sources</a></li>
+</ul>

Added: gocept.selenium/trunk/doc/_templates/sidebarlogo.html
===================================================================
--- gocept.selenium/trunk/doc/_templates/sidebarlogo.html	                        (rev 0)
+++ gocept.selenium/trunk/doc/_templates/sidebarlogo.html	2011-09-12 06:57:15 UTC (rev 122776)
@@ -0,0 +1,3 @@
+<p class="logo"><a href="{{ pathto(master_doc) }}">
+  <img class="logo" src="{{ pathto('_static/logo.png', 1) }}" alt="Logo"/>
+</a></p>

Modified: gocept.selenium/trunk/doc/_themes/jinja/layout.html
===================================================================
--- gocept.selenium/trunk/doc/_themes/jinja/layout.html	2011-09-12 06:43:01 UTC (rev 122775)
+++ gocept.selenium/trunk/doc/_themes/jinja/layout.html	2011-09-12 06:57:15 UTC (rev 122776)
@@ -3,6 +3,5 @@
 {%- block footer %}
     <div class="footer">
       &copy; Copyright {{ copyright }}.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
     </div>
 {%- endblock %}

Modified: gocept.selenium/trunk/doc/_themes/jinja/static/jinja.css_t
===================================================================
--- gocept.selenium/trunk/doc/_themes/jinja/static/jinja.css_t	2011-09-12 06:43:01 UTC (rev 122775)
+++ gocept.selenium/trunk/doc/_themes/jinja/static/jinja.css_t	2011-09-12 06:57:15 UTC (rev 122776)
@@ -28,20 +28,17 @@
 
 div.document {
     width: {{ page_width }};
-    margin: 30px auto 0 auto;
+    margin: 0 auto 0 auto;
 }
 
 div.documentwrapper {
     float: left;
-    width: 100%;
+    width: 720px;
 }
 
-div.bodywrapper {
-    margin: 0 0 0 {{ sidebar_width }};
-}
-
 div.sphinxsidebar {
     width: {{ sidebar_width }};
+    margin-left: 0px;
 }
 
 hr {
@@ -49,8 +46,8 @@
 }
  
 div.body {
-    background-color: #ffffff;
-    color: #3E4349;
+    background-color: #fff;
+    color: #333;
     padding: 0 30px 0 30px;
 }
 
@@ -149,12 +146,12 @@
 /* -- body styles ----------------------------------------------------------- */
  
 a {
-    color: #aa0000;
+    color: #00a;
     text-decoration: underline;
 }
  
 a:hover {
-    color: #dd0000;
+    color: #00d;
     text-decoration: underline;
 }
  
@@ -373,22 +370,22 @@
 
 a.reference {
     text-decoration: none;
-    border-bottom: 1px dotted #bb0000;
+    border-bottom: 1px dotted #0000bb;
 }
 
 a.reference:hover {
-    border-bottom: 1px solid #dd0000;
+    border-bottom: 1px solid #0000dd;
 }
 
 a.footnote-reference {
     text-decoration: none;
     font-size: 0.7em;
     vertical-align: top;
-    border-bottom: 1px dotted #bb0000;
+    border-bottom: 1px dotted #0000dd;
 }
 
 a.footnote-reference:hover {
-    border-bottom: 1px solid #dd0000;
+    border-bottom: 1px solid #0000dd;
 }
 
 a:hover tt {

Modified: gocept.selenium/trunk/doc/conf.py
===================================================================
--- gocept.selenium/trunk/doc/conf.py	2011-09-12 06:43:01 UTC (rev 122775)
+++ gocept.selenium/trunk/doc/conf.py	2011-09-12 06:57:15 UTC (rev 122776)
@@ -41,7 +41,7 @@
 
 # General information about the project.
 project = u'gocept.selenium'
-copyright = u'2011, Zope Foundation and Contributors'
+copyright = u'2011, Zope Foundation and Contributors. <a href="http://sphinx.pocoo.org/">Sphinx</a>-Theme adapted from <a href="http://jinja.pocoo.org/docs/">Jinja</a>'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -131,7 +131,12 @@
 #html_use_smartypants = True
 
 # Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
+html_sidebars = {
+    'index':    ['sidebarlogo.html', 'sidebarintro.html', 'sourcelink.html',
+                 'searchbox.html'],
+    '**':       ['sidebarlogo.html', 'localtoc.html', 'relations.html',
+                 'sourcelink.html', 'searchbox.html']
+}
 
 # Additional templates that should be rendered to pages, maps page names to
 # template names.
@@ -150,10 +155,10 @@
 html_show_sourcelink = False
 
 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
+html_show_sphinx = False
 
 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
+html_show_copyright = True
 
 # If true, an OpenSearch description file will be output, and all pages will
 # contain a <link> tag referring to it.  The value of this option must be the

Modified: gocept.selenium/trunk/doc/index.rst
===================================================================
--- gocept.selenium/trunk/doc/index.rst	2011-09-12 06:43:01 UTC (rev 122775)
+++ gocept.selenium/trunk/doc/index.rst	2011-09-12 06:57:15 UTC (rev 122776)
@@ -7,3 +7,9 @@
 
 .. toctree::
    :maxdepth: 2
+
+
+`foo`_
+
+
+.. _foo: http://pypi.python.org/pypi/



More information about the checkins mailing list