(path: Path)
| 87 | |
| 88 | |
| 89 | def is_article_path(path: Path) -> bool: |
| 90 | parts = path.parts |
| 91 | if not parts or path.suffix.lower() != ".md": |
| 92 | return False |
| 93 | if path.name.lower() == "readme.md": |
| 94 | return False |
| 95 | return parts[0] in ARTICLE_ROOTS |
| 96 | |
| 97 | |
| 98 | def all_article_files() -> list[Path]: |
no outgoing calls
no test coverage detected