mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
Remove options from README
This commit is contained in:
committed by
Charlie Marsh
parent
b0d72c47b4
commit
d658bfc024
@@ -49,6 +49,10 @@ def main() -> None:
|
||||
# Split the README.md into sections.
|
||||
for title, filename in SECTIONS:
|
||||
with Path(f"docs/{filename}").open("w+") as f:
|
||||
if filename == "settings.md":
|
||||
f.write(subprocess.check_output(["cargo", "dev", "generate-options"], encoding="utf-8"))
|
||||
continue
|
||||
|
||||
block = content.split(f"<!-- Begin section: {title} -->")
|
||||
if len(block) != 2:
|
||||
msg = f"Section {title} not found in README.md"
|
||||
|
||||
Reference in New Issue
Block a user