diff --git a/_templates/oshwa.html b/_templates/oshw.html similarity index 81% rename from _templates/oshwa.html rename to _templates/oshw.html index 04941e827f61f6fac256f1d1c6b00a06f75dee43..3dceed38fbf4cb8bd3f200dd9e9c2d47eac8ec35 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 b1be458276af9aa2481b364611fc233d8ea10748..bab35528242b6e122593b1bd18d7e3f72bfccc3d 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"] }, }