"""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-docs",
                           "sx-standalone-docs-layout-full",
                           "sx-standalone-docs-layout-oob",
                           "sx-standalone-docs-layout-mobile")
    else:
        register_sx_layout("sx-docs",
                           "sx-docs-layout-full",
                           "sx-docs-layout-oob",
                           "sx-docs-layout-mobile")
