From cc5f98acd9e7792c086cc9e8cffb72165cd56666 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Fri, 2 Oct 2026 19:38:09 +0800 Subject: [PATCH 1/2] refactor: rename Code Analysis subcategory to General The catch-all subcategory shared its section's name, so its page ("Code Analysis for Code Analysis") split the "python code analysis" query with the section page in Search Console. Co-Authored-By: Claude --- README.md | 2 +- website/data/redirects.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 93bdbe6b..2f12c2f8 100644 --- a/README.md +++ b/README.md @@ -621,7 +621,7 @@ _Interactive Python interpreters (REPL)._ _Tools of static analysis, linters and code quality checkers. Also see [awesome-static-analysis](https://github.com/analysis-tools-dev/static-analysis)._ -- Code Analysis +- General - [import-linter](https://github.com/seddonym/import-linter) - A linter that enforces architectural constraints on imports between Python modules. - [vulture](https://github.com/jendrikseipp/vulture) - A tool for finding and analyzing dead Python code. - [complexipy](https://github.com/rohaquinlop/complexipy) - Cognitive complexity analysis for Python code, written in Rust. diff --git a/website/data/redirects.json b/website/data/redirects.json index 0518fdc4..88fc3702 100644 --- a/website/data/redirects.json +++ b/website/data/redirects.json @@ -2,6 +2,7 @@ "/categories/": "/", "/categories/ai-and-agents/pre-trained-models-and-inference/": "/categories/ai-and-agents/pre-trained-models/", "/categories/cli-tools/productivity-tools/": "/categories/cli-tools/", + "/categories/code-analysis/code-analysis/": "/categories/code-analysis/", "/categories/code-analysis/code-linters/": "/categories/code-analysis/linters-and-formatters/", "/categories/code-analysis/type-annotations-generators/": "/categories/code-analysis/", "/categories/data-analysis/financial-data/": "/categories/data-ingestion-etl/financial-data/", From fba0728b4dae948539fcf9a7f4a66efbb4b4865e Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Fri, 2 Oct 2026 19:38:09 +0800 Subject: [PATCH 2/2] docs: name catch-all subcategories General Nothing documented the convention, so a catch-all subcategory could again be named after its section. Co-Authored-By: Claude --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 99841395..053ad64e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,6 +98,8 @@ Adding sections or subcategories is maintainer-only (see Admission). For maintai 3. Add the section title to the Table of Contents under its group 4. Order entries per Entry Ordering above +Name a section's catch-all subcategory General, never the section's own name: a subcategory named like its section competes with the section page in search results. + ## Review Process PRs are reviewed by automated tools and maintainers: