From a1bd90573b03803e8f72c7f5be8c86699e016d2d Mon Sep 17 00:00:00 2001 From: Stepan Tsirkin Date: Wed, 30 Oct 2024 16:10:52 +0100 Subject: [PATCH] link to wannier-berri.org --- doc/_templates/layout.html | 18 ++++++++++++++++++ doc/conf.py | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 doc/_templates/layout.html diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html new file mode 100644 index 0000000..453e34a --- /dev/null +++ b/doc/_templates/layout.html @@ -0,0 +1,18 @@ +{% extends "!layout.html" %} + +{% block header %} +WannierBerri  logo +{% endblock %} + +{% block extrahead %} + + +{% endblock %} + + {% block menu %} + {{ super() }} + Index + Back to Wannier-Berri.org + {% endblock %} + + diff --git a/doc/conf.py b/doc/conf.py index a0544e7..f3fb1c0 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -40,7 +40,7 @@ ] -html_baseurl = 'https://wannier-berri.org' +html_baseurl = 'https://tutorial.wannier-berri.org' # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -97,7 +97,7 @@ def setup(app): # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. -html_use_opensearch = 'https://wannier-berri.org' +html_use_opensearch = 'https://tutorial.wannier-berri.org' # Custom sidebar templates, must be a dictionary that maps document names # to template names.