+
+
+
+
+
+ {% trans %}Back to top{% endtrans %}
+
+
+
+
+
+ {% block content %}{{ body }}{% endblock %}
+
+
+
+ diff --git a/docs/source/_static/unstructured.css b/docs/source/_static/unstructured.css index 20a7fbdca..9c6cca3e9 100644 --- a/docs/source/_static/unstructured.css +++ b/docs/source/_static/unstructured.css @@ -299,7 +299,10 @@ span:target~h6:first-of-type { } .header-logo { - max-width: 120px; + display: block; + margin-left: auto; + margin-right: auto; + width: 120px; } .header__search { diff --git a/docs/source/_templates/base.html b/docs/source/_templates/base.html new file mode 100644 index 000000000..a81b9315a --- /dev/null +++ b/docs/source/_templates/base.html @@ -0,0 +1,108 @@ + + + +
+ {%- block site_meta -%} + + + + + {%- if metatags %}{{ metatags }}{% endif -%} + + {%- block linktags %} + {%- if hasdoc('about') -%} + + {%- endif -%} + {%- if hasdoc('genindex') -%} + + {%- endif -%} + {%- if hasdoc('search') -%} + + {%- endif -%} + {%- if hasdoc('copyright') -%} + + {%- endif -%} + {%- if next -%} + + {%- endif -%} + {%- if prev -%} + + {%- endif -%} + {#- rel="canonical" (set by html_baseurl) -#} + {%- if pageurl %} + + {%- endif %} + {%- endblock linktags %} + + {# Favicon #} + {%- if favicon_url -%} + + {%- endif -%} + + + {#- Generator banner -#} + + + {%- endblock site_meta -%} + + {#- Site title -#} + {%- block htmltitle -%} + {% if not docstitle %} +