diff --git a/_templates/oshw.html b/_templates/oshw.html index 3dceed38fbf4cb8bd3f200dd9e9c2d47eac8ec35..04941e827f61f6fac256f1d1c6b00a06f75dee43 100644 --- a/_templates/oshw.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="{{docs_url}}/_static/images/oshw/{{board}}_{{oshw_id}}.svg"/> + <img src="../../../../_static/images/oshw/{{board}}_{{oshw_id}}.svg"/> </a> </p> </div> diff --git a/conf.py b/conf.py index bab35528242b6e122593b1bd18d7e3f72bfccc3d..65508b43356e4fc5af8e5f91a6a5868399792874 100644 --- a/conf.py +++ b/conf.py @@ -188,7 +188,6 @@ html_theme_options = { } # parse version from 'VERSION' file - with open("VERSION") as f: m = re.match( ( @@ -224,7 +223,6 @@ gitlab_repo = "docs.beagleboard.io" docs_url = "https://docs.beagleboard.io" # parse pages details from 'PAGES' file - with open("PAGES") as f: m = re.match( ( @@ -264,7 +262,7 @@ html_context = { "conf_py_path": "", "show_license": True, "pages_url": pages_url, - "pages_slug": "", + "pages_slug": pages_slug, "docs_url": docs_url, "edit_page_url_template": "{{ my_vcs_site }}{{ file_name }}", "edit_page_provider_name": "OpenBeagle",