From a81bf535b6162eac0ff5f66af68d9c140db6cb63 Mon Sep 17 00:00:00 2001 From: Deepak Khatri <lorforlinux@beagleboard.org> Date: Sun, 24 Mar 2024 22:07:42 +0530 Subject: [PATCH] Fix oshw logo links --- _templates/{oshwa.html => oshw.html} | 2 +- conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename _templates/{oshwa.html => oshw.html} (81%) diff --git a/_templates/oshwa.html b/_templates/oshw.html similarity index 81% rename from _templates/oshwa.html rename to _templates/oshw.html index 04941e82..3dceed38 100644 --- a/_templates/oshwa.html +++ b/_templates/oshw.html @@ -4,7 +4,7 @@ <div class="card-body"> <p class="card-text text-dark"> <a href="https://certification.oshwa.org/{{ oshw_id|lower }}.html" target="_blank"> - <img src="../../../../_static/images/oshw/{{board}}_{{oshw_id}}.svg"/> + <img src="{{docs_url}}/_static/images/oshw/{{board}}_{{oshw_id}}.svg"/> </a> </p> </div> diff --git a/conf.py b/conf.py index b1be4582..bab35528 100644 --- a/conf.py +++ b/conf.py @@ -183,7 +183,7 @@ html_theme_options = { "footer_end": ["last-updated"], # "content_footer_items": ["last-updated"], "secondary_sidebar_items": { - "**": ["page-toc", "edit-this-page", "sourcelink","oshwa"] + "**": ["page-toc", "edit-this-page", "sourcelink","oshw"] }, } -- GitLab