mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2025-01-31 12:13:49 +01:00
Fix root
This commit is contained in:
parent
9133ff9126
commit
0d264daf1f
4
docs.py
4
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", "/")):
|
||||
|
Loading…
x
Reference in New Issue
Block a user