From 78cce7af1c602b9e1a88259593b657a02f00ad1d Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 23 Mar 2018 12:56:17 +0100 Subject: [PATCH] Update docs website --- docs/source/_templates/layout.html | 231 +++++++++++++++++++++++- docs/source/start/QuickInstallation.rst | 2 +- 2 files changed, 229 insertions(+), 4 deletions(-) diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html index 302a56df..d8d59c8c 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/layout.html @@ -1,5 +1,81 @@ -{% extends "!layout.html" %} -{% block extrahead %} +{# TEMPLATE VAR SETTINGS #} +{%- set url_root = pathto('', 1) %} +{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} +{%- if not embedded and docstitle %} + {%- set titlesuffix = " — "|safe + docstitle|e %} +{%- else %} + {%- set titlesuffix = "" %} +{%- endif %} +{%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %} + + + +
+ + {{ metatags }} + + {% block htmltitle %} +