Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 762adfcd authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

WIP: fix OSHW image src

parent 122ee590
Branches
Tags
1 merge request!89Docs updates - chapter restructuring, images, and more
......@@ -7,7 +7,11 @@
<div class="card-body">
<p class="card-text text-dark">
<a href="https://certification.oshwa.org/{{ oshw_id|lower }}.html" target="_blank">
<img src="{{docs_url}}/_static/images/oshw/{{board}}_{{path}}_{{oshw_id}}.svg" alt="{{board}} OSHW mark"/>
{% if pages_slug %}
<img src="../../../../{{pages_slug}}/_static/images/oshw/{{board}}_{{path | replace('/', '#')}}_{{oshw_id}}.svg" alt="{{board}} OSHW mark"/>
{% else %}
<img src="../../../../_static/images/oshw/{{board}}_{{path | replace('/', '#')}}_{{oshw_id}}.svg" alt="{{board}} OSHW mark"/>
{% endif %}
</a>
</p>
</div>
......
......@@ -225,7 +225,7 @@ release = version
# Variables here holds default settings
pages_url = "https://docs.beagleboard.io"
pages_slug = "latest"
pages_slug = ""
gitlab_user = "docs"
gitlab_version = "main"
gitlab_url = "https://openbeagle.org"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment