diff --git a/README.md b/README.md index 6bc4486..cae0470 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ cd rendergit pip install -e . ``` -Now you can just `rendergit` any GitHub url e.g.: +Now you can just `rendergit` any GitHub URL, e.g.: ```bash rendergit https://github.com/karpathy/nanoGPT @@ -29,7 +29,7 @@ Once open, you can toggle between two views: - **👤 Human View**: Browse with syntax highlighting, sidebar navigation, visual goodies - **🤖 LLM View**: Copy the entire codebase as CXML text to paste into Claude, ChatGPT, etc. -There's a few other smaller options, see the code. +There are a few other smaller options; see the code. ## Features diff --git a/repo_to_single_page.py b/repo_to_single_page.py index b5d966b..ed4eb6c 100644 --- a/repo_to_single_page.py +++ b/repo_to_single_page.py @@ -149,7 +149,6 @@ def collect_files(repo_root: pathlib.Path, max_bytes: int) -> List[FileInfo]: def generate_tree_fallback(root: pathlib.Path) -> str: """Minimal tree-like output if `tree` command is missing.""" lines: List[str] = [] - prefix_stack: List[str] = [] def walk(dir_path: pathlib.Path, prefix: str = ""): entries = [e for e in dir_path.iterdir() if e.name != ".git"]