From dd91a165ccd0c8ada181fa657f4ac457fddcc711 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 8 Dec 2008 00:20:20 +0000 Subject: [PATCH] - restored the main search form - fixed search highlighting - the url docstring works again from a ReST perspective, still not PDF --- doc/build/static/docs.css | 6 +++++- doc/build/templates/layout.mako | 6 ++++-- doc/build/templates/search.mako | 9 +++++++++ lib/sqlalchemy/engine/url.py | 11 ++++++----- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/doc/build/static/docs.css b/doc/build/static/docs.css index 3735221ce9..810c51410f 100644 --- a/doc/build/static/docs.css +++ b/doc/build/static/docs.css @@ -34,6 +34,10 @@ strong a { float:right; } +#searchform { + padding:20px; +} + #pagecontrol { float:right; } @@ -224,7 +228,7 @@ dl.class > dt padding: 0px 10px; } -dt:target { +dt:target, span.highlight { background-color:#FBE54E; } diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index ba2f16f248..62bbc383af 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -44,7 +44,7 @@
- ${next.body()} +
+ ${next.body()} +
<%def name="footer()"> diff --git a/doc/build/templates/search.mako b/doc/build/templates/search.mako index 0340f6a3b6..dfad4d0e56 100644 --- a/doc/build/templates/search.mako +++ b/doc/build/templates/search.mako @@ -5,6 +5,15 @@ %> <%def name="show_title()">${_('Search')} +
+

Enter Search Terms:

+ +
+
<%def name="footer()"> diff --git a/lib/sqlalchemy/engine/url.py b/lib/sqlalchemy/engine/url.py index 5d5ce0bd0f..035e286935 100644 --- a/lib/sqlalchemy/engine/url.py +++ b/lib/sqlalchemy/engine/url.py @@ -102,13 +102,14 @@ class URL(object): used as the keys by default. Unset or false attributes are omitted from the final dictionary. - :param \**kw: Optional, alternate key names for url attributes:: + :param \**kw: Optional, alternate key names for url + attributes:: - # return 'username' as 'user' - username='user' + # return 'username' as 'user' + username='user' - # omit 'database' - database=None + # omit 'database' + database=None :param names: Deprecated. Same purpose as the keyword-based alternate names, but correlates the name to the original positionally. -- 2.47.3