Skip to content

A fast, helpful, and open-source document parser

chore: remove unnecessary header

Clelia (Astra) Bertellia819aaebd5d5
diff --git a/scripts/strip-impls-from-api-docs.py b/scripts/strip-impls-from-api-docs.py
index dc4de65..4be834e 100755
--- a/scripts/strip-impls-from-api-docs.py
+++ b/scripts/strip-impls-from-api-docs.py
@@ -14,4 +14,13 @@ text = re.sub(r"#{2,} Implementations\n.*?(?=\n#{2,} )", "", text, flags=re.DOTA
text = re.sub(
r"#{2,} Trait Implementations\n.*?(?=\n#{2,} )", "", text, flags=re.DOTALL
)
+text = text.replace(
+ """# Crate Documentation
+
+**Version:** 2.0.0
+
+**Format Version:** 57
+""",
+ "",
+)
open(path, "w").write(text)