Skip to content

Commit 318aa46

Browse files
authored
Remove unused CLI doc schema version lookup (#3113)
1 parent 160e507 commit 318aa46

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

scripts/build_cli_docs.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -949,10 +949,6 @@ def build_docs(*, check: bool = False) -> int:
949949
with Path(COLLECTION_PATH).open(encoding="utf-8") as f:
950950
collection = json.load(f)
951951

952-
schema_version = collection.get("schema_version", 0)
953-
if schema_version != 1:
954-
pass
955-
956952
items = collection.get("items", [])
957953

958954
manual_docs = read_manual_docs()

0 commit comments

Comments
 (0)