From ae77130525dea293c5a1427c1fb65a368a3a49ae Mon Sep 17 00:00:00 2001
From: Deepak Khatri <lorforlinux@beagleboard.org>
Date: Tue, 30 Aug 2022 19:28:00 +0530
Subject: [PATCH] Fix versions links

---
 _templates/versions.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/_templates/versions.html b/_templates/versions.html
index 6a089889..55ec2ada 100644
--- a/_templates/versions.html
+++ b/_templates/versions.html
@@ -9,12 +9,12 @@
       <dl>
         <dt>{{ _('Document Release Versions') }}</dt>
         {% for slug, url in versions %}
-          <dd><a class="reference internal" href="{{ url }}">{{ slug }}</a></dd>
+          <dd><a class="reference internal" href="{{ url }}/index.html">{{ slug }}</a></dd>
         {% endfor %}
       </dl>
       <dl>
         <dt>{{ _('Downloads') }}</dt>
-        <dd><a class="reference internal" href="beagleboard-docs.pdf">PDF</a></dd>
+        <dd><a class="reference internal" href="{{ url }}/beagleboard-docs.pdf">PDF</a></dd>
       </dl>
       <dl>
         <dt>{{ _('BeagleBoard.org Links') }}</dt>
-- 
GitLab