"""SX docs layout registration — all layouts delegate to .sx defcomps.""" from __future__ import annotations import os def _register_sx_layouts() -> None: """Register the sx docs layout presets.""" from shared.sx.layouts import register_sx_layout if os.getenv("SX_STANDALONE") == "true": register_sx_layout("sx", "sx-standalone-layout-full", "sx-standalone-layout-oob", "sx-standalone-layout-mobile") register_sx_layout("sx-section", "sx-standalone-section-layout-full", "sx-standalone-section-layout-oob", "sx-standalone-section-layout-mobile") else: register_sx_layout("sx", "sx-layout-full", "sx-layout-oob", "sx-layout-mobile") register_sx_layout("sx-section", "sx-section-layout-full", "sx-section-layout-oob", "sx-section-layout-mobile")