{% load i18n brickwork_icons brickwork_components %} {% comment %} Documentation version switcher (icvoss/django-brickwork#414). PRIVATE render target of {% bw_version_switch %}: never {% include %} this file directly; the tag enforces a non-empty versions list, a current= that matches exactly one label, and the closed status set. Why this is not bw_dropdown: a version switcher carries current-version state (the trigger names the viewed version; the panel marks it with aria-current="true"), optional latest/deprecated status as text, and the consequence of picking another version (consumer-owned href routing). A menu of actions does not. ADR-091 still declines a package-owned version region; docs_header is the home for this control. No-JS floor: a native
/ of plain links in a labelled