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
@@ -389,7 +389,7 @@ def write_json(data, filepath):
def main():
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
html_path = os.path.join(base_dir, "public", "html", "bg.html")
output_dir = os.path.join(base_dir, "app", "lib", "books", "bg")
output_dir = os.path.join(base_dir, "lib", "jsons", "books", "bg")
print(f"Reading {html_path}...")
with open(html_path, "r", encoding="utf-8") as f: