Remove autogenerated docs/rules/*.md files

This commit is contained in:
Martin Fischer 2023-02-13 06:39:42 +01:00 committed by Charlie Marsh
parent 8120d7c974
commit 02285c18d1
49 changed files with 8 additions and 1299 deletions

View file

@ -1,6 +1,7 @@
"""Generate an MkDocs-compatible `docs` and `mkdocs.yml` from the README.md."""
import argparse
import shutil
import subprocess
from pathlib import Path
import yaml
@ -27,6 +28,9 @@ FATHOM_SCRIPT: str = (
def main() -> None:
"""Generate an MkDocs-compatible `docs` and `mkdocs.yml`."""
subprocess.run(["cargo", "dev", "generate-docs"], check=True)
with Path("README.md").open(encoding="utf8") as fp:
content = fp.read()