aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_better_theme/layout.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-12-30 03:43:30 +0100
committerbnewbold <bnewbold@robocracy.org>2014-12-30 03:43:30 +0100
commit2a16ea2a9075229b2141c62697f4e1cabd4d2edd (patch)
tree65e184d0698eefd587b29c0644c2089ab9cdcfa9 /docs/_better_theme/layout.html
parent7131d99df20e1c2546452124ee52a95fa3ace97b (diff)
downloadfpga-lube-2a16ea2a9075229b2141c62697f4e1cabd4d2edd.tar.gz
fpga-lube-2a16ea2a9075229b2141c62697f4e1cabd4d2edd.zip
move stuff into 'docs' subfolder
Diffstat (limited to 'docs/_better_theme/layout.html')
-rw-r--r--docs/_better_theme/layout.html95
1 files changed, 95 insertions, 0 deletions
diff --git a/docs/_better_theme/layout.html b/docs/_better_theme/layout.html
new file mode 100644
index 0000000..31c6675
--- /dev/null
+++ b/docs/_better_theme/layout.html
@@ -0,0 +1,95 @@
+{%- extends "basic/layout.html" %}
+{%- from "relbar.html" import relbar_top with context %}
+{%- from "relbar.html" import relbar_bottom with context %}
+
+{#- ### head ### -#}
+
+{%- block extrahead %}
+
+ {#- make mobile reasonable #}
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+
+ {%- for css_file in theme_cssfiles %}
+ {%- if css_file.startswith('http') %}
+ <link rel="stylesheet" href="{{ css_file }}" type="text/css" />
+ {%- else %}
+ <link rel="stylesheet" href="{{ pathto(css_file, 1) }}" type="text/css" />
+ {%- endif %}
+ {%- endfor %}
+
+ {%- for js_file in theme_scriptfiles %}
+ <script src="{{ pathto(js_file, 1) }}" type="text/javascript"></script>
+ {%- endfor %}
+
+ {%- if theme_inlinecss %}
+ <style type="text/css">{{ theme_inlinecss|safe }}</style>
+ {%- endif %}
+
+ {%- block userhead %}
+ {%- endblock %}
+{%- endblock %}
+
+{#- ### content ### -#}
+
+{%- block header %}
+ {%- if theme_showheader|tobool %}
+ <header id="pageheader"><h1><a href="{{ pathto(master_doc) }} ">
+ {{ docstitle }}
+ </a></h1></header>
+ {%- endif %}
+{%- endblock %}
+
+{%- block relbar1 -%}{{ relbar_top() }}{%- endblock -%}
+{%- block relbar2 -%}{{ relbar_bottom() }}{%- endblock -%}
+
+{%- block footer %}
+ <footer id="pagefooter">
+
+ {%- if show_copyright %}
+ {%- if hasdoc('copyright') %}
+ {% trans path=pathto('copyright'), copyright=copyright|e %}
+ <a href="{{ path }}">&copy; {{ copyright }} </a>.
+ {% endtrans %}
+ {%- else %}
+ {%- trans copyright=copyright|e -%}
+ &copy; {{ copyright }}.
+ {%- endtrans %}
+ {%- endif %}
+ {%- endif %}
+
+ {%- if last_updated %}
+ {%- trans last_updated=last_updated|e -%}
+ Last updated on {{ last_updated }}.
+ {%- endtrans %}
+ {%- endif %}
+
+ {%- if show_sphinx %}
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a>
+ {{ sphinx_version }}
+ {%- if theme_linktotheme|tobool %}
+ with the <a href="http://github.com/irskep/sphinx-better-theme">
+ better</a> theme
+ {%- endif %}.
+ {%- else %}
+ {%- if theme_linktotheme %}
+ This site uses the
+ <a href="http://github.com/irskep/sphinx-better-theme">
+ &ldquo;better&rdquo;</a>
+ theme for Sphinx.
+ {%- endif %}
+ {%- endif %}
+
+ </footer>
+
+ {% if theme_ga_ua %}
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', '{{ theme_ga_ua }}', '{{ theme_ga_domain }}');
+ ga('send', 'pageview');
+ </script>
+ {% endif %}
+{%- endblock %}