diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-11 19:45:43 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-11-11 19:45:43 -0500 |
commit | 97e5f8e7d764bdd79a7399899880a55b8b1fdfd5 (patch) | |
tree | 68f4fdc9bf742a234ab78f2aea2931bdbcfa6646 | |
parent | fd694d1aa87ffcbb2830bc85835e3343b327dc7d (diff) | |
download | sqlalchemy-97e5f8e7d764bdd79a7399899880a55b8b1fdfd5.tar.gz |
attempt to use the css_files list so that we can integrate css
better with rtd
-rw-r--r-- | doc/build/templates/layout.mako | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/build/templates/layout.mako b/doc/build/templates/layout.mako index 50f1d5de6..cbfafccf2 100644 --- a/doc/build/templates/layout.mako +++ b/doc/build/templates/layout.mako @@ -3,6 +3,12 @@ <%! local_script_files = [] %> +<% + css_files[:0] = [ + '_static/pygments.css', + '_static/docs.css', + ] +%> <%doc> Structural elements are all prefixed with "docs-" @@ -42,8 +48,6 @@ withsidebar = bool(toc) and current_page_name != 'index' ${parent.headers()} <!-- begin layout.mako headers --> - <link rel="stylesheet" href="${pathto('_static/pygments.css', 1)}" type="text/css" /> - <link rel="stylesheet" href="${pathto('_static/docs.css', 1)}" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { |