From 0d264daf1f8ae6539e72e3a91d4f482f4917239e Mon Sep 17 00:00:00 2001 From: Bottersnike Date: Mon, 11 Apr 2022 19:49:43 +0100 Subject: [PATCH] Fix root --- docs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs.py b/docs.py index f3d2fc8..dc2e0d0 100644 --- a/docs.py +++ b/docs.py @@ -193,7 +193,7 @@ def generate_footer(base, name, route): us_idx = siblings.index(parts[-1]) except ValueError: us_idx = -1 - parent = "/" + ("/".join(parts[:-1])) + parent = ROOT + "/" + "/".join(parts[:-1]) if not parent.endswith("/"): parent += "/" @@ -204,7 +204,7 @@ def generate_footer(base, name, route): if parts: crumbs = [] - built = "/" + built = ROOT + "/" for i in parts[:-1]: built += f"{i}" if not built.endswith((".html", "/")):