diff options
| -rw-r--r-- | doc/build/templates/layout.mako | 8 | ||||
| -rw-r--r-- | doc/build/templates/static_base.mako | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index 8ba9362e2..a879fa481 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -44,17 +44,9 @@ withsidebar = bool(toc) and current_page_name != 'index' <div id="docs-container"> -<%block name="css"> - <!-- begin iterate through SQLA + sphinx environment css_files --> - % for cssfile in default_css_files + css_files: - <link rel="stylesheet" href="${pathto(cssfile, 1)}" type="text/css" /> - % endfor - <!-- end iterate through SQLA + sphinx environment css_files --> -</%block> <%block name="headers"> - ${parent.headers()} <!-- begin layout.mako headers --> diff --git a/doc/build/templates/static_base.mako b/doc/build/templates/static_base.mako index a8ec2329f..9eb5ec046 100644 --- a/doc/build/templates/static_base.mako +++ b/doc/build/templates/static_base.mako @@ -9,7 +9,15 @@ <%block name="head_title"> </%block> </title> - <%block name="css"/> + + <%block name="css"> + <!-- begin iterate through SQLA + sphinx environment css_files --> + % for cssfile in self.attr.default_css_files + css_files: + <link rel="stylesheet" href="${pathto(cssfile, 1)}" type="text/css" /> + % endfor + <!-- end iterate through SQLA + sphinx environment css_files --> + </%block> + <%block name="headers"/> </head> <body> |
