From: Mike Bayer Date: Fri, 4 Nov 2005 04:54:09 +0000 (+0000) Subject: (no commit message) X-Git-Tag: rel_0_1_0~386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d868b560c1b932134db184fd7220970139289525;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git --- diff --git a/doc/build/components/formatting.myt b/doc/build/components/formatting.myt index 28d45f8eb8..e22a7fd15b 100644 --- a/doc/build/components/formatting.myt +++ b/doc/build/components/formatting.myt @@ -251,7 +251,7 @@ whitespace = None for line in lines: if whitespace is None: - match = re.match(r"^([ ]+)", line) + match = re.match(r"^([ ]*).+", line) if match is not None: whitespace = match.group(1) @@ -321,15 +321,17 @@ javascript:togglePopbox('<% name %>', '<% show %>', '<% hide %>') - -<%method codepopper trim="both"> +<%method poplink trim="both"> <%args> - link + link='sql' <%init> href = m.scomp('SELF:popboxlink') '''PYESC<& SELF:link, href=href, text=link, class_="codepoplink" &>PYESC''' + + +<%method codepopper trim="both"> '''PYESC<&|SELF:popbox, class_="codepop" &><% m.content() %>PYESC''' diff --git a/doc/style.css b/doc/style.css index 858a557190..bc4d8a31ab 100644 --- a/doc/style.css +++ b/doc/style.css @@ -99,24 +99,3 @@ a:hover {color:#700000;} width:auto; } -.code { -} - -.codepop { - font-weight:bold; - font-family: verdana, sans-serif; - font-size:12px; - color:#000000; - border:1px solid; - padding:10px; -} - -.codepoplink { - font-weight:bold; - font-family: verdana, sans-serif; - font-size:11px; - color:#000000; - border:1px solid; - padding:1px 2px 1px 2px; - margin:0px 0px 0px 15px; -}