feat: allow path params for verse navigation

This commit is contained in:
gosangam
2026-04-15 13:41:34 +05:30
parent c0a00d4c04
commit abb7cc49d0
19 changed files with 1462 additions and 261 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ def build_letter_index(entries: list) -> dict:
def main():
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
html_path = os.path.join(base_dir, "public", "html", "glossary.html")
output_path = os.path.join(base_dir, "app", "lib", "glossary", "index.json")
output_path = os.path.join(base_dir, "lib", "jsons", "glossary", "index.json")
if not os.path.exists(html_path):
print(f"ERROR: {html_path} not found!")