{# RTD-style version switcher for sphinx-polyversion. sphinx-polyversion provides these context variables: - current: GitRef object for current version (has .name, .url attributes) - tags: List of GitRef objects for tags - branches: List of GitRef objects for branches - revisions: List of all GitRef objects - latest: GitRef for the latest version Each GitRef has: name, url, date, type attributes #} {%- if current is defined and current %}