{%- comment -%} Tells readers of the 1.x docs, which keep their Just the Docs layout, that they are not reading the stable docs. docs/bin/prepare_version.rb adds it to that layout; the theme shows its own banner in the other versions. {%- endcomment -%} {%- assign channel = site.docs_channel -%} {%- if channel == 'next' or channel == 'v1' -%} {%- assign stable = site.data.versions.items | where: 'id', 'stable' | first -%} {%- assign stable_version = stable.title | remove: ' (stable)' -%}
{%- if include.fixed %} {%- endif %} {%- endif -%}