From fb5dcf06311e2a5f77a52baa9e29b373d3a09c7b Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 2 May 2026 13:12:07 +0200 Subject: [PATCH] Improved rngit page rendering --- RNS/Utilities/rngit/pages.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/RNS/Utilities/rngit/pages.py b/RNS/Utilities/rngit/pages.py index 3fad9d09..5c706639 100644 --- a/RNS/Utilities/rngit/pages.py +++ b/RNS/Utilities/rngit/pages.py @@ -306,25 +306,6 @@ class NomadNetworkNode(): content_parts.append(f"{self.m_link(self.icon("tag")+f" Tags ({tag_count})", self.PATH_REFS, g=group_name, r=repo_name, type="tags")}") content_parts.append("\n\n<") - - # if refs: - # content_parts.append(self.m_heading("Branches", 2)) - # content_parts.append("\n") - - # # Display first 10 branches - # for ref in refs.get("heads", [])[:10]: content_parts.append(f" {ref['name']}: {ref['short_hash']}\n") - # if len(refs.get("heads", [])) > 10: content_parts.append(f" ... and {len(refs['heads']) - 10} more\n") - # content_parts.append("\n") - - # if refs.get("tags"): - # content_parts.append(self.m_heading("Tags", 2)) - # content_parts.append("\n") - - # # Display first 10 tags - # for ref in refs["tags"][:10]: content_parts.append(f" {ref['name']}: {ref['short_hash']}\n") - # if len(refs["tags"]) > 10: content_parts.append(f" ... and {len(refs['tags']) - 10} more\n") - # content_parts.append("\n") - # Readme content readme_content, readme_is_markdown = self.get_readme_content(repo["path"]) if readme_content is not None: