mirror of
https://github.com/tradecatlabs/vibe-coding-cn.git
synced 2026-08-06 15:47:46 +00:00
refactor: research - move domain to repository root
This commit is contained in:
@@ -62,11 +62,10 @@ def should_skip(path: Path) -> bool:
|
||||
def is_research_repository_snapshot(rel: Path) -> bool:
|
||||
parts = rel.parts
|
||||
return (
|
||||
len(parts) >= 5
|
||||
and parts[0] == "docs"
|
||||
and parts[1] == "research"
|
||||
and parts[3] == "raw"
|
||||
and parts[4] == "repository"
|
||||
len(parts) >= 4
|
||||
and parts[0] == "research"
|
||||
and parts[2] == "raw"
|
||||
and parts[3] == "repository"
|
||||
)
|
||||
|
||||
|
||||
@@ -243,7 +242,7 @@ def main() -> int:
|
||||
readme_paths = {Path("docs/README.md")}
|
||||
for fields in taxonomy_sections().values():
|
||||
entry = fields.get("entry", "")
|
||||
if entry.startswith("docs/") and entry.endswith("/README.md"):
|
||||
if entry.endswith("/README.md"):
|
||||
readme_paths.add(Path(entry))
|
||||
|
||||
for rel_path in sorted(readme_paths):
|
||||
|
||||
Reference in New Issue
Block a user