From 1c09bbe356d943a9d421a18c2dd9697de40065f2 Mon Sep 17 00:00:00 2001 From: Christopher Haine <chaine@hpe.com> Date: Thu, 8 Sep 2022 17:24:47 +0200 Subject: [PATCH] fix static --- docs/sphinx/_templates/layout.html | 4 ++-- docs/sphinx/conf.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/sphinx/_templates/layout.html b/docs/sphinx/_templates/layout.html index ddbb4f94..f4a9393e 100644 --- a/docs/sphinx/_templates/layout.html +++ b/docs/sphinx/_templates/layout.html @@ -1,8 +1,8 @@ {% extends "!layout.html" %} {% block sidebarlogo %} - <a href="../_build/index.html"> - <img src="../_static/maestro-logo.png" alt="Maestro logo"> + <a href="index.html"> + <img src="_static/maestro-logo.png" alt="Maestro logo"> </a> {% endblock %} diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 038f6b73..da21ce91 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -70,8 +70,7 @@ html_theme = 'alabaster' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -#html_static_path = ['_static'] -html_static_path = [] +html_static_path = ['_static'] html_sidebars = { '**': ['globaltoc.html', 'searchbox.html'], -- GitLab