diff --git a/ops/work/compat/raw/audio-input-and-output-compatibility-lists.yaml b/ops/work/compat/raw/audio-input-and-output-compatibility-lists-1ee47b5b.yaml similarity index 100% rename from ops/work/compat/raw/audio-input-and-output-compatibility-lists.yaml rename to ops/work/compat/raw/audio-input-and-output-compatibility-lists-1ee47b5b.yaml diff --git a/ops/work/compat/raw/flexible-peripherals-20220606.yaml b/ops/work/compat/raw/flexible-peripherals-20220606.yaml new file mode 100644 index 0000000..0bdda35 --- /dev/null +++ b/ops/work/compat/raw/flexible-peripherals-20220606.yaml @@ -0,0 +1,43 @@ +source: + file: Flexible Peripherals Options (yealink.com, 2022-06-06) + url: https://www.yealink.com/website-service/attachment/system/documents/20220606/202206061017157087ad2a5784be29651fe6b08be4dd6.pdf + kind: official_marketing_spec + verified: true +note: Лимиты аксессуаров и совместимость с 3rd-party аудио (Biamp/Shure/QSC) +peripherals_limits: +- model: CPW90 + role: audio + kind: DECT-микрофон + max_qty: 4 +- model: VCM36 + role: audio + kind: беспроводной микрофон + max_qty: 4 +- model: VCM38 + role: audio + kind: потолочный микрофон + max_qty: 8 +- model: VCM34 + role: audio + kind: массив микрофонов + max_qty: 6 +- model: MSpeech + role: audio + kind: микрофон/динамик + max_qty: 2 +- model: MSpeaker II + role: audio + kind: динамик + max_qty: 4 +third_party_audio: + hosts: + - MCore + - AVHub + - UVC86 + - UVC84 + vendors: + - Shure + - Biamp + - QSC + status: fully tested + note: MVC + Biamp DSP + Biamp микрофоны — рабочий сценарий diff --git a/ops/work/compat/raw/headset-compatibility.yaml b/ops/work/compat/raw/headset-compatibility-2537d67b.yaml similarity index 100% rename from ops/work/compat/raw/headset-compatibility.yaml rename to ops/work/compat/raw/headset-compatibility-2537d67b.yaml diff --git a/ops/work/compat/raw/mounts-bracket-compatibility-lists.yaml b/ops/work/compat/raw/mounts-bracket-compatibility-lists-57280ec0.yaml similarity index 100% rename from ops/work/compat/raw/mounts-bracket-compatibility-lists.yaml rename to ops/work/compat/raw/mounts-bracket-compatibility-lists-57280ec0.yaml diff --git a/ops/work/compat/raw/rooms-product-family.yaml b/ops/work/compat/raw/rooms-product-family-75191120.yaml similarity index 100% rename from ops/work/compat/raw/rooms-product-family.yaml rename to ops/work/compat/raw/rooms-product-family-75191120.yaml diff --git a/ops/work/compat/raw/rooms-supported-features-list.yaml b/ops/work/compat/raw/rooms-supported-features-list-bd902503.yaml similarity index 100% rename from ops/work/compat/raw/rooms-supported-features-list.yaml rename to ops/work/compat/raw/rooms-supported-features-list-bd902503.yaml diff --git a/ops/work/compat/raw/v35-0-0-matching-list.yaml b/ops/work/compat/raw/v35-0-0-matching-list-48f8b1b8.yaml similarity index 100% rename from ops/work/compat/raw/v35-0-0-matching-list.yaml rename to ops/work/compat/raw/v35-0-0-matching-list-48f8b1b8.yaml diff --git a/ops/work/tools/fetch_doc_tables.py b/ops/work/tools/fetch_doc_tables.py index 8356939..f054d44 100644 --- a/ops/work/tools/fetch_doc_tables.py +++ b/ops/work/tools/fetch_doc_tables.py @@ -94,7 +94,9 @@ def main(): for url in urls: html = fetch(url) docs = prosemirror_docs(html) - slug = url.rstrip("/").split("/")[-2] or "doc" + parts = [p for p in url.rstrip("/").split("/") if p] + doc_hash = parts[-1][:8] if parts else "unknown" + slug = (parts[-2] if len(parts) > 1 else "doc") print("\n=== %s ===" % slug) print(" документов ProseMirror: %d" % len(docs)) all_tables = [] @@ -105,7 +107,7 @@ def main(): print(" таблица %d: %d строк" % (i + 1, len(t))) for row in t[:4]: print(" ", " | ".join(c[:22] for c in row[:5])) - path = os.path.join(OUT, "raw", "%s.yaml" % re.sub(r"[^a-z0-9-]", "_", slug.lower())) + path = os.path.join(OUT, "raw", "%s-%s.yaml" % (re.sub(r"[^a-z0-9-]", "_", slug.lower()), doc_hash)) os.makedirs(os.path.dirname(path), exist_ok=True) with open(path, "w", encoding="utf-8") as f: yaml.safe_dump({"source": url, "tables": all_tables}, f,