Skip to content

Commit f3841e6

Browse files
committed
chore: resolve conflict in public/index.html by regenerating it
2 parents 9cc0571 + 6c0dfdb commit f3841e6

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

generate_index.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ def rewrite_html_content(self, content: str) -> str:
104104
return content
105105

106106
def generate_index(self) -> None:
107+
"""
108+
Generate a static index HTML page under the public directory listing repository HTML files grouped by category.
109+
110+
Scans the repository (excluding common build, VCS, virtualenv and vendor directories), copies required vendor assets into public/vendor, rewrites HTML files to reference local vendored assets, copies those files into the public tree, and produces a themed index at public/index.html with category tabs, search, pagination, per-category icons, total counts, and a UTC generation timestamp. Files in hidden categories (category name starting with '.') or in excluded directories are skipped. If reading or rewriting a file fails, the file is copied as a fallback.
111+
"""
107112
root_dir = "."
108113
output_dir = "public"
109114
index_file = "index.html"
@@ -896,4 +901,4 @@ def generate_index(self) -> None:
896901
print(f"Successfully updated {output_index_path} with vendored assets at {current_time}")
897902

898903
if __name__ == "__main__":
899-
Solution().generate_index()
904+
Solution().generate_index()

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ <h1 class="site-title">
784784

785785
<footer>
786786
<span class="footer-icon">🧪</span>
787-
Generated on 2026-02-20 06:45:05 UTC
787+
Generated on 2026-02-20 06:50:34 UTC
788788
</footer>
789789

790790
<script>

0 commit comments

Comments
 (0)