We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b9d5a commit 6d97612Copy full SHA for 6d97612
build_docs.py
@@ -23,7 +23,7 @@
23
from contextlib import suppress
24
from dataclasses import dataclass
25
import filecmp
26
-from itertools import product
+from itertools import chain, product
27
import json
28
import logging
29
import logging.handlers
@@ -595,7 +595,8 @@ def parse_args():
595
parser.add_argument(
596
"-b",
597
"--branch",
598
- metavar="3.6",
+ choices=dict.fromkeys(chain(*((v.branch_or_tag, v.name) for v in VERSIONS))),
599
+ metavar=Version.current_dev().name,
600
help="Version to build (defaults to all maintained branches).",
601
)
602
0 commit comments