From acff0384d468a7cd0dfc30e9cc938013b9eda29c Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Mon, 13 Dec 2021 20:08:57 +0100 Subject: periject: Fix menu and subindex file locations The generated index.html contains broken links to html/subindex.html and html/menu.html. The path to menu.html and subindex.html is interpreted relatively to the html/ directory, so there's no need to prefix it with it. Signed-off-by: Jacopo Mondi Signed-off-by: Geert Uytterhoeven --- scripts/html_index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/html_index.py b/scripts/html_index.py index 50415ca..0da5b05 100755 --- a/scripts/html_index.py +++ b/scripts/html_index.py @@ -22,8 +22,8 @@ class periject_html(html_base.myhtml): # |menu|body| # | | | with html("frameset", {"cols":"{},*".format(self.config("html-default-cols"))}): - html("frame", {"src":"./html/menu.html", "name":"menu"}).print() - html("frame", {"src":"./html/subindex.html", "name":"body"}).print() + html("frame", {"src":"./menu.html", "name":"menu"}).print() + html("frame", {"src":"./subindex.html", "name":"body"}).print() #==================================== # -- cgit v1.2.3