From a46b57e428fb69ee35fd5031571a7ba7d6574ecc Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 3 May 2026 00:15:19 +0800 Subject: [PATCH] fix(readme): rename group "Miscellaneous" to "Other" Avoids a slug collision between the group "Miscellaneous" and the category of the same name once both share the /categories/ URL namespace introduced in the upcoming filter-URL refactor. Co-Authored-By: Claude Opus 4.7 (1M context) --- README.md | 4 ++-- website/tests/test_readme_parser.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 107b6859..5e0652f1 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ An opinionated guide to the best Python frameworks, libraries, tools, and resour - [Penetration Testing](#penetration-testing) - [Web Security](#web-security) -**Miscellaneous** +**Other** - [Hardware](#hardware) - [Microsoft Windows](#microsoft-windows) @@ -1098,7 +1098,7 @@ _Libraries for application-layer web security._ - [secure](https://github.com/TypeError/secure) - HTTP security headers for Python web applications with ASGI and WSGI middleware. -**Miscellaneous** +**Other** ## Hardware diff --git a/website/tests/test_readme_parser.py b/website/tests/test_readme_parser.py index 466d5fa6..82b00703 100644 --- a/website/tests/test_readme_parser.py +++ b/website/tests/test_readme_parser.py @@ -487,10 +487,10 @@ class TestParseRealReadme: assert "https://" not in algos["description"] assert 'href="https://github.com/tayllan/awesome-algorithms"' in algos["description_html"] - def test_miscellaneous_in_own_group(self): - misc_group = next((g for g in self.groups if g["name"] == "Miscellaneous"), None) - assert misc_group is not None - assert any(c["name"] == "Miscellaneous" for c in misc_group["categories"]) + def test_miscellaneous_category_in_other_group(self): + other_group = next((g for g in self.groups if g["name"] == "Other"), None) + assert other_group is not None + assert any(c["name"] == "Miscellaneous" for c in other_group["categories"]) def test_all_entries_have_nonempty_names(self): bad = []